
ghostty-blackhole is a custom Ghostty terminal shader that gravitationally distorts text and visualizes Claude Code context usage as a live, ray-traced black hole.
ghostty-blackhole is a custom terminal shader for the Ghostty terminal emulator that visualizes LLM token usage for Claude Code. As the context window fills up, a simulated black hole on the screen grows, using ray-traced gravitational lensing, an accretion disk, and a photon ring to warp and distort the terminal text. This visual cues developers before their context window overflows, and it displays key metadata such as fill percentage, current model, and session costs.
Using a literal gravity well to represent context usage is a brilliant UX metaphor that makes abstract token limits immediately tangible.
- –Translates numerical context window limits into a highly engaging, growing visual threat to warn developers.
- –Leverages Ghostty's advanced shader capabilities to run live, physics-based rendering of gravitational lensing and accretion disks.
- –Niche utility requiring Ghostty 1.3+ and Claude Code, meaning it is more of a cool developer novelty than a mainstream tool.
DISCOVERED
1h ago
2026-06-14
PUBLISHED
1h ago
2026-06-14
RELEVANCE
AUTHOR
Github Awesome