github tombii/better-ccflare v2.0.2
Release v2.0.2 - Breaking Change: TUI Removal

latest releases: v3.0.4, v3.0.3, v3.0.2...
one month ago

Multi-Architecture Binaries

Download the appropriate binary for your platform:

  • Linux x86_64: better-ccflare-linux-amd64
  • Linux ARM64 (Raspberry Pi 3/4/5, Oracle Cloud ARM, AWS Graviton): better-ccflare-linux-arm64
  • macOS Intel: better-ccflare-macos-x86_64
  • macOS Apple Silicon: better-ccflare-macos-arm64
  • Windows x86_64: better-ccflare-windows-x64.exe

Installation

# Linux x86_64
wget https://github.com/tombii/better-ccflare/releases/download/v2.0.2/better-ccflare-linux-amd64
chmod +x better-ccflare-linux-amd64
./better-ccflare-linux-amd64

# Linux ARM64
wget https://github.com/tombii/better-ccflare/releases/download/v2.0.2/better-ccflare-linux-arm64
chmod +x better-ccflare-linux-arm64
./better-ccflare-linux-arm64

Or install via npm: npm install -g better-ccflare


⚠️ BREAKING CHANGE: TUI Removal

What Changed

  • Terminal UI (TUI) has been completely removed from this release
  • The project now focuses on a more powerful CLI interface and web dashboard
  • All TUI functionality has been migrated to enhanced CLI commands and web dashboard features

Migration Guide

If you were previously using the TUI, here's how to access the same functionality:

📊 Dashboard & Analytics (New Web Interface)

# Start the server with web dashboard
better-ccflare

# Access dashboard at: http://localhost:8080/dashboard

🔧 CLI Commands (Enhanced)

# List all accounts
better-ccflare --list

# Add new account
better-ccflare --add-account myaccount --mode max --tier 20 --priority 0

# Remove account
better-ccflare --remove myaccount

# View statistics
better-ccflare --stats

# Reset statistics
better-ccflare --reset-stats

🛠️ REST API (New for Automation)

# View all API endpoints
curl http://localhost:8080/api/accounts

# Manage accounts via API
curl -X POST http://localhost:8080/api/accounts \
  -H "Content-Type: application/json" \
  -d '{"name": "myaccount", "mode": "max", "tier": 20, "priority": 0}'

# View usage statistics
curl http://localhost:8080/api/stats

Benefits of This Change

  • Enhanced CLI: More powerful command-line interface with all TUI features
  • Web Dashboard: Beautiful, responsive web interface with advanced analytics
  • Better Performance: Reduced binary size and memory usage
  • Cross-Platform: Improved consistency across all platforms
  • Future-Proof: Foundation for advanced web-based features

Support

  • Web Dashboard: Access at http://localhost:8080/dashboard after starting the server
  • CLI Help: Use better-ccflare --help for all available commands
  • Documentation: See updated README and docs/ for detailed guides

We apologize for any inconvenience this breaking change may cause. The new interface provides significantly enhanced functionality and a much better user experience!

Don't miss a new better-ccflare release

NewReleases is sending notifications on new releases.