News for hackers. Stuff that matters.

kylecarbs

Re:Ask HN: What Are You Working On? (July 2026) on Monday July 27, 2026 @10:45PM (#49078636)
(joining very late to the thread, but for future readers)

Coder requires zero internet-access, many of our customers run entirely airgapped. We _currently_ create an HTTP tunnel for first-time users to their Coder instance for a smooth setup. This removes the need to expose their deployment for workspace infra (e.g. EC2 VMs) just to try it out.

We could communicate this more clearly in our UX, which I'll fix up!

This is the exact use-case Boo is made for!
Apologies, half of this indeed was. As I was iterating on the README this seemed apt, but I will refrain!
Cmux is a standalone terminal. Boo is a command-line similar to screen, backed by libghostty for terminal emulation.
Just published v0.5.13 which should fix this! It seems to be a path issue. Now boo falls back to tmpdir for storing sockets.
I'll take a look at this now. Thanks for reporting!
Fair. Adding a section for this now.

screen actually works the same way architecturally: it parses all output through its own built-in terminal emulator and redraws from that state on reattach. But that emulator is decades old and lags far behind what modern programs emit. Whatever it doesn't understand gets dropped or mangled on redraw. boo swaps that layer for libghostty-vt, Ghostty's VT core, so the saved state matches what your terminal would actually display, and terminal queries get answered while detached so TUIs don't hang unattended.

tmux is great, it was just never the model I wanted. I really liked screen's simplicity, sessions and a prefix key and nothing else to learn, and boo keeps exactly that.

Re:Anthropic acquires Bun on Tuesday December 02, 2025 @01:26PM (#46124545)
Bun has completely changed my outlook on the JS ecosystem. Prior to Bun, there was little focus on performance. Now the entire space rallies around it.

Congrats to Jarred and the team!

Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @10:47PM (#46117281)
Taking a look now - thanks!
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @10:45PM (#46117264)
I'll take a look - not sure what's going on. I'll remove it from the README for now since it's not working in the demos.

Thank you for letting me know!

Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @10:20PM (#46117091)
Thanks for being a user :)
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @07:13PM (#46115496)
They are approximations but Ghostty has intentional effort towards correctness, more than I've seen from other terminal emulators.
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @06:00PM (#46114655)
Agreed. I removed "not a JavaScript approximation of one" from the README.
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @05:53PM (#46114563)
This is awesome, thank you!
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @05:47PM (#46114489)
It should work! Our demo may not (as I haven't tested it, so don't want to advertise it).
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @05:13PM (#46114042)
Added it to the README! Thanks again :)
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @04:44PM (#46113690)
See the comparison: https://github.com/coder/ghostty-web?tab=readme-ov-file#comp...

Ghostty has much better VT100 compatibility. It should have much better performance as well once we optimize.

Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @04:22PM (#46113415)
Let me know if you encounter any issues! I'm working on performance benchmarks now.
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @04:21PM (#46113403)
Will do this!
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @03:38PM (#46112859)
That would be great!

`npx @ghostty-web/demo@next` starts an HTTP server on `localhost:8080`, so you could just wrap a basic Dockerfile with NPM installed (and maybe a variety of fun Linux tooling, ala vim).

Feel free to shoot me an email: [email protected]. I'll happily add it to the README.

Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @03:26PM (#46112722)
It's tricky to do without a compute environment.

We can easily make a browser shell that let's people run basic commands, but presumably most want to try `vim` and other commands they'd typically invoke.

Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @03:24PM (#46112700)
I'd have to let Mitchell answer this accurately.

Considering the native Ghostty does, I _think_ the answer would be yes? I might tinker around with this and let you know.

Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @03:19PM (#46112637)
Awesome. If you happen to integrate it and find any bugs, please give us a shout!
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @03:19PM (#46112626)
They could certainly compile Ghostty and link into it from Rust. I couldn't imagine it'd be that large of an undertaking.
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @03:05PM (#46112428)
Yup, that's the idea!
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @02:55PM (#46112282)
Neat. I'll take a look. Thanks Syrus!
Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @02:37PM (#46112038)
We spent little time on performance so far, this is more of a POC that will hopefully become a drop-in replacement for xterm.js over time.

I'll swap it over to the new RenderState API and post some benchmarks!

Many kudos to y'all, we were shocked how simple it was to hack this together.

Re:Ghostty compiled to WASM with xterm.js API compatibility on Monday December 01, 2025 @02:19PM (#46111768)
I'll do this for a much improved demo!

Currently you need the command-line to try it, which is an unfortunate UX.

Older »