Localhost previews
Open dev servers running on your machine at localhost on your Mac.
Start a dev server on your machine and open it on your Mac at the same address. The desktop app
forwards every port your machine listens on to localhost on your Mac, with nothing to set up.
npm run dev
# ➜ Local: http://localhost:5173/Open http://localhost:5173 in your Mac's browser and you're looking at your machine. If a port is
already taken on your Mac, Cube forwards to the next free one instead.
Forwarded ports are reachable from your Mac only, not from other devices on your network.
Previews in the sidebar
Each site your dev servers serve also shows up in the Repos list, with a globe, under the repository it came from. Click it to open the page in a pane next to the agent building it. Right-click it to Open in browser, Copy URL, Rename or Hide from sidebar.
When the server stops, the preview shows Server stopped. If it isn't back within 10 seconds, it leaves the list.
A server that doesn't show up
Print its address in a terminal on the machine, and Cube picks it up:
echo http://localhost:3000On the web and phone
app.cube.computer lists your sites but can't open them. They show Needs the desktop app.