This template provides a containerized environment on Cloudflare workers for Claude Code to process GitHub issues. It listens to new issues created from your connected repositories, and creates a Pull Request to solve them.
- 🔌 Leading coding agent: Leverage the same Claude Code that you already use for coding tasks
- ⚡ Lightning Fast: Cloudflare Containers provide instant scaling and sub-millisecond response times so Claude Code can work on any number of issues concurrently
- 🔧 Zero Configuration: One-click deployment with guided setup process
- 🛡️ Installation Token Management: Secure, auto-refreshing GitHub App tokens
- 🔒 Secure: Deploys to your own Cloudflare account
Click the deploy button above to instantly deploy to your Cloudflare account. The deployment includes:
- Cloudflare Worker with Container support
- Durable Objects for secure storage
- All necessary bindings and configurations
After deployment, you'll need to configure your Claude AI integration:
-
Get your Anthropic API key:
- Visit Anthropic Console
- Create an API key with appropriate permissions
-
Configure the API key:
- Navigate to your deployed worker's
/claude-setup
endpoint - Enter your Anthropic API key
- The system will securely encrypt and store your credentials
- Navigate to your deployed worker's
Once you complete the Anthropic API setup, you'll be redirected to the /gh-setup
endpoint (or you can access it manually), which will guide you through installing the GitHub App and configuring access to your repositories. The system will automatically capture installation details.
Once configured, the system works automatically:
- Issue Creation: When someone creates an issue in your repository, Claude receives a webhook
- AI Analysis: Claude analyzes the issue content and begins processing
- Progress Updates: Real-time progress comments appear as Claude works
- Solution Delivery: Claude provides comprehensive solutions with code examples
- Task Completion: Final completion comment marks the end of processing
# Install dependencies
npm install
# Start development server
npm run dev
This project is open source and available under the MIT License.