Hacker News new | ask | show | jobs
by ncphillips 14 hours ago
Rex has two parts: servers and clients.

The server part runs your programs and runs behind the scenes. So you can close the app and it keeps running. When you open it up stuff is still there. Right now the main thing it runs is a terminal, but their plan is to allow more program types to run there.

The client app connects to your own computer by default, but it can connect to others too. I have Rex on my laptop, desktop, and phone. From my phone I can see/interact with all of the terminals running on both my laptop and desktop. If my phone restarts those terminals all stay alive because they live in the server part on those devices, not on my phone. With regular ssh they’d die.

The magic is that Rex makes interacting with all of these things feel like and single device. It has an API for interacting with terminals, adjusting the layouts, checking their statuses, and much much more. I can have a program on my laptop open a new terminal on my desktop to run some tests and then post a report back to my laptop.

I can drag a file from my desktop to a terminal for my laptop and Rex handles transferring the file to that device.

Rex automates port forwarding so I can do localhost:3000 and it gets mapped to a different machine.

There’s just an absolute ton you can do, the UX is fantastic, and this is just the start of what they’re going dor