How to use yjs on nodejs server to receive docs changes

i want build a yjs app which can get document updates from browser (monaco editor) on nodejs server and write changes into real files (/home/project/anyfile.txt)

but i was wondering, how one can achieve this using yjs ecosystem

thanks in advanced !!

I think y-websocket server is what you are looking for y-websocket/bin at master · yjs/y-websocket · GitHub

1 Like