Build A Collaborative Code Editor with React, WebRTC, and Yjs

  Рет қаралды 12,910

Cooper Codes

Cooper Codes

Күн бұрын

Пікірлер: 37
@paulthomas1052
@paulthomas1052 Жыл бұрын
Thanks - great mixture of libraries used here. Very useful app too. I'm really enjoying these Monaco developments.
@CooperCodes
@CooperCodes Жыл бұрын
Yeah I found the lack of Monaco content online surprising! Hoping these tutorials help people get started with it. Hoping to do one more monaco tutorial showing how to sync HTML / CSS to a live output (like Codepen) so that should give people a good basis on getting started :)
@ashickyogithan416
@ashickyogithan416 Жыл бұрын
same url with different browers sync is not working
@saurabh75prakash
@saurabh75prakash Жыл бұрын
Thanks, this is an awesome introduction to yjs.
@mrbanana6969
@mrbanana6969 Жыл бұрын
This only seems to work from within the same browser context. So between chrome and firefox or between incognito tabs this doesn't seem to work. Anyone else having the same problem?
@kiocode
@kiocode Жыл бұрын
yes, different ips also
@user13443fg
@user13443fg 10 ай бұрын
Yes ! Exactly, it only works on same browser with 2 or more tabs. No 2 guys are gonna COLLABORATE using the same device. It's useless.
@kiocode
@kiocode 10 ай бұрын
@@user13443fg at the end I did my own collaborative editor
@0xhhhhff
@0xhhhhff 7 ай бұрын
@@kiocode how? github please?
@CoryTheSimmons
@CoryTheSimmons 10 ай бұрын
Fastest sub of my life.
@Guitar_Dev
@Guitar_Dev 6 ай бұрын
Is it possible to have the text writen both ways ?
@jmahbubani
@jmahbubani Жыл бұрын
Can you show how to add awareness of different users' cursors? I can't get that to work with monaco react
@gustavo-dev
@gustavo-dev Жыл бұрын
Did you manage to make this work? I am about to try it on my project, if you did, can you share some code example?
@the.shivam.bhushan
@the.shivam.bhushan 8 ай бұрын
use code mirror
@durasaksham
@durasaksham 3 ай бұрын
only works on same browser. How can make it work so I can deploy on vercel
@varunrmallya5369
@varunrmallya5369 11 ай бұрын
dosent seem to work on different devices on the network and is confined only to the browser ????? how does that work ?? \
@technovikingnik
@technovikingnik 29 күн бұрын
In order for webrtc to work you need ice and turn servers, so peers can exchange their data and can know about eachother. Im familiar with technology so I know that a lot of things are abstracted form this example.
@dontignore5567
@dontignore5567 6 ай бұрын
how to store this Ydoc in MongoDB ?
@scylla4651
@scylla4651 Жыл бұрын
how can i update the content of the object monaco so, if I want to show the editor with some initial code
@Cafeino
@Cafeino Ай бұрын
const type = doc.getText("monaco"); type.insert(0, "Default text")
@null-j1r
@null-j1r Жыл бұрын
thank you kind stranger
@maskman4821
@maskman4821 Жыл бұрын
Please make an advanced app, I am very interested in Y.js, can we broadcast webcam stream and let all connected users watch the stream at the same time ??? 🤔🤔
@CooperCodes
@CooperCodes Жыл бұрын
So streaming with webcams is more of a WebRTC thing but I can definitely make a video on it! Y.js exists so it can handle operations across many different clients in a shared state. Imagine like a toggle button and 3 different people all put in a bunch ON OFF ON OFF ON OFF events right? Y.js helps us keep showing the correct value to all users even after the end of many operations. Hopefully this is a helpful example!
@maskman4821
@maskman4821 Жыл бұрын
@@CooperCodes That would be awesome, thank you in advance 🙏🙏🙏
@AlexRay1
@AlexRay1 Жыл бұрын
Using a monaco editor to build a monaco editor ♾
@sadikhossain511
@sadikhossain511 Жыл бұрын
Great video
@CooperCodes
@CooperCodes Жыл бұрын
Thanks for watching Sadik 😁
@predator5848
@predator5848 Жыл бұрын
Is there any platform that I can connect with you?
@CooperCodes
@CooperCodes Жыл бұрын
Twitter @thecoopercodes or email me direct thecoopercodes@gmail.com
@TrumanMarsh-z5b
@TrumanMarsh-z5b Ай бұрын
Andrew Course
@MatthewRachel-i7s
@MatthewRachel-i7s 2 ай бұрын
Hernandez Donna Miller David Rodriguez Shirley
@JeffreyLopez-m2k
@JeffreyLopez-m2k Ай бұрын
Thompson Maria Martinez Robert Martinez David
@CottonCamille-g9x
@CottonCamille-g9x 3 ай бұрын
Taylor Linda Robinson Mark Lee Brian
@geraldmilton9740
@geraldmilton9740 2 ай бұрын
Lewis Laura Taylor Matthew Martinez Sandra
@YoungMerle-f6v
@YoungMerle-f6v 2 ай бұрын
Gonzalez Maria Jones Paul Young Jeffrey
@MelvilleAlbert-h2j
@MelvilleAlbert-h2j 2 ай бұрын
Taylor Maria Miller Amy Lee Linda
@PaulJones-g9q
@PaulJones-g9q Ай бұрын
Gonzalez Larry Lewis Sandra Walker Matthew
Building a collaborative text editor with WebRTC and CRDTs
28:12
JavaScriptMN
Рет қаралды 15 М.
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 133 М.
One day.. 🙌
00:33
Celine Dept
Рет қаралды 59 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 108 МЛН
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 9 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 72 МЛН
React Todo list с P2P синхронизацией на Yjs и WebRTC
15:46
Евгений Паромов | Front-end
Рет қаралды 2,8 М.
NYT: Building a real-time collaborative editor with Firestore
19:27
Google Cloud Tech
Рет қаралды 11 М.
Build a Browser Code Editor in React (Monaco React Editor)
32:55
One day.. 🙌
00:33
Celine Dept
Рет қаралды 59 МЛН