{"id":29806328,"url":"https://github.com/snipeship/claudeflare","last_synced_at":"2025-07-28T14:08:07.042Z","repository":{"id":306403181,"uuid":"1026050426","full_name":"snipeship/claudeflare","owner":"snipeship","description":"The ultimate Claude proxy","archived":false,"fork":false,"pushed_at":"2025-07-27T13:05:47.000Z","size":1442,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T13:28:27.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://claudeflare.cc","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snipeship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-25T08:22:12.000Z","updated_at":"2025-07-27T13:05:50.000Z","dependencies_parsed_at":"2025-07-27T13:28:29.046Z","dependency_job_id":null,"html_url":"https://github.com/snipeship/claudeflare","commit_stats":null,"previous_names":["snipeship/claude-balancer","snipeship/claudeflare"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/snipeship/claudeflare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipeship%2Fclaudeflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipeship%2Fclaudeflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipeship%2Fclaudeflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipeship%2Fclaudeflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snipeship","download_url":"https://codeload.github.com/snipeship/claudeflare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipeship%2Fclaudeflare/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267527835,"owners_count":24102019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-28T14:05:57.366Z","updated_at":"2025-07-28T14:08:07.025Z","avatar_url":"https://github.com/snipeship.png","language":"TypeScript","funding_links":[],"categories":["Proxies \u0026 Model Integrations"],"sub_categories":[],"readme":"# Claudeflare 🛡️\n\n**Track Every Request. Go Low-Level. Never Hit Rate Limits Again.**\n\nThe ultimate Claude API proxy with intelligent load balancing across multiple accounts. Full visibility into every request, response, and rate limit.\n\n![Claudeflare Dashboard](apps/lander/src/screenshot-dashboard.png)\n\n## Why Claudeflare?\n\n- **🚀 Zero Rate Limit Errors** - Automatically distribute requests across multiple accounts\n- **📊 Request-Level Analytics** - Track latency, token usage, and costs in real-time  \n- **🔍 Deep Debugging** - Full request/response logging and error traces\n- **⚡ \u003c10ms Overhead** - Minimal performance impact on your API calls\n- **💸 Free \u0026 Open Source** - Run it yourself, modify it, own your infrastructure\n\n## Quick Start\n\n```bash\n# Clone and install\ngit clone https://github.com/snipeship/claudeflare\ncd claudeflare\nbun install\n\n# Start Claudeflare (TUI + Server)\nbun run claudeflare\n\n# In another terminal, add your Claude accounts\nbun cli add work-account\nbun cli add personal-account\n\n# Configure Claude SDK\nexport ANTHROPIC_BASE_URL=http://localhost:8080\n```\n\n## Features\n\n### 🎯 Intelligent Load Balancing\n- **Session-based** - Maintain conversation context (5hr sessions)\n\n### 📈 Real-Time Analytics\n- Token usage tracking per request\n- Response time monitoring\n- Rate limit detection and warnings\n- Cost estimation and budgeting\n\n### 🛠️ Developer Tools\n- Interactive TUI (`bun run claudeflare`)\n- Web dashboard (`http://localhost:8080/dashboard`)\n- CLI for account management\n- REST API for automation\n\n### 🔒 Production Ready\n- Automatic failover between accounts\n- OAuth token refresh handling\n- SQLite database for persistence\n- Configurable retry logic\n\n## Documentation\n\nFull documentation available in [`docs/`](docs/):\n- [Getting Started](docs/index.md)\n- [Architecture](docs/architecture.md) \n- [API Reference](docs/api-http.md)\n- [Configuration](docs/configuration.md)\n- [Load Balancing Strategies](docs/load-balancing.md)\n\n## Screenshots\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"apps/lander/src/screenshot-dashboard.png\" alt=\"Dashboard\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"apps/lander/src/screenshot-logs.png\" alt=\"Logs\"/\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eReal-time Dashboard\u003c/b\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cb\u003eRequest Logs\u003c/b\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"2\"\u003e\u003cimg src=\"apps/lander/src/screenshot-analytics.png\" alt=\"Analytics\"/\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"2\" align=\"center\"\u003e\u003cb\u003eAnalytics \u0026 Usage Tracking\u003c/b\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Requirements\n\n- [Bun](https://bun.sh) \u003e= 1.2.8\n- Claude API accounts (Free, Pro, or Team)\n\n## Contributing\n\nWe welcome contributions! See [CONTRIBUTING.md](docs/contributing.md) for guidelines.\n\n## License\n\nMIT - See [LICENSE](LICENSE) for details\n\n---\n\n\u003cp align=\"center\"\u003e\n  Built with ❤️ for developers who ship\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnipeship%2Fclaudeflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnipeship%2Fclaudeflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnipeship%2Fclaudeflare/lists"}