Expose any CLI tool as a public web terminal via tunnel.
npm install -g @remotego/remotegoremotego <command> [command-args...] [options]| Option | Description | Default |
|---|---|---|
--port <port> |
Port to listen on | 7681 |
--cwd <dir> |
Working directory for the command | Current directory |
--domain <domain> |
Custom domain for localhost.run tunnel | Random subdomain |
--help, -h |
Show help |
# Mirror Claude Code
remotego claude
# Mirror a bash shell
remotego bash
# Mirror Python REPL
remotego python3 -i
# Mirror vim editor
remotego vim
# Custom port
remotego --port 9000 node
# Custom tunnel domain
remotego --domain myterm.localhost.run bash
# Pass flags to the command (use -- to separate)
remotego -- git log --oneline- Spawns the given command in a PTY (pseudo-terminal)
- Starts a local HTTP server with a browser-based terminal (xterm.js)
- Creates a public tunnel via localhost.run for remote access
- Opens the browser automatically
- A random session UUID is generated on each start
- The session ID is embedded in the URL — only holders of the URL can connect
- Clients must authenticate within 5 seconds of connecting
This project also works as a Claude Code plugin. Install it and use the /remoting slash command to mirror your Claude Code session in a browser.
MIT