MCPcopy Index your code
hub / github.com/cn2oo8/molicode

github.com/cn2oo8/molicode @2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0 ↗ · + Follow
1,234 symbols 3,071 edges 252 files 527 documented · 43%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MoliCode index page

Introduce

MoliCode is a code generator for java and other language. It's a standalone tool to generate code and store code template in git repository . So I want to make a good tool for everybody to share their code template and generate code easier. that's it.

MoliCode是基于java开发的一种代码生成器,当然其除了生成java代码亦可生成其它代码。 它是一个独立(standalone)的工具,用于在git仓库存储代码模板并依此生成目标代码。 它和其它代码生成器的最主要区别在于,其关注点不在模板本身。 即不关注生成了什么样的代码,而是作为一个基础工具方便大家编写和共享使用代码模板。

帮助文档

请访问以下地址,查看帮助文档: https://cn2oo8.github.io/molicode_doc

模板中心请访问: https://github.com/cn2oo8/molicode_template_awesome

下载使用

已提供二进制编译版本可供下载使用: https://github.com/cn2oo8/molicode/releases

示例教程

molicode生成工程代码实战: https://my.oschina.net/davidzhang/blog/3036548

使用molicode进行json数据处理 https://my.oschina.net/davidzhang/blog/3034658

使用molicode处理Java源代码 https://my.oschina.net/davidzhang/blog/3036589

使用molicode生成excel https://my.oschina.net/davidzhang/blog/3036540

社交

QQ群名称:molicode技术交流群 群号:753207541

欢迎加入沟通交流答疑群; qqGroup

Disclaimer

This project is depends on JXBrowser's Open-Source Licence. The JXBrowser product is a proprietary software owned by temdev company, It can't be used for comercial business. And the JXBrowser is based on chromium embeded . It's easy to embeded chromium into java application just need few line codes.
JXBrowser Link

The name

Because I like jasmine flower , and I have planted many jasmine flower On my Balcony . So I named it moli, that's the Chinese pronunciation of jasmine flower. meanwhile the 'moli' has the meaning of magic in chinese, So I hope this auto code generator will have the magic power to help every one save time of dumping code.

Moli is white and with delicate fragrance and have magic power to make your life joyful.
moli

tech stack

springboot + iveiw admin + H2 embeded database + swing ui + JXBrowser(evaluate version).
Thanks for so many open source software we can use.

todo

  1. Because of the JXBrowser evaluate version have been expired , so I have to apply JXBrowser open source license, hope the teamdev.com will approve my application.
  2. souce data model design , code generate chain design.
  3. keep on going...

Author

David Zhang from chengdu of China (Panda hometown).

Extension points exported contracts — how you extend this code

HandlerAware (Interface)
责任链识别 @author zhangshibin @date 2018/8/7 [15 implementers]
molicode-common/src/main/java/com/shareyi/molicode/common/chain/handler/HandlerAware.java
CommonExtInfoManager (Interface)
通用扩展信息Manager接口类 @author david @date 2018-08-25 [4 implementers]
molicode-manager/src/main/java/com/shareyi/molicode/manager/conf/CommonExtInfoManager.java
AcProjectService (Interface)
项目 service 接口 @author david @date 2018-08-22 [3 implementers]
molicode-service/src/main/java/com/shareyi/molicode/service/conf/AcProjectService.java
BaseDao (Interface)
基础DAO功能 @author david @date 2017/10/17 [1 implementers]
molicode-dao/src/main/java/com/shareyi/molicode/dao/BaseDao.java
BaseBuilder (Interface)
基础的builder @author david @date 2018/8/21
molicode-domain/src/main/java/com/shareyi/molicode/builder/BaseBuilder.java
DataProcessHandlerAware (Interface)
数据处理责任链 @author zhangshibin @date 2018/10/3 [6 implementers]
molicode-common/src/main/java/com/shareyi/molicode/common/chain/handler/awares/DataProcessHandlerAware.java
AcProjectManager (Interface)
项目Manager接口类 @author david @date 2018-08-22 [4 implementers]
molicode-manager/src/main/java/com/shareyi/molicode/manager/conf/AcProjectManager.java
FileService (Interface)
文件相关服务 @author zhangshibin @date 2019/6/10 [3 implementers]
molicode-service/src/main/java/com/shareyi/molicode/service/common/FileService.java

Core symbols most depended-on inside this repo

put
called by 87
molicode-common/src/main/java/com/shareyi/molicode/common/web/PageQuery.java
failed
called by 74
molicode-common/src/main/java/com/shareyi/molicode/common/web/CommonResult.java
isEmpty
called by 66
molicode-common/src/main/java/com/shareyi/molicode/common/valid/Validate.java
getReturnMap
called by 65
molicode-common/src/main/java/com/shareyi/molicode/common/web/CommonResult.java
append
called by 40
molicode-service/src/main/java/com/shareyi/molicode/log/FrontConsoleAppender.java
create
called by 36
molicode-common/src/main/java/com/shareyi/molicode/common/web/CommonResult.java
add
called by 32
molicode-dao/src/main/java/com/shareyi/molicode/dao/BaseDao.java
getInstance
called by 31
molicode-common/src/main/java/com/shareyi/molicode/common/utils/Profiles.java

Shape

Method 960
Class 161
Function 48
Interface 44
Enum 21

Languages

Java96%
TypeScript4%

Modules by API surface

molicode-common/src/main/java/com/shareyi/molicode/common/web/PageQuery.java29 symbols
molicode-domain/src/main/java/com/shareyi/molicode/domain/sys/AcUser.java25 symbols
molicode-common/src/main/java/com/shareyi/molicode/common/web/CommonResult.java22 symbols
molicode-common/src/main/java/com/shareyi/molicode/common/utils/Profiles.java22 symbols
molicode-common/src/main/groovy/com/shareyi/molicode/common/vo/replace/TouchFileDir.java20 symbols
molicode-common/src/main/groovy/com/shareyi/molicode/common/vo/replace/TouchFile.java20 symbols
ui-starter/src/store/modules/app.js19 symbols
molicode-domain/src/main/java/com/shareyi/molicode/domain/BasicDomain.java18 symbols
molicode-common/src/main/groovy/com/shareyi/molicode/common/context/SmartSegmentUnitContext.java18 symbols
molicode-common/src/main/groovy/com/shareyi/molicode/common/context/MoliCodeContext.java18 symbols
molicode-domain/src/main/java/com/shareyi/molicode/domain/conf/AcConfig.java17 symbols
molicode-sdk/src/main/java/com/shareyi/molicode/sdk/dto/JavaSourceCodeDto.java16 symbols

Datastores touched

(mysql)Database · 1 repos
auto-codeDatabase · 1 repos

For agents

$ claude mcp add molicode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact