Projects
🖥️
trofeo-lcd
Open SourceA dashboard that keeps PC vitals and Claude Code / Codex usage limits on the wide LCD in your PC case.
PythonPillowPyUSBpsutilNVML
Overview
It drives the Thermalright Trofeo Vision 9.16" (1920×462) LCD directly over USB, without vendor software. Every second it draws a frame and sends it as JPEG: CPU, GPU, memory, network and disk on one side, Claude Code and Codex 5-hour and weekly usage on the other.
Each usage bar has a white tick showing how much of the reset window has passed, so a bar ahead of the tick means you are using quota fast. If the current pace would hit the limit before the reset, it warns you how long you have left.
Features
- Four layouts: cards, ai, system and classic, with optional rotation
- Per-core CPU load, NVIDIA GPU load, temperature and power, RAM, VRAM and drives, 5-minute history graphs
- Claude Code 5-hour, weekly and per-model usage plus today's hourly tokens
- Codex 5-hour and weekly usage and tokens
- Burn-rate markers and "limit in ~1h" warnings
- Edit settings.json and the screen changes while running
Tech Stack
- Python 3.13, uv
- Pillow for rendering, PyUSB + libusb for JPEG frame transfer
- psutil and NVML (nvidia-ml-py) for hardware stats
- Claude usage read with the Claude Code login token; tokens counted from local Claude and Codex session logs
- USB protocol ported to Python from haven80/trofeo-lcd-rs (Rust)