1.4 KiB
1.4 KiB
English | 中文
Contributing
Thanks for your interest in BugPack!
Using BugPack
If you just want to use BugPack, no need to clone — run it directly via npm:
# Start Web UI
npx bugpack-mcp
# Start MCP Server (for AI coding tools)
npx bugpack-mcp --mcp
Contributing Code
To contribute code to BugPack:
- Fork and clone the repository
npm installnpm run dev:allto start dev mode (frontend + backend with hot reload)- Develop on a
feature/xxxbranch - Submit a PR
Dev Commands
| Command | Description |
|---|---|
npm run dev:all |
Start frontend + backend (dev mode) |
npm run build |
Production build |
Project Structure
src/
├── client/ # React frontend
│ ├── components/ # UI components
│ ├── stores/ # Zustand state management
│ ├── hooks/ # Custom hooks
│ ├── i18n/ # Internationalization (zh/en)
│ └── utils/ # Utilities (instruction generation)
├── server/ # Express backend
│ ├── routes/ # API routes
│ └── db.ts # SQLite database
└── mcp/ # MCP Server (stdio transport)
Guidelines
- Ensure
npx tsc --noEmitpasses before submitting - Update i18n files in
src/client/i18n/for both zh and en if applicable