3 ms·
libghostty is stellar! I’m using it for my session persistence for terminal processes tool: https://github.com/neurosnap/zmx https://github.com/neurosnap/zmx W
by qudat 10mo ago
libghostty is stellar! I’m using it for my session persistence for terminal processes tool: https://github.com/neurosnap/zmx https://github.com/neurosnap/zmx
When users reattach to their session we render the terminal state and output from ghostty. Super cool and works really well. It’s basically tmux-lite in 1k LoC
- Graziano_M 10mo agoI like that. I don’t want to use tmux (and I don’t when I’m working on my local machine), but I can’t escape it when SSHing. I could ssh to a ton of sessions, but then I 1. Have to remember their names 2. Can’t easily create a new pane (on the remote host) for some short task and 3. Need yet another solution for restoring my pane layout for when my client restarts. Maybe I’ll try the session name thing, I just foresee it being annoying. Do you see your tool as a shpool replacement?
- fragmede 10mo agoDon't give them useful names, just call them 1 or 2 or asdf and let your brain do the mapping.
- Graziano_M 10mo agoI also (coincidentally) just started using OP's coder, and that also sets up ssh config to use special wildcard hosts, and unfortunately 'hogs' the config (it threatens to trash any changes to the coder section).
- qudat 10mo agoYes this completely replaces `shpool`. I totally understand your concerns for creating new terminals for short tasks. I generally lean towards `nvim` terminal buffers to solve that issue. Or I have a `term` session open that I can quickly go to for random terminal commands that don't belong to a project.
- conradev 10mo agoThis is super cool! I didn’t know I was looking for exactly this, but I am
- ac29 10mo agoLove this idea. Though, apparently zig isnt available in any version of Debian including sid, which is annoying. A multiyear packaging effort stalled out 8 months ago with zig 0.14, which is too old for zmx. Will try this out on my arch system later this week though.
- qudat 10mo agoMy next step is to package this tool so people can easily install it.