by joshka · 2w ago · 0 comments
Betamax now supports kitty image protocol pretty well. Should be even better when libghostty-vt for rust drops the 1.0 version. Happy to take issues on it if there's missing bits.
> Not sure if you do this with betamax, but it has been absolutely sick using ntrecord in agent loops. The LLMs make themselves tapes to get to a state and then can look at it to validate or improve. I don't even ask them anymore, they just do the whole thing themselves. I've fixed charting bugs and improved TUI browser conformance this way.
Yup - it's pretty neat to watch the agent build out Ratatui widgets like https://www.joshka.net/ratatui-diff/ with zero code being seen during the process and steering via only screenshots etc. Documented the process here: https://www.joshka.net/betamax/testing/visual-development/
I found ghostty-web to be important for showing the warez. Coder wasn't updating or improving it, but we needed it so I carried it much further. For example, the Kitty shared memory feature allows much higher graphics performance. Also a lot of work rendering, a WebGPU backend along with support for RTL and non-Western languages.
Recently, post-ghostty 1.0, I formally forked it to a new namespace: ntwebterm. I still expect Ghostty or Singularity to make such. component, but will keep maintaining until then.
I've then made "Booba" to write-once, run-native/browser for Golang programs. The "go tool" feature helped there. You or somebody could probably fashion the same thing, that Rust meta-magic is wild.
Live demo of ntdiff (more of an experiment in using ASTs and typesetting, needs more work): https://nimbleterminal.com/ntdiff/?view=typeset
One can also build hybrid web/terminal applications: https://fuzz.nimbleterminal.com
See https://github.com/joshka/qwertty-term/. I probably won't keep it updated though as tracking a moving target is tough.
Not quite sure I follow your improvements / need. I'm not really doing anything in the web gpu space though.