162 karma · joined Mar 17, 2017 (9y ago) · 80 submissions
Socials: - github.com/jrop - gitlab.com/jrop - reddit.com/user/jrop2
---
4.
Bun v1.4.4: now including `bun fmt`, a built-in formatter(bun.com ↗)
1 points · by jrop · 1mo ago · discuss
comment 1mo ago · link · parent
Since you mentioned you're Neovim nerds: you may enjoy this: I build a declarative rendering engine on top of Neovim itself: morph.nvim [1]. Every Neovim install already has a grid, extmarks, floating windows, and a Lua runtime. On top of morph, I've dog-fooded 14+ interactive TUI applets -- docker, k8s, systemd, AWS, GitHub, HN reader [2].
Aside from declarative rendering, morph does a lot of other stuff: region-specific keymaps, read-only regions, extmark creation/managment/etc.
comment 1mo ago · link · parent
comment 2mo ago · link · parent
EDIT: In 1939, George Dantzig was a graduate student at UC Berkeley studying under the statistician Jerzy Neyman. He arrived late to class one day, saw two problems written on the blackboard, assumed they were homework assignments, copied them down, and turned in solutions a few days later. He apologized for being late -- the problems had seemed "a little harder than usual."
comment 3mo ago · link · parent
Let me get the caveats out of the way first: this only makes sense if you already live in Neovim. The whole ergonomic case is muscle memory you already have. If you're not a Neovim user, you're just buying another learning curve. Also, the language is Lua (not Rust) so it won't appeal to the ratatui crowd on that front, and there's no proper layout system yet.
Neovim [0] renders to its own buffer system (extmarks, floating windows, virtual text) rather than emitting ANSI escape codes. Under the hood it's still a terminal app, but from the UI author's perspective you're not fighting terminfo, CSI sequences, or varying terminal support. You get proper cursor tracking, scroll regions, and editable text areas out of the box.
On the UI framework side, morph.nvim [1] provides a React-like component model (h(), state, reconciliation) on top of Neovim. It's not a general answer the way ratatui is, but for the slice of devs already in Neovim (there are dozens of us!), it's a pragmatic way to get GUI-framework-like ergonomics without the terminal protocol fight.
For a sample of what TUIs in this paradigm can look like, I've been working on tuis.nvim [2] (Docker, K8s, SystemD services, process management, and more all as native Neovim buffer TUIs).
comment 5mo ago · link · parent
comment 5mo ago · link · parent
[1] https://github.com/jrop/tuis.nvim [2] https://github.com/jrop/morph.nvim
comment 5mo ago · link · parent
[1] https://github.com/jrop/morph.nvim [2] https://github.com/jrop/tuis.nvim
20.
Kimi K2.6-code-preview is now available(kimi.com ↗)
14 points · by jrop · 7mo ago · 5 comments
comment 7mo ago · link · parent
I forget where I heard this story -- it's probably either rather famous, or buried in an interview somewhere.
comment 7mo ago · link · parent
For some, this stage of a project attracts tinkerers and builders, and lets the community shape how things are done in the future. It's not always practical, but it does have a certain appeal.
comment 8mo ago · link · parent
comment 9mo ago · link · parent
Perhaps I'm grossly wrong -- I guess time will tell.
comment 10mo ago · link · parent