better-ccflare 2.0.21 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -9
- package/dist/better-ccflare +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
The ultimate Claude API proxy with intelligent load balancing across multiple accounts. Full visibility into every request, response, and rate limit.
|
|
6
6
|
|
|
7
|
-
**🚨 Major Update
|
|
7
|
+
**🚨 Major Update (v3.0.0):** This release includes critical security fixes, OAuth token health monitoring, and new provider support (NanoGPT, Minimax). All users should upgrade immediately. See [migration guide](docs/migration-v2-to-v3.md) for details.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
https://github.com/user-attachments/assets/c859872f-ca5e-4f8b-b6a0-7cc7461fe62a
|
|
@@ -15,26 +15,29 @@ https://github.com/user-attachments/assets/c859872f-ca5e-4f8b-b6a0-7cc7461fe62a
|
|
|
15
15
|
## Why better-ccflare?
|
|
16
16
|
|
|
17
17
|
- **🚀 Zero Rate Limit Errors** - Automatically distribute requests across multiple accounts
|
|
18
|
-
- **🤖 Multi-Provider Support** -
|
|
19
|
-
-
|
|
18
|
+
- **🤖 Multi-Provider Support** - Claude OAuth, Claude API console, NanoGPT, z.ai, Minimax, Anthropic-compatible, and OpenAI-compatible providers
|
|
19
|
+
- **🔒 OAuth Token Health** - Real-time monitoring of OAuth token status with automatic refresh and health indicators
|
|
20
|
+
- **🔗 Custom API Endpoints** - Configure custom endpoints for Anthropic accounts for enterprise deployments
|
|
20
21
|
- **☁️ OpenAI-Compatible Support** - Use OpenAI-compatible providers like OpenRouter, Together AI, and more with Claude API format
|
|
21
22
|
- **🔄 Smart Auto-Fallback** - Automatically switch back to preferred accounts when their rate limits reset
|
|
22
|
-
- **⚡ Auto-Refresh** - Automatically start new usage windows when rate limits reset
|
|
23
|
+
- **⚡ Auto-Refresh** - Automatically start new usage windows when rate limits reset with 30-minute buffer
|
|
23
24
|
- **📊 Request-Level Analytics** - Track latency, token usage, and costs in real-time with optimized batch processing
|
|
24
25
|
- **🔍 Deep Debugging** - Full request/response logging and error traces
|
|
25
26
|
- **🔐 API Authentication** - Optional API key authentication with secure key management
|
|
26
27
|
- **⚡ <10ms Overhead** - Minimal performance impact with lazy loading and request deduplication
|
|
28
|
+
- **🛡️ Security Hardened** - Critical security fixes for authentication bypass, command injection, and credential leakage
|
|
27
29
|
- **💸 Free & Open Source** - Run it yourself, modify it, own your infrastructure
|
|
28
30
|
|
|
29
31
|
### Why this fork?
|
|
30
32
|
|
|
31
33
|
This project builds upon the excellent foundation of [snipeship/ccflare](https://github.com/snipeship/ccflare) with significant enhancements:
|
|
32
34
|
|
|
33
|
-
**🎯 Core Improvements:**
|
|
34
|
-
- **Enhanced
|
|
35
|
-
- **
|
|
36
|
-
- **
|
|
37
|
-
- **
|
|
35
|
+
**🎯 Core Improvements (v3.0.0):**
|
|
36
|
+
- **Enhanced Security** - Critical fixes for authentication bypass, command injection, and PKCE implementation
|
|
37
|
+
- **OAuth Token Health Monitoring** - Real-time status indicators and automatic token refresh with 30-minute buffer
|
|
38
|
+
- **Extended Provider Support** - NanoGPT (with dynamic pricing), Minimax, Anthropic-compatible, and OpenAI-compatible providers
|
|
39
|
+
- **Simplified Load Balancing** - Removed tier system for O(1) priority-based selection
|
|
40
|
+
- **Real-time Analytics Dashboard** - Beautiful web UI with fixed request history (no disappearing requests)
|
|
38
41
|
- **Package Distribution** - Available via npm and bun for easy installation
|
|
39
42
|
|
|
40
43
|
**🛠️ Developer Experience:**
|
|
@@ -98,6 +101,10 @@ chmod +x better-ccflare-linux-arm64
|
|
|
98
101
|
```bash
|
|
99
102
|
curl -L -o better-ccflare-macos-x86_64 https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-macos-x86_64
|
|
100
103
|
chmod +x better-ccflare-macos-x86_64
|
|
104
|
+
|
|
105
|
+
# Remove quarantine attribute (required on macOS to run unsigned binaries)
|
|
106
|
+
xattr -d com.apple.quarantine better-ccflare-macos-x86_64
|
|
107
|
+
|
|
101
108
|
./better-ccflare-macos-x86_64
|
|
102
109
|
```
|
|
103
110
|
|
|
@@ -105,9 +112,15 @@ chmod +x better-ccflare-macos-x86_64
|
|
|
105
112
|
```bash
|
|
106
113
|
curl -L -o better-ccflare-macos-arm64 https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-macos-arm64
|
|
107
114
|
chmod +x better-ccflare-macos-arm64
|
|
115
|
+
|
|
116
|
+
# Remove quarantine attribute (required on macOS to run unsigned binaries)
|
|
117
|
+
xattr -d com.apple.quarantine better-ccflare-macos-arm64
|
|
118
|
+
|
|
108
119
|
./better-ccflare-macos-arm64
|
|
109
120
|
```
|
|
110
121
|
|
|
122
|
+
**macOS Gatekeeper Notice:** Our macOS binaries are not notarized by Apple as this requires a paid Apple Developer subscription. After downloading, you must remove the quarantine attribute using the `xattr` command shown above to run the binary. If you prefer not to run unsigned binaries, you can [install from source](#install-from-source) instead.
|
|
123
|
+
|
|
111
124
|
#### Windows x86_64
|
|
112
125
|
Download [`better-ccflare-windows-x64.exe`](https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-windows-x64.exe) and run it.
|
|
113
126
|
|
package/dist/better-ccflare
CHANGED
|
Binary file
|
package/package.json
CHANGED