Documentation
Serin Cloud IDE
One folder. Every device.
A development server in the cloud, open on your iPad, your Mac and any browser. The files never move.
It is a browser-based coding environment, built for iPad. File tree, editor, terminal, and a Run button, over a workspace directory on local disk. This page covers installing the server, keeping it running, and reaching it from your devices.
Requirements
- Node 20 or newer. It was developed on Node 26.
python3andbashonPATH, if you want to run.pyand.shfiles.
Install and run
Install the dependencies, then start the dev server.
npm installnpm run devThe dev server listens on port 3000 and prints every address it can be reached on, plus a one-time pairing code:
open http://localhost:3000
open http://192.168.1.140:3000
pair K7QM-3XPD (valid 30 minutes, single use)
browser http://192.168.1.140:3000/#pair=K7QM-3XPD
ipad app cloudide://pair?server=...&code=K7QM-3XPDNothing is reachable without pairing. Each browser or iPad redeems a code once and gets its own device token. Tokens are stored hashed in .cloud-ide/, which is gitignored.
Pairing
Print a fresh code without restarting:
npm run pairShow paired devices:
npm run pair -- --listCut one device off:
npm run pair -- --revoke <id>Production build
npm run build && npm startnpm install runs scripts/fix-pty-permissions.mjs, which restores the executable bit on node-pty's prebuilt spawn-helper. npm's tarball extraction drops it, and without it every process spawn fails with posix_spawnp failed.
Run it in the background
npm run service -- installThis builds for production and installs a LaunchAgent (macOS) or a systemd user unit (Linux) that starts the server at login and restarts it if it stops. It runs as you, with the PATH of the shell you installed it from, so terminals opened from the iPad find the same tools.
npm run service alone prints what it would install. -- status and -- uninstall do what they say:
npm run service -- statusnpm run service -- uninstallLogs go to .cloud-ide/logs/server.log.
Stop npm run dev first. Both want ports 3000 and 3001.
Reach it from anywhere
On the LAN the address changes whenever the network does. With Tailscale the server gets a stable name and a real certificate.
npm run tailscale -- --applyThis runs tailscale serve for the IDE on https port 443 and for previews on 8443 (PREVIEW_HTTPS_PORT). Pair the iPad with the https://…ts.net address. The server sees https and hands out https preview URLs on the same name.
npm run tailscale without --apply shows the commands and changes nothing. -- --reset removes them.
npm run tailscale -- --resetOnly devices signed in to your tailnet can connect. Behind any other https proxy, set PREVIEW_ORIGIN to where it exposes port 3001.
On the iPad
- Make sure the iPad is on the same Wi-Fi network as this machine.
- Open the network address the server printed (the
openline with this machine's IP, notlocalhost) in Safari. - Share, then Add to Home Screen.
- Launch it from the home screen. It runs standalone, with no Safari chrome.
The service worker caches the app shell so the UI loads offline. It only registers in a secure context, meaning https or localhost. Over a plain-http LAN address the browser will not register it. Add to Home Screen, standalone display, and the icon all still work. You just do not get an offline shell.
Keyboard
Open the palette with ⌘K and everything is listed with its shortcut. The main ones:
| Keys | Action |
|---|---|
| ⌘K | Open the command palette |
| ⌘↵ | Run or stop |
| ⌘S | Save |
| ⌘F | Find in file |
| ⌃Space | Completions |
| ⌘G | Go to line |
| ⌘B | Toggle the tree |
| ⌘1/2/3 | Switch pane |
| ⌘0 | Reset the split |
| ⇧PageUp⇧PageDown | Scroll the terminal |
Inside the editor the keymap is VS Code's, via @replit/codemirror-vscode-keymap.
If a ⌘ shortcut does nothing, hold ⌃⌥ instead. Which Cmd combinations a standalone home-screen web app can intercept on iPadOS is unresolved, so every uncertain binding has the same key under ⌃⌥ as a fallback, and every command is reachable by tap as well. ⌘N is deliberately unbound: use ⌃⌥N or the palette.
Ctrl combinations are never claimed while the terminal has focus, so Ctrl+C, Ctrl+D and Ctrl+Z always reach the shell.