>_

DevTunnel

Your Terminal. Every Device. Self-Hosted.

Run one server, access it from any browser, phone, or your Mac menu bar. Self-hosted, tunnel-powered, passkey-protected. Your dev environment, everywhere.

macOS, iOS, Android, and any browser
scroll
Platforms

One Server, Every Device

Install DevTunnel on any machine and access it from everywhere. Native apps for the best experience on each platform.

DevTunnel
Running
tunnel.example.com
Uptime: 4h 23m
devtunnel.example.com
mainbuilddeploy
Connected
$ git status
On branch main
Changes not staged for commit:
  M src/server/index.ts
  M src/client/app.ts
$ npm run build
Building... ████████░░ 80%
$
mainlogs
$ ls -la
drwxr-xr-x 12 user staff 384 src/
-rw-r--r-- 1 user staff 1.2K package.json
-rw-r--r-- 1 user staff 487 tsconfig.json
$
EscTabCtrl

Any Browser

Full terminal with tabs, AI assistant, and port forwarding. Works on any modern browser.

iOS & Android

Native mobile app with custom keyboard overlay and biometric login.

macOS Menu Bar

Tray app to start, stop, and monitor your server with one click.

Account Hub

Command Center for All Your Servers

Sign in once and manage every DevTunnel instance from a single dashboard.

  • Real-time online/offline status with heartbeat monitoring
  • Sign in with GitHub or Google via OAuth
  • Health, sessions, and port forwards at a glance
  • Automatic tunnel URL resolution for instant access
Your Servers
dev-macbookmacOS3000Online
prod-vpsLinux8080Online
pi-homeLinux30002h ago
Features

Built for Developers

Everything you need to access your terminal from any device, securely and instantly.

mainbuildlogs
$ git status
M src/server/index.ts
$ npm run build

Terminal Forwarding

Full PTY terminal with multi-tab support, powered by xterm.js with WebGL acceleration and 1000-line scrollback.

ConnectedDisconnectedReattached

Session Persistence

Tmux-backed sessions survive disconnects and reboots. Reattach to running sessions from any device, right where you left off.

Cloudflare
ngrok
bore

Multiple Tunnel Providers

Choose Cloudflare, ngrok, or bore as your tunnel provider. Switch providers without changing your workflow.

Passkey Authentication

Biometric login with WebAuthn — Face ID, Touch ID, Windows Hello. Plus passphrase fallback with bcrypt.

:3000dev.example.com
:5432db.example.com

Port Forwarding

Expose local ports to the internet via Cloudflare Tunnel. Start and stop forwards with a single click.

Real-time

WebSocket-powered bidirectional communication with latency monitoring and automatic reconnection.

Secure by Default

Helmet.js headers, strict CSP, rate limiting, JWT tokens, HttpOnly cookies, and encrypted tunnels.

Server Dashboard

Manage sessions, monitor server health and uptime, control port forwards, and copy attach commands — all from a single control panel before entering the terminal.

Theme System

Catppuccin Mocha, Dracula, Nord, Solarized, and more. Synced across devices via your account.

📁 src/
📁 server/
📄 index.ts

Directory Navigation

Visual directory browser with favorites. Navigate your filesystem without typing cd commands.

$ Terminal

See It In Action

From install to connected in seconds. DevTunnel handles the tunnel, auth, and AI assistant automatically.

terminal
$ devtunnel start
[server] Starting DevTunnel on port 3000...
[tunnel] Cloudflare Tunnel connected → https://dev.yourdomain.com
[auth] Passphrase authentication ready
[ai] Claude assistant initialized
 
$ devtunnel sessions
main pts/0 active 2h 14m
build pts/1 active 45m
AI Assistant

AI-Powered Terminal Assistant

Claude analyzes your terminal context and offers intelligent assistance.

  • Error analysis with suggested fixes
  • Command generation from natural language
  • File edit proposals with diff preview
  • Session-scoped conversation memory
Why did npm install fail?
The error is caused by a missing peer dependency. Run:npm install react@^18
Run commandnpm install react@^18
Architecture

How It Works

A secure pipeline from your machine to any device, powered by your choice of tunnel provider.

Your MachineNode.js + PTY
DevTunnelExpress + WebSocket
Tunnel ProviderCloudflare / ngrok / bore
Browser
Mobile
Desktop
Any DeviceBrowser / Mobile / Desktop
Supabase HubAccount & Sync
$ Install

Get DevTunnel

Multiple ways to install. Pick your platform.

CLI

terminal
$ npm install -g devtunnel
terminal
$ brew install devtunnel

Desktop App

macOS menu bar app

Download DMG

Mobile App

iOS & Android

Coming Soon
01

Install

terminal
$ npm install -g devtunnel
02

Setup

terminal
$ devtunnel setup
03

Start

terminal
$ devtunnel start