How guithepc/kindle-claude works
Claudinho no Kindle is a local Claude Code activity dashboard for a jailbroken Kindle. Claude Code hooks record per-session activity, while its statusLine records usage limits; the server combines that state with token totals from local project histories, renders and rotates e-ink screens, and serves them for the Kindle to poll over Wi-Fi. The README documents the polling client and dashboard capabilities. Internal source excerpts are partial, so rendering and HTTP details remain grouped where their boundaries are not fully visible.
Main entry points: server.py Dashboard server · statusline.py Usage statusLine · setup.py Hook setup · hook.py Session hook
Components 14
Claude Code capture
- Hook setup
setup.py - Session hook
hook.py - Usage statusLine
statusline.py
Dashboard server
- Session activity
hook.py - Usage limits
statusline.py - Dashboard server
server.py - Urgency selection
server.py - Token totals
server.py - Screen rendering
server.py - Chef animations
sprites.json
Kindle display
- Polling script
kindle/claude_dash.sh - Kindle
Other components
- Claude Code
- Project histories
Connections 17
- Claude Code → Hook setup: configures hooks
README.md - Hook setup → Session hook: registers
setup.py - Hook setup → Usage statusLine: registers
setup.py - Claude Code → Session hook: sends events
README.md - Session hook → Session activity: writes
hook.py - Claude Code → Usage statusLine: sends usage
README.md - Usage statusLine → Usage limits: writes
statusline.py - Usage statusLine → Claude Code: prints status
statusline.py - Session activity → Dashboard server: reads
README.md - Usage limits → Dashboard server: reads
README.md - Project histories → Token totals: provides logs
README.md - Dashboard server → Urgency selection: selects sessions
server.py - Dashboard server → Token totals: sums usage
README.md - Dashboard server → Screen rendering: renders dashboard
server.py - Chef animations → Screen rendering: supplies frames
- Polling script → Dashboard server: polls screens
README.md - Polling script → Kindle: updates display
README.md