-
Notifications
You must be signed in to change notification settings - Fork 1
Analytics Interface
Steven Enamakel edited this page Jul 5, 2026
·
1 revision
The interface/ directory contains a self-hostable dashboard for TinyJuice
compression run metadata.
The UI is for inspecting:
- algorithm or compressor labels
- content kinds
- status
- original and compacted token estimates
- original and compacted bytes
- latency
- lossy flag
- CCR storage flag
- source and profile
It is not a raw prompt, context, or tool-output viewer.
cd interface
npm install
npm run devBuild a static bundle:
npm run build
npm run previewBuild and run the container:
docker build -t tinyjuice-interface .
docker run --rm -p 8080:80 tinyjuice-interfaceThe UI accepts an array of records shaped like:
[
{
"id": "run-001",
"timestamp": "2026-07-04T15:05:00Z",
"algorithm": "smartcrusher",
"contentKind": "json",
"status": "compressed",
"originalTokens": 2840,
"compressedTokens": 1180,
"originalBytes": 11842,
"compressedBytes": 4928,
"latencyMs": 23,
"lossy": true,
"ccrStored": true,
"source": "openhuman",
"profile": "full"
}
]Sample data is demo data, not a benchmark result. Displayed reductions are computed only from the active dataset.
- Do not upload raw content into dashboard records.
- Do not treat sample data as evidence of production savings.
- Keep status and compressor labels stable enough for dashboards, but do not make user-facing quality claims from them alone.
Token compression for agent context.
Getting started
Concepts
Modules
Agent docs