-
Notifications
You must be signed in to change notification settings - Fork 93
Description
I ran ccflare as follow: bun run ccflare --port=8081
Comes up nicely. 8081 all the way, until there appears to be a type, or a hard coded port somewhere where it says ✓ Server running at http://localhost:8080 Its live on 8081, tested with Claude.
user@omv:~/documents/projects/ccflare$ bun run ccflare --port=8081
$ bun run build && bun run tui "--port=8081"
$ bun run build:dashboard && bun run build:tui
$ bun run --cwd packages/dashboard-web build
$ bun run build.ts
🚀 Building dashboard...
🗑️ Cleaning previous build at /home/user/documents/projects/ccflare/packages/dashboard-web/dist
📄 Building dashboard from src/index.html
✅ Dashboard build completed in 2297.24ms
📦 Output files:
- dist/chunk-bjprcg4c.js
- dist/index.html
- dist/chunk-m08cyhvd.css
- dist/chunk-bjprcg4c.js.map
- dist/favicon-7fef0tsq.svg
$ bun run --cwd apps/tui build
$ bun build src/main.ts --compile --outfile dist/ccflare --target=bun
[355ms] bundle 674 modules
[15ms] compile dist/ccflare
$ bun run apps/tui/src/main.ts "--port=8081"
🎯 ccflare Server v1.0.0
🌐 Port: 8081
📊 Dashboard: http://localhost:8081
🔗 API Base: http://localhost:8081/api
Available endpoints:
- POST http://localhost:8081/v1/* → Proxy to Claude API
- GET http://localhost:8081/api/accounts → List accounts
- POST http://localhost:8081/api/accounts → Add account
- DELETE http://localhost:8081/api/accounts/:id → Remove account
- GET http://localhost:8081/api/stats → View statistics
- POST http://localhost:8081/api/stats/reset → Reset statistics
- GET http://localhost:8081/api/config → View configuration
- PATCH http://localhost:8081/api/config → Update configuration
⚡ Ready to proxy requests...
⚙️ Current strategy: session (default: session)
🚀 Server
✓ Server running at http://localhost:8080
Press 'd' to open dashboard in browser
Press 'q' or ESC to go back