Veloce - Rust terminal apps: routes, flexbox, no event loop
by•
Most Rust terminal libraries stop at drawing cells. Veloce is the application layer above them: a stack router, taffy flexbox snapped to cells, async hydration with cancellation, and a runtime that restores the terminal after a panic or Ctrl-C.
The layout cache reuses clean taffy trees: a 2,000-child frame drops from 2.25 ms cold to 160 µs cached. Live frame stats show it.
62 tests, six crates. cargo add veloce-tui. Free and open source.


p/reso
p/tulu
p/runevr
p/google-cloud-platform
p/producthunt
p/raycast
p/visitors
p/dots-7
p/many-displays
p/lingodotdev
p/clocknext
p/murror
p/findergit
p/jot-2-0
p/interview-coach-3
p/kodlo
p/ai-context-flow
p/lancetta
Replies
Hey Product Hunt — I built Veloce because a terminal app should feel like building a web app, not like fighting crossterm and a hand-rolled event loop.
You declare routes and views. Veloce owns the event loop, taffy flexbox layout snapped to terminal cells, async hydration that cancels when you navigate away, and a runtime that restores the terminal after a panic or Ctrl-C.
Watch the 15-second demo: https://veloce-alpha-steel.verce... — it shows the cache toggle and a panic that restores the terminal.
Free and open source: github.com/RavaniRoshan/veloce. Feedback only — which primitive should I build next: a table, or focus traps?