Online code editor based on P2P and JavaScript. Demo:
P2P code editor for live coding sessions that works in the browser.
This parallel P2P universe is still very dark. Create a Star if you want to make it brighter ๐
๐ Explore the universe ยป
Online demo
ยท
Roadmap
ยท
Contribute
P2P Editor is a code editor that works in the browser which lets you share live coding sessions. See it by yourself sharing a new session:
The functionalities are limited for now, but we have a roadmap and some good first issues to make P2P Editor awesome. Take a look to the Contributing section if you want to get involved ๐.
We have removed the need of having a centralized server where all the changes get saved. The communication is done from one peer (a connected user) to the other one. By doing this we have some benefits, but we also have to take into account the added complexity:
We have a particular interest in P2P application development. You can read more in the About section.
P2P Editor building blocks:
Workflow:
git clone https://github.com/CodelyTV/p2p-editor
cd p2p-editor
cp .env.dist .env
vim .env
docker-compose up
docker-compose run p2p-editor test
That's all! All changes are instantly reflected in the connected peers editor.
Happy P2P coding!
We started this project in the context of a learning process about P2P communications in a Web environment. The purpose of P2P editor is to apply a learn by doing approach where we can share our learnings with the community while building something useful.
We're publishing all the learning resources that we found useful in the Awesome P2P repository. Feel free to check it out and add your favourite links too!
The initial implementation of P2P Editor is based on Mathias Buus work. In case you read this, thank you very much for sharing so many free (libre) resources and knowledge ๐
P2P Editor is a non profits free software supported by user contributions and CodelyTV.
How you can contribute?
good first issue
.You can get an idea of the roadmap of P2P Editor looking at the backlog and the wiki.
The MIT License (MIT). Please see License for more information.