A clean, labeled footer for pi that replaces the default cryptic stats bar with human-readable labels, color-coded context warnings, and IDR cost conversion.
- Labeled stats ---
input:,output:,cache:,context:,cost:instead of↑ ↓ R CH $ - Cache as separate section ---
input: 89.8k · cache: 52k (58.0%) · output: 31.8kwith clean middle-dot separators - Color-coded context bar --- 20-block progress bar (full blocks only) that turns green → yellow → red as context fills up
- Thinking level colorized --- each level (
off--xhigh) gets its own theme color - IDR cost conversion --- fetches live USD→IDR rate from
open.er-api.com, cached per session - MCP server status --- shows
MCP: 2/3 serversfrom thepi-mcp-adapterextension below the stats line - Model + provider + git branch on the left side
model: deepseek:deepseek-v4-flash · level: high · speed: ~45t/s · latency: ~1.23s · git: main
input: 89.8k · cache: 52k (58.0%) · output: 31.8k · context: ██████████░░░░░░░░░░ 50.00% · cost: Rp3.006
MCP: 2/3 servers
Drop into:
~/.pi/agent/extensions/readable-footer.ts
Run:
curl -o ~/.pi/agent/extensions/readable-footer.ts \
https://gist.githubusercontent.com/.../readable-footer.tsThe extension auto-enables on next startup. No configuration needed.
| Command | Action |
|---|---|
| (auto) | Enabled on startup |
/readable-footer |
Toggle on/off |
/reload |
Reload extension (also re-fetches IDR rate) |
pi≥ latestpi-mcp-adapterextension (optional --- for MCP server status line)- Internet access (optional --- for live IDR rate; falls back to ~Rp16k/USD)
MIT