Star ๅކๅฒ่ถ‹ๅŠฟ
ๆ•ฐๆฎๆฅๆบ: GitHub API ยท ็”Ÿๆˆ่‡ช Stargazers.cn
README.md
9Remote Dashboard

9Remote โ€” Terminal in Your Pocket

Want to code from bed? Fix bugs while having coffee? Deploy while on vacation?

Your Mac/Linux/Windows terminal, remote desktop, and file explorer โ€” accessible from any phone or browser, anywhere, instantly.

npm version Downloads License

๐Ÿš€ Quick Start โ€ข ๐Ÿ“Š Comparison โ€ข ๐Ÿ’ก Features โ€ข ๐ŸŒ Website โ€ข ๐Ÿ“– Docs โ€ข ๐Ÿ’ฌ Facebook

๐Ÿ‡บ๐Ÿ‡ธ English โ€ข ๐Ÿ‡ป๐Ÿ‡ณ Tiแบฟng Viแป‡t


๐Ÿšง Development Status

9Remote is currently in active development.

The source code is not open-source yet. If this project gets enough โญ support from the community, we will fully open-source it so everyone can contribute and self-host.

โญ Star this repo to help us reach the open-source milestone!


๐Ÿค” Why 9Remote?

Remote access today is painful:

  • โŒ SSH is a hassle โ€” firewall rules, port forwarding, SSH keys, IP whitelisting
  • โŒ VPN is overkill โ€” complex setup just to check a terminal
  • โŒ ngrok / tunnels expire โ€” lose connection, restart everything
  • โŒ TeamViewer is slow โ€” high latency, desktop-only, paid for commercial use
  • โŒ Chrome Remote Desktop โ€” no terminal, no file explorer, no mobile
  • โŒ Termius โ€” SSH-only, no remote desktop, no browser access

9Remote solves all of it:

  • โœ… One command โ€” install, scan QR, done in 30 seconds
  • โœ… Auto tunnel โ€” Cloudflare tunnel starts automatically, no port forwarding
  • โœ… All-in-one โ€” terminal + remote desktop + file explorer + code editor in one app
  • โœ… Works on phone โ€” full workspace from your browser, under 50ms latency
  • โœ… Persistent sessions โ€” PTY daemon survives server restarts
  • โœ… Pair Device security โ€” only approved devices can connect, zero signup friction

โšก Quick Start

Install globally:

npm install -g 9remote 9remote

๐ŸŽ‰ Scan the QR code on your phone โ†’ pair your device โ†’ you're in.

That's it! No config, no firewall rules, no signup.

Ready in 30 seconds. Works on macOS, Linux, and Windows.


๐Ÿ“Š 9Remote vs Other Remote Solutions

Feature9RemoteClaude RemoteTeamViewerChrome RemoteTermius
Zero Configโœ…โœ…โœ…โœ…โŒ
Terminal Accessโœ…โœ…โŒโŒโœ…
Remote Desktopโœ…โŒโœ…โœ…โŒ
File Explorerโœ…โŒโœ…โŒโœ…
Code Editorโœ…โŒโŒโŒโŒ
Git Integrationโœ…โŒโŒโŒโŒ
Mobile Optimizedโœ…โœ…โŒโŒโœ…
Browser-Basedโœ…โœ…โŒโœ…โŒ
QR Loginโœ…โœ…โŒโŒโŒ
Auto Tunnelโœ…โœ…โœ…โœ…โŒ
Persistent Sessionsโœ…โœ…โŒโŒโœ…
Multi-Device Syncโœ…โœ…โœ…โŒโœ…
Push Notificationsโœ…โœ…โŒโŒโŒ
AI Integrationโœ…โœ…โŒโŒโŒ
No Port Forwardingโœ…โœ…โœ…โœ…โŒ
No Account Requiredโœ…โŒโŒโŒโŒ
TOTAL16 / 1611 / 167 / 165 / 167 / 16

๐Ÿ† 9Remote: All-in-one solution with 16/16 features.


โœจ Key Features

FeatureWhat It DoesWhy It Matters
๐Ÿ–ฅ๏ธ Remote TerminalFull PTY shell via WebSocketCode like you're sitting at your Mac
๐Ÿ–ฑ๏ธ Remote DesktopLive screen streaming via WebRTCView & control your machine from phone
๐Ÿ“ File ExplorerBrowse, upload, download filesManage files without SSH/SFTP
๐Ÿ’ป Code EditorBuilt-in editor with syntax highlightingQuick edits without opening IDE
๐Ÿ”— Git IntegrationRun git commands with visual statusCommit/push from your phone
๐Ÿ“ฑ Mobile OptimizedTouch-friendly UI, gesture controlsFull workspace on a 6" screen
๐Ÿ”‘ QR LoginOne-time 30-min key, scan to connectZero-friction mobile access
๐Ÿ”’ Auto TunnelCloudflare tunnel, no port forwardingWorks behind any NAT/firewall
๐Ÿ”„ Persistent SessionsPTY daemon survives restartsLong-running commands stay alive
๐ŸŒ Multi-Device SyncSame session across phone/tablet/laptopSwitch devices without losing context
๐Ÿ”” Push NotificationsBuild finished? Get notifiedNever miss a critical event
๐Ÿค– AI IntegrationWorks with Claude Code, Codex, OpenClawCode with AI from anywhere
๐ŸŒ Local Sites ProxyExpose localhost:3000 to phoneTest dev servers on mobile instantly
โšก Low Latency<50ms typical, WebRTC for desktopFeels like local
๐Ÿ” Pair DeviceApprove each device before it connectsNo unauthorized access, full control
๐Ÿ†“ No Account RequiredMachine ID + QR key, zero signupPrivacy-first design

๐Ÿ“ฑ Available Platforms

๐Ÿ’ป CLI
npm install -g 9remote
macOS โ€ข Linux โ€ข Windows
๐Ÿ–ฅ๏ธ Desktop App
Tauri native app
macOS โ€ข Windows โ€ข Linux
๐ŸŒ Web Client
9remote.cc
Any modern browser
๐Ÿ“ฑ Mobile App
iOS โ€ข Android
React Native / Expo

๐ŸŽฏ Use Cases

Case 1: "Code from bed"

Problem: It's 11 PM, you remember a bug but laptop is in another room.

Solution:

1. Open 9remote app on phone
2. Scan QR (or use saved session)
3. Open terminal โ†’ fix bug โ†’ git push
4. Sleep well ๐Ÿ˜ด

Case 2: "Fix bugs at a cafe"

Problem: Production is down. You only have your phone and a bad cafรฉ Wi-Fi.

Solution:

1. Connect to your home/office Mac via 9remote
2. Tail logs in terminal
3. Edit config in built-in editor
4. Deploy โ†’ crisis averted

Case 3: "Deploy while on vacation"

Problem: Client needs a hotfix. You're on the beach.

Solution:

1. Phone โ†’ 9remote โ†’ your dev machine
2. git pull โ†’ build โ†’ deploy
3. Back to the beach in 5 minutes ๐Ÿ–๏ธ

Case 4: "On-call engineer"

Problem: PagerDuty alert at 3 AM. Don't want to power on laptop.

Solution:

1. Push notification โ†’ tap โ†’ 9remote opens
2. Terminal + remote desktop ready
3. Diagnose + restart service from bed
4. Resolve incident without getting up

๐Ÿ“– Setup Guide

๐Ÿš€ Installation Options

Option 1 โ€” NPM (recommended)

npm install -g 9remote 9remote

Option 2 โ€” Desktop App

Download from 9remote.cc/download โ€” native app with system tray integration, auto-start on boot, and background mode.

Option 3 โ€” Mobile App

  • iOS: App Store โ†’ "9Remote"
  • Android: Google Play โ†’ "9Remote"
๐Ÿ”‘ First Run & QR Login

On first run, 9Remote generates two keys:

  • Permanent Key โ€” stored locally, tied to your machine ID, used for trusted devices
  • One-Time Key โ€” 30-minute temporary key, used for the QR code shown in terminal

Connect from phone:

  1. Run 9remote on your Mac/Linux/Windows machine
  2. A QR code appears in the terminal
  3. Open 9Remote app (or 9remote.cc) on your phone
  4. Scan the QR โ†’ connected instantly

Keys are never stored on our servers after the session ends.

๐Ÿ–ฑ๏ธ Remote Desktop Setup (macOS)

Remote Desktop requires two system permissions on macOS:

  1. Screen Recording โ€” System Settings โ†’ Privacy & Security โ†’ Screen Recording โ†’ enable Terminal (or 9Remote Desktop app)
  2. Accessibility โ€” System Settings โ†’ Privacy & Security โ†’ Accessibility โ†’ enable Terminal (or 9Remote Desktop app)

Then enable in 9Remote:

TUI menu โ†’ Remote Desktop โ†’ Toggle ON

Performance:

  • Adaptive framerate: 60ms active / 400ms idle
  • Tile-based diff rendering (only changed regions sent)
  • WebRTC DataChannel for minimal latency
๐ŸŒ Local Sites Proxy

Expose your local dev servers (e.g. localhost:3000, localhost:5173) to your phone automatically.

9Remote auto-detects running ports and proxies them:
  http://localhost:3000  โ†’  https://<tunnel>/proxy/3000/
  http://localhost:5173  โ†’  https://<tunnel>/proxy/5173/

Perfect for:

  • Testing responsive design on real devices
  • Sharing WIP builds with clients
  • Mobile debugging without USB cable
โŒจ๏ธ CLI Commands
CommandDescription
9remoteTUI mode โ€” interactive menu with QR code
9remote uiWeb UI mode โ€” opens browser dashboard at localhost:2208

โ“ Frequently Asked Questions

๐Ÿ”’ Is 9Remote secure?

Yes. 9Remote uses a Pair Device approval system โ€” every new device must be explicitly approved by you before it can access the host. Plus:

  • No open ports on your machine (Cloudflare tunnel, outbound-only)
  • Keys are never stored on our servers after the session ends
  • No terminal output, files, or screen data is collected
  • One-time QR keys expire in 30 minutes
  • Pending/rejected devices can be managed anytime from the TUI menu
๐Ÿ’ฐ Is it free?

Yes, during the development phase. 9Remote is free to use. No signup, no credit card.

Once we open-source, it will remain free forever (MIT license planned).

๐Ÿ“ฆ When will it be open-source?

When the project reaches enough โญ GitHub stars to prove community interest.

We want to make sure there's a real community before committing to open-source maintenance. Star this repo to help us hit the milestone faster!

๐ŸŒ Do I need to open any ports?

No. 9Remote uses Cloudflare Quick Tunnel โ€” outbound connection only. Works behind:

  • Home NAT routers
  • Corporate firewalls
  • Mobile hotspots
  • VPNs
๐Ÿ“ด Does it work offline / on LAN only?

Yes. 9Remote includes a LocalFirstAdapter that races LAN vs tunnel connection and uses whichever is faster. If phone and host are on the same Wi-Fi, traffic stays local.

๐Ÿค– Can I use AI coding tools through 9Remote?

Yes! 9Remote works seamlessly with:

  • Claude Code
  • OpenAI Codex CLI
  • Cursor
  • OpenClaw
  • Any CLI tool that runs in a terminal

Run them on your host machine, access them from your phone. Combined with 9Router, you get free AI coding from anywhere.

๐Ÿ–ฅ๏ธ What platforms are supported?

Host (where 9Remote agent runs):

  • โœ… macOS (Intel + Apple Silicon)
  • โœ… Linux (x64, arm64)
  • โœ… Windows (x64)

Client (where you connect from):

  • โœ… Any modern browser (Chrome, Safari, Firefox, Edge)
  • โœ… iOS 14+
  • โœ… Android 8+
  • โœ… Tauri desktop app (macOS, Windows, Linux)

๐Ÿ› ๏ธ Tech Stack

  • Runtime: Node.js 20+
  • Tunnel: Cloudflare Quick Tunnel โ€” zero-config secure tunnel
  • Terminal: node-pty โ€” persistent PTY sessions
  • Remote Desktop: node-datachannel (WebRTC) + robotjs (input control)
  • Real-time: Socket.IO โ€” terminal streaming + WebRTC signaling
  • Agent UI: Preact โ€” lightweight embedded dashboard
  • Web Client: Next.js 16 + React 19 + Tailwind CSS 4
  • Desktop App: Tauri 2 โ€” native shell with auto-updater
  • Mobile App: Expo โ€” React Native with WebView shell
  • Edge API: Cloudflare Workers โ€” session management + TURN credentials

๐Ÿ› Troubleshooting

"Port 2208 already in use"

  • Another 9Remote instance is running โ†’ pkill -f 9remote then retry
  • Or run on a different port: PORT=3308 9remote

"Cloudflare tunnel failed to start"

  • Check internet connection
  • cloudflared auto-installed on first run โ€” if it fails, install manually: cloudflared docs

"Screen Recording / Accessibility permission denied" (macOS)

  • Grant permissions in System Settings โ†’ Privacy & Security
  • Restart 9Remote after granting

"QR code expired"

  • One-time keys expire in 30 minutes โ†’ regenerate from TUI menu: Key โ†’ Regenerate

"Can't connect from phone"

  • Check both devices have internet
  • Try forcing tunnel mode (skip LAN): Settings โ†’ Connection โ†’ Tunnel only

"Remote desktop laggy"

  • Reduce resolution in settings
  • Switch to terminal-only if desktop not needed
  • Use LAN mode if on same Wi-Fi for lowest latency

โญ Show Your Support

9Remote is in active development and we need your support to reach the open-source milestone!

  • โญ Star this repo โ€” every star brings us closer to going open-source
  • ๐Ÿฆ Share on Twitter / X โ€” tell other devs about 9Remote
  • ๐Ÿ’ฌ Join our Facebook community โ€” facebook.com/groups/9teamvn
  • ๐Ÿ› Report issues โ€” found a bug? Let us know!
  • ๐Ÿ’ก Request features โ€” what would make your remote workflow better?

๐Ÿ“ง Support & Links


๐Ÿ“„ License

Proprietary โ€” All Rights Reserved.

9Remote is currently in active development and is not open-source yet. The published npm package is free to use, but the source code is not publicly available.

๐ŸŽฏ Open-source milestone: once this repo reaches enough โญ support, the full source code will be released under the MIT license.


Built with โค๏ธ for developers who code from anywhere โ€” bed, beach, or bus.

ๅ…ณไบŽ About

๐Ÿ“ฑ Terminal in Your Pocket โ€” Control Claude Code, Codex, Gemini CLI & your Mac/Linux/Windows from any phone or browser. Vibe coding from anywhere. Alternative to MobileCLI, Claude Remote, vibe-remote, MuxAgent.
agentic-workflowai-agentclaude-codeclaude-remotecodexcoding-agentfile-managergemini-climobile-terminalremote-accessremote-desktopsshtmuxvibe-codingweb-terminal

่ฏญ่จ€ Languages

ๆไบคๆดป่ทƒๅบฆ Commit Activity

ไปฃ็ ๆไบค็ƒญๅŠ›ๅ›พ
่ฟ‡ๅŽป 52 ๅ‘จ็š„ๅผ€ๅ‘ๆดป่ทƒๅบฆ
3
Total Commits
ๅณฐๅ€ผ: 2ๆฌก/ๅ‘จ
Less
More