@monopi/web-remote
v0.6.0
Published
Pi extension: /remote command for sharing sessions via web UI.
Downloads
124
Maintainers
Readme
@monopi/web-remote
Share your pi session through a browser — for code reviews, pair programming, or demos.
Why use this?
Sometimes you want someone else to see what pi is doing in real time:
- Code review: Share your session so a colleague can watch pi work through your code
- Pair programming: Let someone follow along as you prompt pi through a design session
- Demos: Show stakeholders your AI-assisted workflow without them installing anything
/remote spins up a web server that streams your current pi session to any browser.
Installation
pi install npm:@monopi/web-remoteThis is installed by default with
npx @monopi/monopi.
Usage
/remote # Start sharing. Shows the URL to share.
/remote status # Check if sharing is active and how many are connected
/remote stop # Stop sharing the sessionTypical flow
- Type
/remotein pi - Pi starts a web server and shows a URL like
http://localhost:3000or a tunnel URL - Share that URL with whoever needs to see
- They open it in a browser and see your pi session updating in real time
- When done, type
/remote stop
You: /remote
monopi: Remote session active at http://localhost:3000
Share this URL with collaborators.
Type /remote stop to end sharing.
You: /remote stop
monopi: Remote session stopped.What the web UI shows
The browser view mirrors your pi session:
- Current conversation history
- Tool calls and results as they happen
- Live status updates
- Tokens and cost information
Security
- By default the server binds to
localhostonly - For remote access, pair with
@monopi/remote-tailscalefor HTTPS over Tailscale tunnels - No data is stored on disk — the session streams live
Related packages
| Package | Purpose |
| -------------------------- | ---------------------------------------------------------- |
| @monopi/web-server | The embeddable HTTP + WebSocket server this extension uses |
| @monopi/web-client | TypeScript client library for building custom remote UIs |
| @monopi/remote-tailscale | Secure remote sharing via Tailscale HTTPS with QR codes |
Notes
- This package ships raw TypeScript — pi loads it directly, no build step needed
- Only one remote session can be active at a time
- Works with
@monopi/remote-tailscalefor accessing over the internet with TLS
