core: publish self-hosted weekly dashboard and Proxmox deployment (#20)

Reuse existing weekly/reset analysis in an authenticated dashboard and local official CLI workers. Add safe Proxmox installation and updates, account-attributed history, and MIT distribution. Provider credentials stay owned by each CLI.

Closes #19
This commit was merged in pull request #20.
This commit is contained in:
2026-11-15 11:24:55 +01:00
parent c02829e2e1
commit c75446008c
59 changed files with 4208 additions and 30 deletions
+25 -7
View File
@@ -1,18 +1,26 @@
# FinalToken
FinalToken is a tray app for Claude Code and Codex usage. It shows token history, provider limits,
and pace, warns when usage runs ahead of or behind a limit, and puts selected stats on Stream Deck
keys. Starting the app opens the stats panel; closing it keeps the tray app running by default.
FinalToken answers: **at my current usage, will my allowance last until the weekly reset?**
It tracks Claude Code and Codex limits, average/recent forecasts, daily budgets and reset history.
Use the desktop tray app, the optional self-hosted web dashboard, or Stream Deck keys.
Starting the desktop app opens its stats panel; closing it keeps the tray app running by default.
FinalToken does not sign in to a provider, handle API keys or OAuth tokens, or read credential
files. It reads the installed CLIs' usage files and runs their local commands. It never calls a
provider's HTTP API itself. Missing or logged-out CLIs show as unavailable.
FinalToken reads the installed CLIs' usage files and runs their commands. Provider credentials
stay owned by those CLIs; FinalToken never reads credential files or calls a provider's HTTP API.
The optional [self-hosted dashboard and worker](docs/web-dashboard.md) combine multiple machines
and coordinate official CLI login with transient authorization-code relay. Weekly forecasts,
daily budgets and reset history reuse the desktop app's analysis. Missing or logged-out CLIs
show their observed health; stale allowances have no current forecast.
For automatic container creation from a Proxmox host, use the [LXC install/update script](docs/proxmox.md).
It supports a server-only LXC and a single-command update that refreshes the deployment checkout.
## Requirements
- Claude Code and/or Codex CLI installed and logged in through the CLI. Their paths can be
overridden in Settings.
- Windows 11, or Linux with X11 or XWayland. CachyOS with KDE Plasma uses XWayland.
- Desktop: Windows 11, or Linux with X11 or XWayland. CachyOS with KDE Plasma uses XWayland.
- Web server/client: .NET 10 source build or a target-OS NativeAOT build; no desktop required.
- For keys: Stream Deck 7 on Windows, or OpenDeck on Linux. These are optional.
## Install and use
@@ -55,3 +63,13 @@ python -B tools/publish.py win-x64 --out artifacts/package-win-x64
The publish directory must be empty. The tool bundles all three executables and plugin assets,
then creates a ZIP beside the directory. Publish `win-x64` on Windows and `linux-x64` on Linux.
## Public source and contributing
Once the repository is publicly readable, cloning/fetching/pulling over HTTPS needs no Git login.
Push access, dashboard access and official provider logins remain separate authenticated operations.
See [contributing](CONTRIBUTING.md) and [publication checks](docs/publication.md).
## License
[MIT](LICENSE). Third-party dependencies retain their own licenses.