A peer-to-peer and open source alternative to Live Share. This VSCode extension enables real-time collaborative editing, and...
You can install this extension by searching "P2P Live Share" in the extension panel of VSCode or Cursor. To start sharing, click the "Share" button in the P2P Live Share panel, which you can find on the Activity Bar.
No Account RequiredYou won't need to sign in any account to use it. You can also improve it's security and connectivity by self-hosting a relay server. By default, it uses public signaling servers listed by trystero. VSCode Web SupportThis extension also works in VSCode Web. You can join a session on your browser after installing the extension, and enjoy the same collaborative editing features, terminals and language service provided by the host. ConnectivitySecure Peer-to-Peer ConnectionsPowered by trystero, P2P Live Share establishes direct connections between peers using WebRTC. Self HostingBesides Peer-to-Peer connections, you can also self-host a WebSocket relay server to improve connectivity.
Or you can run the pre-built binary ws-server. Tencent Cloud Serverless对于中国用户,若需自行部署,目前作者找到的较好方案是腾讯云的 Serverless 云函数:
腾讯云 Serverless 云函数部署步骤部署步骤:
DisclaimerThis 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 a official product, Live Share has access to VSCode Proposed APIs, which enables 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 |

