Remix.run Logo
nzoschke 8 hours ago

Congrats!

My daily driver is Zed developing on SSH remote servers on exe.dev.

It's crazy to think of all the dev tools I've churned through over the last 18 months but these two feel sticky.

Zed has everything I need in a unified pane. File editor, terminal, agents, SSH remotes. And it's fast and intuitive

exe.dev is the first "dev container" I've ever *loved*. The remote sandbox means `dangerously-skip-permissions` is safe. Being on the internet with good private / shared / public access saves so much time.

I also use https://conductor.build/ and GitHub but this is starting to feel clunky compared hacking directly against online live reloading apps.

tikotus 8 hours ago | parent | next [-]

I'm glad to hear the SSH remote editing is working well.

A lot of the time I'm developing on a remote server using VSCode Remote-SSH. I mostly love it. But! It consumes a lot of memory. And not only that. At times it gets stuck in some infinite loop or such, and ends up consuming all memory on the machine, preventing all traffic. Takes a few minutes for the OS to finally kill it, so I can get back in. I'm pretty this is happening due to large collections of symlinks (the subprocess eating up the memory is rg). But also just JavaScript editing at times launches up a bunch of ts-servers consuming everything and more.

This is super scary, if I'm poking around on the prod server.

Looking for alternatives. Zed is on my list.

apitman 4 hours ago | parent | next [-]

The VSCode remote ssh implementation is a bit concerning:

https://fly.io/blog/vscode-ssh-wtf/

Any idea if zed does things differently?

Pyrodogg 7 hours ago | parent | prev | next [-]

Do you happen to use the AutoImport extension? rg subprocess explosion seems related.

https://github.com/soates/Auto-Import/issues/127

eknkc 5 hours ago | parent | prev | next [-]

I've been using the SSH remote editing on Zed too and it works great. No issues whatsoever.

whalesalad 3 hours ago | parent | prev [-]

The only reason I remained on vscode for so long was the remote ssh editing as I also use a dev box (M2 air + dev box = multi-day battery life) but recently got sick and tired of the vscode instability and frequent need to blow away state / reinstall plugins after updates. When I saw Zed had an ssh dev equivalent I jumped ship and haven't looked back. Here is my theme if anyone is interested, https://github.com/whalesalad/dotfiles/blob/master/zed/whale...

c-hendricks 6 hours ago | parent | prev | next [-]

I'll have to check it out again. Last time I tried, the got integration didn't work when connecting to a remote SSH server, and ports couldn't be mapped at runtime.

Had to shut everything down, list the port, and then reconnect. A big pain when other tools just automatically figure out what needs to be forwarded, or just let you specify arbitrary ports at runtime.

huijzer 5 hours ago | parent | prev | next [-]

How does exe.dev differ from VPS + Caddy + some subdomain on a domain you already own?

For auth one can use Caddy and basic auth. Yes it takes a bit of work but it isn’t that bad. Plus zero subscription costs if your VPS is a Raspberry

fowlie 2 hours ago | parent [-]

> Yes it takes a bit of work but it isn’t that bad.

Agreed, it takes a few hours to set up everything. But just did it with Claude the other day, and I was up and running in no time! :-)

nate 6 hours ago | parent | prev | next [-]

"online live reloading apps" => trying to get my head around this workflow. so the disk is shared across these? so do you still have the problem of say running a "main" version of an app, and it's weird experimental version of that same app? because they still have to live in different folders/worktrees? that's where I get stuck a little trying to enable things like this for others. right now, I've got people a system we can spin up N "vms". but it's not persistent storage if the vm goes away. it's whatever version exists in their GitHub branch. hopefully if they hack the vm app they commit and push back to the repo.

nzoschke 5 hours ago | parent [-]

Yes I’m trusting exe.dev disks and persistence.

For many apps the weird experimental version is all there is. Call it vibe coding or experiments or non-critical tools. These may not even have a GitHub repo. I trust local git and the exe.dev disks.

Then for serious apps the above is the same shape for development branches. Spin up a VM in a few seconds with the code checked out and running online and editable over an SSH mount is the magic.

Then that turns into a PR on GitHub and a normal review then CI/CD to staging and prod takes over.

chrisweekly 6 hours ago | parent | prev | next [-]

Thank you for this comment! exe.dev is what I've been seeking without quite knowing it. excited to dig into it.

mark_l_watson 7 hours ago | parent | prev [-]

Using Zed with ssh is an interesting idea. I spend a lot of time mosh/ssh to VPSs, then running 'emacs -nw' locally on the server. This is a great setup since I love Emacs, but I will give Zed/ssh a try. Thanks.

davidw 5 hours ago | parent [-]

Emacs has had this feature forever, and it works pretty well.

https://www.gnu.org/software/emacs/manual/html_node/emacs/Re...

flossly an hour ago | parent [-]

KDE also IIRC. Just works in all load and save dialogs :)