Coide

Documentation

Your own cloud dev box.

Coide is free, self-hosted software. You rent an Ubuntu VPS, run one command, and get a browser workspace with a terminal, projects, Robinhood Chain templates, coding agents and previews. You pay the VPS provider directly.

1. Install on a VPS

Requirements: a fresh Ubuntu 22.04/24.04 or Debian 12 server with root access. A 2 vCPU / 4 GB RAM / 50 GB SSD VPS is enough for contracts and dApps. Choose 4 vCPU / 8 GB if you run several agents at once. The installer is designed for a single owner, not a shared multi-tenant host.

SSH into the server as root, then run the one-line command shown on Get a server:

curl -fsSL https://coide.fun/install.sh | sudo bash -s -- https://coide.fun

Replace both URLs with your own domain if you host the site elsewhere. The installer takes roughly 5–15 minutes. It installs Node 22, Git, build tools, Foundry (forge, cast, anvil), the coding agents, Caddy for HTTPS, and a systemd service. On servers under 8 GB of RAM it also creates a 2 GB swap file.

Useful installer options

OptionEffect
COIDE_DOMAIN=dev.example.comUse your own domain instead of the free <ip>.sslip.io hostname. Point an A record at the server first.
COIDE_NETWORK=mainnetPoint forge and cast at Robinhood Chain mainnet instead of testnet. Use it only once you know what you deploy.
COIDE_SSH_PORT=2222Keep a non-standard SSH port open. The installer also tries to detect it automatically.
COIDE_SWAP=0 / COIDE_SWAP_MB=2048Skip swap creation, or change its size.
COIDE_AGENTS=0Skip the global coding agents.
COIDE_SUDO=1Give the dev user passwordless sudo. Off by default: agents and terminals run as dev, so no sudo keeps a prompt injection or a leaked key from owning the whole server.

2. First login

At the end, the installer prints two things:

Open the URL, choose Email or your wallet (MetaMask, Rabby or any EVM wallet), and create the first account with the setup code. That account becomes the owner/admin. Nobody else can sign up on a personal install (MAX_USERS=1), and subsequent signups are refused.

If you lose the setup code before creating the account, read it from /opt/coide/server/.env as root. Once the owner exists, the setup code is no longer needed.

3. Workspace

The Coide terminal running forge test
Terminal: a real shell on your server. Live demo.
The Files tab with Counter.sol open
Files: browse and edit your project. Live demo.

Preview a dev server (Vite, Next, anvil)

Run the dev server in the Terminal, then forward its port to your computer:

ssh -N -L 5173:127.0.0.1:5173 root@YOUR-SERVER

Open http://localhost:5173 locally. Replace root with your SSH user and 5173 with the port your server listens on (anvil uses 8545). The Preview tab has a Dev server button that builds and copies this command for you.

Static builds work directly: run npm run build, then reload the Preview tab. If the project has a dist/, build/ or out/ folder with an index.html, Coide serves it instead of the source folder.

4. Coding agents

The installer installs Claude Code, Codex, Gemini CLI, Grok Build and OpenCode globally for the dev user. Open the Agents tab (or the Agents list in the sidebar) and click Sign in with Claude, Sign in with ChatGPT, Sign in with Google, Sign in with Grok or Sign in with a provider. Each button types the sign-in command into your terminal; open the link it prints on your own computer, approve, and the status turns to Connected by itself.

The Agents tab with sign-in buttons and the Robinhood Chain toolchain
Agents: one button per provider, and the toolchain installed on your server. Try it in the live demo.

The same commands, if you prefer typing them:

claude auth login          # Claude Pro/Max or Anthropic Console
codex login --device-auth  # ChatGPT Plus/Pro (device code, works over SSH)
NO_BROWSER=true gemini     # Google account or Gemini API key
grok login --device-auth   # grok.com account or XAI_API_KEY
opencode auth login        # Anthropic, OpenAI, OpenRouter and more

Agent subscriptions and model usage are billed by the agent providers, not by Coide. Credentials are stored in the dev user's home on your server and never leave it.

5. Parallel agents and history

This is what a classic IDE does not do for you.

Tasks: several agents at once

In the Tasks tab, pick an agent, describe a task and press Start task. Start another one with a different agent right away. Each task gets its own copy of the project (dependencies are shared, not copied), so agents never step on each other or on your files. Tasks run on your server and keep going after you close the tab.

When a task is done, View changes shows the diff and the agent's log. Apply to project copies its changes into your real project; if you edited the same files in the meantime, Coide lists them and asks before overwriting. Discard throws the copy away. Claude Code, Codex, Gemini CLI and OpenCode can run tasks; Grok Build works in the terminal for now. Up to 4 tasks run at the same time (MAX_PARALLEL_TASKS in .env).

Three agents working on the same project at once in the Tasks tab
Tasks: Claude Code, Codex and Gemini CLI each on their own copy of the project. Try it in the live demo.

History: every change, with undo

Coide keeps a private history of each project, separate from your own Git repository (it never commits to it). A checkpoint is saved when you save a file in the editor, when you apply a task, and every 40 seconds while a terminal is open, labelled with the agent that was working at that moment (Claude Code, Codex…).

In the History tab, pick a checkpoint to see its diff. Undo this change reverts only that checkpoint and keeps everything after it; Go back to this point puts the whole project back the way it was. Both save the current state first, so you can always come back. Generated folders (node_modules, out, cache, broadcast, dist…) are not tracked.

The History tab showing a checkpoint by Codex and its diff
History: every checkpoint, the agent behind it, its diff, and one-click undo. Try it in the live demo.

6. Robinhood Chain toolchain and one-click deploy

Robinhood Chain is an Ethereum-compatible (EVM) chain, so Coide installs Foundry: forge to build, test and deploy Solidity contracts, cast to read and send transactions, anvil for a local chain and chisel as a Solidity shell. Foundry downloads the Solidity compiler on first build.

Deploy in one click

Open a Foundry project (one with a foundry.toml, like the Smart contract and ERC-20 templates), pick the contract in the Deploy tab, fill in its constructor arguments if it has any, and press Deploy. Coide then:

  1. checks the dev wallet (the encrypted Foundry keystore coide-deploy), creates it if needed and reads its ETH balance;
  2. runs forge build;
  3. runs forge test (untick Run tests first to skip it);
  4. runs forge create and shows the contract address with a link to the explorer.
The Deploy tab after a successful deploy, with the contract address
Deploy: wallet, build, tests and deploy, then the contract address and its explorer link. Try it in the live demo.

A new wallet starts empty. When the balance is too low, the Deploy tab shows the wallet address with a button to copy it and a link to the testnet faucet: get some testnet ETH, then press Deploy again. Mainnet deploys ask you to type mainnet to confirm and spend real ETH from the server wallet: use a separate wallet with only what the deploy costs.

From the terminal

The terminal points forge and cast at Robinhood Chain testnet (chain ID 46630) through $ETH_RPC_URL. $RH_EXPLORER and $RH_FAUCET hold the explorer and the testnet faucet.

cast chain-id                                   # 46630 on testnet
mkdir -p ~/.foundry/keystores
cast wallet new ~/.foundry/keystores dev        # throwaway dev wallet, encrypted
cast wallet address --account dev
echo $RH_FAUCET                                 # free testnet ETH
forge build && forge test
forge create src/Counter.sol:Counter --account dev --broadcast
TestnetMainnet
Chain ID466304663
RPChttps://rpc.testnet.chain.robinhood.comhttps://rpc.mainnet.chain.robinhood.com
Explorerexplorer.testnet.chain.robinhood.comrobinhoodchain.blockscout.com
GasETH

The public RPCs are rate-limited. For heavier use, set ETH_RPC_URL to a provider endpoint (Alchemy, QuickNode, Chainstack…) in ~/.bashrc. Network details come from Robinhood's chain docs.

7. Updates, backups and recovery

Update

Run the same install command again. The installer downloads the new package, verifies it, keeps server/data and server/.env, replaces the code, reinstalls dependencies and restarts the service. If the download or extraction fails, it leaves the old install untouched. If a later step fails, it prints the temporary backup path instead of deleting it.

Backup

sudo tar -czf /root/coide-backup-$(date +%F).tar.gz \
  -C /opt/coide server/data \
  -C /home/dev workspace

Copy the archive off the VPS (object storage, another machine, etc.). The database is a JSON file in server/data; the projects are in /home/dev/workspace.

Reset a password

sudo -u dev bash -lc 'cd /opt/coide/server && node server.mjs --reset-password you@example.com'

It prints a new random password and revokes existing sessions. To choose the password yourself, add it as the second argument.

Logs

journalctl -u coide -f
tail -n 200 /var/log/coide-install.log

8. Security

Read the full security model.

9. Troubleshooting

The installer failed

Read the last lines of /var/log/coide-install.log. If it failed during an update, look for Update failed. Your previous data and .env are kept in: /tmp/... and restore that folder before retrying.

The service does not start

systemctl status coide --no-pager
journalctl -u coide -n 80 --no-pager
curl -i http://127.0.0.1:3100/api/config

HTTPS is not issued

Check that ports 80 and 443 are reachable from the internet and that the domain's A record points to the server. For sslip.io, no DNS setup is needed. Caddy logs: journalctl -u caddy -n 80 --no-pager.

A build or an agent runs out of memory

Use a 4 vCPU / 8 GB VPS, or confirm swap is active with swapon --show. The installer adds 2 GB swap when no swap exists and RAM is under 8 GB.

Deploy says the toolchain is missing

Foundry is not in the dev user's PATH. Run the install command again: it reinstalls Foundry and keeps your projects and settings.

A task failed straight away

Open its log (View log). Most of the time the agent is not signed in: use its button in the Agents tab, then start the task again.

An agent is missing

Install it in the terminal with npm (for example npm install -g opencode-ai), then reload the Agents tab. The server prefers the global binary in your PATH.

10. Current limits

Status: Coide is an early self-hosted release. The server API, auth, templates, terminal and installer are tested; the Docker sandbox and crypto billing are for advanced/shared deployments and should be validated on your own server before exposing them to other users.