CLI tool to forward terminal sessions to your mobile device via Cloudflare Tunnel. Code anywhere from your pocket.
- Zero Config - One command to start;
cloudflaredis downloaded automatically - Mobile Access - Access your terminal from any device with a browser
- Secure - Cryptographic token auth with httpOnly cookies
- No Port Forwarding - Uses Cloudflare Quick Tunnel (no account needed)
- Real-time - WebSocket-based communication for instant feedback
- PTY Support - Full terminal emulation with node-pty
- Image Paste - Paste images from clipboard to upload file paths
npm install -g @leverageaiapps/gogogoVerify Installation:
gogogo --version# Start a terminal session
gogogo start
# Start with a specific command
gogogo start claude
gogogo start python
gogogo start vimA QR code will appear - scan it with your phone to access your terminal. Authentication is automatic via a secure token embedded in the URL.
# Start a terminal session (opens your default shell)
gogogo start
# Start with a machine name
gogogo start --name "My Laptop"
# Start a specific command
gogogo start claude
gogogo start "claude --dangerously-skip-permissions"| Option | Short | Description |
|---|---|---|
--name <name> |
-n |
Set a custom machine name (default: hostname) |
--version |
-V |
Show version number |
--help |
-h |
Show help |
- Run
gogogo start [command]in your terminal - GoGoGo starts a local web server and creates a Cloudflare tunnel
- A QR code appears with your unique, authenticated URL
- Scan the QR code with your phone
- Your terminal is now accessible from your mobile device!
To exit GoGoGo, you can:
- Type
exitin the terminal (or the command to exit your current program) - Press
Ctrl+Cin the terminal where you rangogogo start - Close the terminal window
When you see "Terminal session ended.", the session has been successfully closed.
- Token Authentication - Each session gets a unique 128-bit cryptographic token
- httpOnly Cookies - Token is stored as a secure, httpOnly cookie after first visit
- WebSocket Auth - WebSocket connections are verified via cookie
- Connection Limits - Max 10 concurrent WebSocket connections
- Rate Limiting - Message rate limiting per connection
- Security Headers - CSP, HSTS, X-Frame-Options, and more
Fix permissions on the node-pty spawn-helper:
# macOS ARM (M1/M2/M3)
chmod +x node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper
# macOS Intel
chmod +x node_modules/node-pty/prebuilds/darwin-x64/spawn-helper
# Linux x64
chmod +x node_modules/node-pty/prebuilds/linux-x64/spawn-helperContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Cloudflare Tunnel for secure tunneling
- node-pty for PTY support
- xterm.js for terminal emulation in the browser