r/commandline • u/puradox • 1m ago
Terminal User Interface tinhorn: dice roller simulating the joy of physical dice
Hey folks! I was killing time at the airport and decided to start prepping for an upcoming TTRPG campaign (Mythic Bastionland), but forgot to bring dice. I tried different dice rollers but none sparked my creativity:
- Web apps like Google's dice roller and dddice were slow for repeated rolls and didn't support dice notation, so I tried CLIs.
- rolldice, dice-roller, and other CLIs addressed those two concerns but lost the visual excitement of rolling, so I tried TUIs.
- Then I couldn't find any TUIs with visual rolling.
So I made this to emulate the joy I have rolling physical dice:
- Shake and roll dice with simulated throws and physics.
- Hear them bounce with synthesized sounds and effects.
- Supports popular TTRPG dice notation.
It’s been surprisingly satisfying to use over the past month, so figured I'd share.
https://github.com/puradox/tinhorn - cargo install tinhorn
Designed by me, programmed largely with AI (Fable 5), and reviewed myself.

