https://github.com/WICG/local-peer-to-peer
↔️ Proposal for local communication between browsers without the aid of a server.
https://github.com/WICG/local-peer-to-peer
Last synced: 9 months ago
JSON representation
↔️ Proposal for local communication between browsers without the aid of a server.
- Host: GitHub
- URL: https://github.com/WICG/local-peer-to-peer
- Owner: WICG
- License: other
- Created: 2023-04-06T03:09:28.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-27T13:30:19.000Z (about 1 year ago)
- Last Synced: 2025-05-29T19:56:47.673Z (about 1 year ago)
- Language: Bikeshed
- Homepage: https://wicg.github.io/local-peer-to-peer/
- Size: 2.66 MB
- Stars: 121
- Watchers: 32
- Forks: 8
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: security-privacy-questionnaire.md
Awesome Lists containing this project
- awesome - WICG/local-peer-to-peer - ↔️ Proposal for local communication between browsers without the aid of a server. (Bikeshed)
README
# Local Peer-to-Peer API
[Local Peer-to-Peer](https://WICG.github.io/local-peer-to-peer/) is a Web platform API proposal for local communication between browsers without the aid of a server.
```js
const conn = await new LP2PRequest(options).start();
const channel = conn.createDataChannel("chat");
channel.onopen = (event) => {
channel.send("Hi you!");
};
```
For a more in-dept overview of the proposal, please see the [Explainer](EXPLAINER.md).
## Status
This specification is a work in progress.
## Links
- [Explainer](EXPLAINER.md)
- [Specification](https://WICG.github.io/local-peer-to-peer/)
- [One-Pager](./images/onepager.svg) ([PDF](./images/Local%20Peer-to-Peer%20API%20-%20One-Pager.pdf))
## Feedback
We welcome feedback via the [issue tracker](https://github.com/WICG/local-peer-to-peer/issues) of this GitHub repo. [Contributions](CONTRIBUTING.md) are welcome via pull requests too.