
I’m trying to build a live demo that can be embedded in a static website. No Node.js, no external runtime, just Astro and a bit of magic to make my TUI run in the browser. Let’s see how far I can push this before something breaks. 😅
Daniele Scaratti
73 posts

@lupodevelop
punk attitude, enthusiast coder. gleam, rust, python, ts - mostly experiments. my github reflects the process.

I’m trying to build a live demo that can be embedded in a static website. No Node.js, no external runtime, just Astro and a bit of magic to make my TUI run in the browser. Let’s see how far I can push this before something breaks. 😅

Implemented widgets and a very efficient rendering system. Turns out the hard part was not rendering at all. It was fighting the shell. Doing this on the #BEAM is… different. Especially once you start dealing with raw terminal input, cursor control and who actually owns stdout

Working on a native TUI library in @gleamlang for both #Erlang and #JavaScript targets. Definitely inspired by @ratatui_rs … and probably too many videos about it. Small preview with some animations and improved stability.











