Multi-AI Coding CLI Wrapper - Currently supports Gemini CLI (Claude Code & Codex planned)
English | 繁體中文
npm install -g @jimmyliao/leapcode# Gemini CLI (✅ Available)
export GEMINI_API_KEY="your-api-key"
leapcode gemini
# Claude Code (📋 Planned)
# Coming soon...
# Codex (📋 Planned)
# Coming soon...LeapCode wraps popular AI coding tools to provide unified interface and enhanced features.
Current Status:
- ✅ Gemini CLI - Fully supported
- 📋 Claude Code - Planned for future release
- 📋 Codex - Planned for future release
Features:
- ✅ Unified Interface: One CLI for all AI tools
- ✅ I/O Interception: Capture and sync AI interactions
- ✅ Offline First: Works without server connection
- ✅ Optional Sync: Sync to mobile devices (optional)
- ✅ End-to-End Encryption: Secure communication (when syncing)
LeapCode is a monorepo containing:
leapcode/
├── packages/
│ ├── cli/ 📦 Main CLI (公開)
│ ├── core/ 📦 Shared types and utilities (公開)
│ ├── sync/ 📦 WebSocket sync client (私有)
│ └── server/ 📦 Sync server (私有)
└── apps/
└── mobile/ 📱 Mobile app (未來)
| Package | Description | Published |
|---|---|---|
@jimmyliao/leapcode |
Main CLI package | ✅ Public |
@jimmyliao/leapcode-core |
Shared types & utilities | ✅ Public |
@jimmyliao/leapcode-sync |
WebSocket client | ❌ Private |
@jimmyliao/leapcode-server |
Sync server | ❌ Private |
- Node.js >= 18.0.0
- npm >= 9.0.0
# Clone repository
git clone https://github.com/jimmyliao/leapcode.git
cd leapcode
# Install dependencies
npm install
# Build all packages
npm run buildThis project uses npm workspaces for monorepo management.
# Build all packages
npm run build
# Run tests
npm run test
# Lint code
npm run lint
# Clean build artifacts
npm run clean# Start Gemini CLI
./quick-start.sh gemini
# Start Claude Code
./quick-start.sh claude
# Start Codex
./quick-start.sh codex- START_HERE.md - 從這裡開始
- USAGE_GUIDE.md - 完整使用指南
- DEMO.md - 詳細演示
- README_USAGE.md - 快速使用指南
- Architecture Review - 架構設計文檔
# Start AI tool wrapper
leapcode <aiTool> [options]
Options:
-s, --server <url> LeapCode server URL
--offline Run without sync (default)
--api-key <key> AI API key
-h, --help Display help
-V, --version Display version
# Configuration management
leapcode config set <key> <value>
leapcode config get <key>
leapcode config list# AI API Keys
export GEMINI_API_KEY="your-gemini-api-key" # ✅ Currently supported
# Planned for future releases:
# export ANTHROPIC_API_KEY="your-anthropic-api-key" # 📋 Planned
# export OPENAI_API_KEY="your-openai-api-key" # 📋 Planned
# Optional: Server URL
export LEAPCODE_SERVER="https://api.leapcode.dev"# Dry run
npm publish -w @jimmyliao/leapcode --dry-run
# Publish
npm publish -w @jimmyliao/leapcode --access publicnpm publish -w @jimmyliao/leapcode-core --access publicContributions are welcome! Please read our contributing guidelines before submitting PRs.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License - see LICENSE file for details
Jimmy Liao [email protected]
- GitHub: @jimmyliao
- Inspired by Happy Coder
- Built for the AI coding community
LeapCode v0.2.0 - Making AI coding tools accessible everywhere! 🚀