Use this skill when:
Do NOT use this skill when:
bash
pip install aitun
Or install via one-line script (Linux/macOS):
bash
curl -fsSL https://aitun.cc/install.sh | bash
Windows (PowerShell):
powershell
irm https://aitun.cc/install.ps1 | iex
Or verify it is already installed:
bash
which aitun
Choose and start a collaboration tool. Here are common options:
bash
# Option A: Code-server (VS Code in browser) for pair programming
# Install: curl -fsSL https://code-server.dev/install.sh | sh
code-server --bind-addr 0.0.0.0:8080 --auth none &
COLLAB_PID=$!
# Option B: Hedgedoc / Etherpad-like tool for document collaboration
# (install per project instructions, then start on port 8080)
# Option C: Simple shared notepad (Python)
pip install collaborative-notepad
collaborative-notepad --port 8080 &
COLLAB_PID=$!
# Option D: Whiteboard (excalidraw self-hosted or similar)
npx excalidraw-room --port 8080 &
COLLAB_PID=$!
Expose the collaboration server to the internet:
bash
aitun -p 8080 &
AITUN_PID=$!
sleep 3
The output will contain the public URL, e.g.:
https://aitun.cc/abc123Send the link to the user so they can join:
text
Let's work on this together! Open the shared editor:
https://aitun.cc/abc123
I can see your changes in real time, and you can see mine.
This session is active while we're working.
When the collaboration session is over, stop the servers:
bash
kill $AITUN_PID 2>/dev/null
kill $COLLAB_PID 2>/dev/null
The aitun command (installed via pip install aitun, or alternatively curl -fsSL https://aitun.cc/install.sh | bash / irm https://aitun.cc/install.ps1 | iex on Windows) accepts these flags:
FlagDescription-p PORTLocal HTTP service port (optional; omit for TCP-only mode with --tcp-ports)-k TOKENAuth token for registered subdomain (omit for free tunnel)--host HOSTLocal service address (default: localhost)--tcp-ports PORTSTCP forwarding ports, comma-separated (e.g., 22,3306; requires -k). Use without -p for TCP-only mode--p2pEnable P2P direct connection (default: enabled)--no-p2pDisable P2P, force server relay mode--daemonRun as background daemon--stopStop running daemon
aitun.cc/abc123), NOT subdomains