VS Code collaboration extension - a peer-to-peer and open-source alternative to Live Share.
TypeScript
307
117 commits
updated Aug 28, 2026

A peer-to-peer and open-source alternative to Live Share.
This VS Code extension enables real-time collaborative editing, and...
To start sharing, install the extension, then click Share in the P2P Live Share panel on the activity bar. No account or sign-in required. Beyond trystero's public signaling servers, you can self-host a relay server for better security and connectivity.

Powered by trystero, P2P Live Share establishes direct connections between peers using WebRTC. You can choose "trystero:mqtt" (preferred) or "trystero:nostr" when sharing to leverage the public signaling servers. Your data is encrypted end-to-end with the invitation link.
Besides Peer-to-Peer connections, you can also self-host a WebSocket relay server to improve connectivity.
bunx p2p-live-share-ws-server@latest
# Supports --port and --hostname options
Or you can run the pre-built binary ws-server.
The host can directly listen for incoming WebSocket connections without a relay server. This is useful when the guests can directly connect to the host. You can enable this by choosing "Host Locally" and selecting a network interface when sharing.
对于中国用户,若需自行部署,目前作者找到的较好方案是腾讯云的 Serverless 云函数:
部署步骤:
打开腾讯云 Serverless 云函数(不是 Serverless Container)
新建函数,选择以下配置:
部署完成后,进入“函数 URL”栏目,复制公网访问的 wss:// 地址。在 VS Code 中点击 Share 后,填入该地址即可。
This project is released under the MIT License. It is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.
This project is not intended to replace Live Share, but to provide a free and open-source alternative for users who need it. As an official product, Live Share has access to VS Code Proposed APIs, which enable more advanced features such as sharing any opened terminals.
This project is not stable yet. Please make sure to only share non-sensitive files. The author is not responsible for any data loss or leakage.
Part of the code under the src/terminal/pty folder is adapted from VS Code.
TypeScript
96.3%
Go
2.4%
VS Code collaboration extension - a peer-to-peer and open-source alternative to Live Share.
TypeScript
307
117 commits
updated Aug 28, 2026

A peer-to-peer and open-source alternative to Live Share.
This VS Code extension enables real-time collaborative editing, and...
To start sharing, install the extension, then click Share in the P2P Live Share panel on the activity bar. No account or sign-in required. Beyond trystero's public signaling servers, you can self-host a relay server for better security and connectivity.

Powered by trystero, P2P Live Share establishes direct connections between peers using WebRTC. You can choose "trystero:mqtt" (preferred) or "trystero:nostr" when sharing to leverage the public signaling servers. Your data is encrypted end-to-end with the invitation link.
Besides Peer-to-Peer connections, you can also self-host a WebSocket relay server to improve connectivity.
bunx p2p-live-share-ws-server@latest
# Supports --port and --hostname options
Or you can run the pre-built binary ws-server.
The host can directly listen for incoming WebSocket connections without a relay server. This is useful when the guests can directly connect to the host. You can enable this by choosing "Host Locally" and selecting a network interface when sharing.
对于中国用户,若需自行部署,目前作者找到的较好方案是腾讯云的 Serverless 云函数:
部署步骤:
打开腾讯云 Serverless 云函数(不是 Serverless Container)
新建函数,选择以下配置:
部署完成后,进入“函数 URL”栏目,复制公网访问的 wss:// 地址。在 VS Code 中点击 Share 后,填入该地址即可。
This project is released under the MIT License. It is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.
This project is not intended to replace Live Share, but to provide a free and open-source alternative for users who need it. As an official product, Live Share has access to VS Code Proposed APIs, which enable more advanced features such as sharing any opened terminals.
This project is not stable yet. Please make sure to only share non-sensitive files. The author is not responsible for any data loss or leakage.
Part of the code under the src/terminal/pty folder is adapted from VS Code.
TypeScript
96.3%
Go
2.4%