termshare

Share your terminal in real-time. Start a session, scan the QR code, and let others view or control your terminal from any browser.

No installation for viewers
Works on mobile
Secure with code verification
Terminal
$ npx termshare
termshare - Starting session...
Scan QR code or visit: https://termshare.fly.dev/s/abc123
Verification code: 847291
Waiting for viewer to connect...
$

How It Works

Share your terminal in three simple steps. No complex setup required.

1

Start a Session

Run npx termshare in your terminal. A QR code and unique link will be generated instantly.

2

Share the Code

Share the link or let others scan the QR code. They'll need the 6-digit verification code to connect.

3

Collaborate

Once connected, viewers see your terminal in real-time and can even type commands if you allow it.

Installation

Get started in seconds. Choose your preferred method.

Quick Start (npx)

No installation required. Run directly with npx:

npx termshare

Global Install (npm)

Install globally for faster startup:

# Install globally npm install -g termshare # Then run termshare

Self-Hosted Server

Run your own relay server:

# Clone the repo git clone https://github.com/IagoCavalcante/termshare # Start the server cd termshare && bun run dev:server

Use Cases

termshare is perfect for developers who need to share their terminal quickly.

👥

Pair Programming

Debug together in real-time. Share your terminal and let your colleague help directly.

🎓

Teaching & Demos

Show your students or audience exactly what you're doing in the terminal.

🐛

Remote Debugging

Share error logs and debugging sessions with team members anywhere.

🤖

AI Assistants

Let AI tools like Claude Code see your terminal output in real-time.

📱

Mobile Access

Check on long-running processes from your phone while away from your desk.

🔒

Secure Sharing

6-digit verification codes ensure only authorized viewers can connect.