better-ccflare 1.1.13 → 1.1.16
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 +40 -0
- package/dist/better-ccflare +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,36 @@ https://github.com/user-attachments/assets/c859872f-ca5e-4f8b-b6a0-7cc7461fe62a
|
|
|
22
22
|
- **⚡ <10ms Overhead** - Minimal performance impact with lazy loading and request deduplication
|
|
23
23
|
- **💸 Free & Open Source** - Run it yourself, modify it, own your infrastructure
|
|
24
24
|
|
|
25
|
+
### Why this fork?
|
|
26
|
+
|
|
27
|
+
This project builds upon the excellent foundation of [snipeship/ccflare](https://github.com/snipeship/ccflare) with significant enhancements:
|
|
28
|
+
|
|
29
|
+
**🎯 Core Improvements:**
|
|
30
|
+
- **Enhanced Load Balancing** - Session-based load balancing with intelligent failover
|
|
31
|
+
- **Real-time Analytics Dashboard** - Beautiful web UI for monitoring usage and performance
|
|
32
|
+
- **Smart Rate Limit Management** - Auto-refresh and auto-fallback mechanisms
|
|
33
|
+
- **Multi-Provider Support** - Claude API, z.ai coder, and custom endpoints
|
|
34
|
+
- **Package Distribution** - Available via npm and bun for easy installation
|
|
35
|
+
|
|
36
|
+
**🛠️ Developer Experience:**
|
|
37
|
+
- **TUI Interface** - Interactive terminal-based account management
|
|
38
|
+
- **REST API** - Complete API for automation and integration
|
|
39
|
+
- **Cross-Platform Binary** - Pre-compiled binary works with Node.js or Bun
|
|
40
|
+
- **Comprehensive Logging** - Request/response tracking with searchable history
|
|
41
|
+
- **Database Integration** - SQLite for persistent storage and analytics
|
|
42
|
+
|
|
43
|
+
**📦 Distribution & Updates:**
|
|
44
|
+
- **npm/bun Registry** - Install with `npm install -g better-ccflare` or `bun install -g better-ccflare`
|
|
45
|
+
- **npx/bunx Support** - Run without installation: `npx better-ccflare` or `bunx better-ccflare`
|
|
46
|
+
- **Smart Update Detection** - Web UI detects package manager and shows appropriate update commands
|
|
47
|
+
- **Version Management** - Semantic versioning with automatic update notifications
|
|
48
|
+
|
|
49
|
+
**🏢 Production Ready:**
|
|
50
|
+
- **Enterprise Features** - Custom API endpoints, session management, advanced analytics
|
|
51
|
+
- **Performance Optimized** - <10ms overhead with request deduplication and caching
|
|
52
|
+
- **Reliability** - Automatic error recovery, circuit breakers, and health monitoring
|
|
53
|
+
- **Scalability** - Built for high-throughput production environments
|
|
54
|
+
|
|
25
55
|
## Quick Start
|
|
26
56
|
|
|
27
57
|
### Install via npm
|
|
@@ -42,6 +72,16 @@ bun install -g better-ccflare
|
|
|
42
72
|
better-ccflare
|
|
43
73
|
```
|
|
44
74
|
|
|
75
|
+
### Run without installation (npx/bunx)
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Run with npx (downloads and executes latest version)
|
|
79
|
+
npx better-ccflare@latest
|
|
80
|
+
|
|
81
|
+
# Run with bunx (faster for bun users)
|
|
82
|
+
bunx better-ccflare@latest
|
|
83
|
+
```
|
|
84
|
+
|
|
45
85
|
### Install from source
|
|
46
86
|
|
|
47
87
|
```bash
|
package/dist/better-ccflare
CHANGED
|
Binary file
|
package/package.json
CHANGED