toknmtr — self-hostable Claude Code usage & analytics dashboard
Server (SvelteKit + SQLite Docker container) + per-machine agent that parses Claude Code JSONL transcripts. docker-compose one-command deploy; raw transcript view + search gated behind SHOW_TRANSCRIPTS (hidden by default). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
71a60ab054
74 changed files with 15613 additions and 0 deletions
13
.env.example
Normal file
13
.env.example
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# toknmtr server config. Copy to `.env` (gitignored) before `docker compose up`.
|
||||
# Only API_TOKEN is required — docker-compose.yml sets DB_PATH, the port, and body limit.
|
||||
|
||||
# --- server ---
|
||||
API_TOKEN=change-me # Bearer token the agent must present to /api/ingest.
|
||||
# Generate a strong one: openssl rand -hex 32
|
||||
# SHOW_TRANSCRIPTS=true # Unset/false = HIDE the transcript view + full-text search
|
||||
# (raw prompt/response text). Only enable behind auth.
|
||||
|
||||
# --- agent (informational) ---
|
||||
# The per-machine agent reads these from ~/.toknmtr/env, NOT from this file (see ops/README.md):
|
||||
# TOKNMTR_URL=http://<server-host>:3001 # base URL of your deployed server
|
||||
# TOKNMTR_TOKEN=<same value as API_TOKEN above>
|
||||
Loading…
Add table
Add a link
Reference in a new issue