collaborative text editor using CRDT AND using peer to peer connection
First step,
npm install
Second step Go to src/App.js
change this part
const provider = new WebrtcProvider("test-room", ydoc, {
signaling: ["wss://y-signaling-server.herokuapp.com/"],
filterBcConns: false,
});
CHANGE LIKE THIS
const provider = new WebrtcProvider("test-room", ydoc, {
filterBcConns: false,
});
Third step,
npm start
PLEASE OPEN IN CHROME or FIREFOX!!!
Open two browsers or anther tab using URL
It's done!!!
!!!!! IMPORTANT: if you visit the demo sites please use another network to check its works(e.g. computer: wifi, mobile device: 3G, 4G, 5G and so on...) Visit: https://y-main.herokuapp.com/ Don't write Personal information because demo only have one room so, everyon in the demo room can see your information
- Only one room is available
- if you run locally, it works only on your computer
- you can't access with mobile device (Because It's not implemented yet)