感谢你对 魔因漫创 (Moyin Creator) 的关注!欢迎任何形式的贡献。
- Node.js >= 18
- npm >= 9(或 pnpm >= 8)
- Git
# 克隆仓库
git clone https://github.com/hotflow2024/moyin-creator.git
cd moyin-creator
# 安装依赖
npm install
# 启动开发模式
npm run devmoyin-creator/
├── electron/ # Electron 主进程 + Preload
├── src/
│ ├── components/ # React UI 组件
│ ├── stores/ # Zustand 状态管理
│ ├── lib/ # 工具库和业务逻辑
│ ├── packages/ # 内部包 (@opencut/ai-core)
│ └── types/ # TypeScript 类型定义
├── build/ # 构建资源 (图标等)
└── scripts/ # 工具脚本
# 编译项目
npm run build
# 仅编译(不打包安装程序)
npx electron-vite build- Fork 本仓库
- 创建功能分支:
git checkout -b feature/your-feature - 提交代码:
git commit -m 'feat: add some feature' - 推送分支:
git push origin feature/your-feature - 提交 Pull Request
请使用 Conventional Commits 格式:
feat:新功能fix:Bug 修复docs:文档更新refactor:代码重构style:代码格式(不影响逻辑)perf:性能优化test:测试相关chore:构建/工具变更
- 使用 TypeScript 严格模式
- React 组件使用函数式组件 + Hooks
- 使用 Tailwind CSS 进行样式开发
- 中文注释优先,公共 API 使用英文
提交 Pull Request 即表示你同意:
- 你拥有所提交代码的版权或有权提交
- 你授权项目维护者将你的贡献纳入 AGPL-3.0 开源版本和商业许可版本
- 你的贡献将以 AGPL-3.0 许可证发布
这确保项目维护者可以持续维护双重许可模式。
- 🐛 Bug 报告:GitHub Issues
- 💡 功能建议:GitHub Issues
- 💬 讨论交流:GitHub Discussions
请阅读并遵守我们的 行为准则。