#yjs — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #yjs, aggregated by home.social.
-
🎭🤦♂️ "Lies I was Told About Collaborative Editing" Part 2: Why we don’t use #Yjs - because apparently, when it comes to offline editing, Yjs is about as useful as a chocolate teapot 🍫☕. Brace yourselves for groundbreaking revelations that #algorithms might not be perfect 👀.
https://www.moment.dev/blog/lies-i-was-told-pt-2 #LiesAboutCollaborativeEditing #OfflineEditing #ChocolateTeapot #GroundbreakingRevelations #HackerNews #ngated -
Lies I was told about collaborative editing, Part 2: Why we don't use Yjs
https://www.moment.dev/blog/lies-i-was-told-pt-2
#HackerNews #LiesCollaborativeEditing #Yjs #Part2 #TechDebate #MomentDev
-
Секреты работы онлайн-редакторов: что происходит при совместном редактировании? Yjs, CRDT, и другие магические слова
Представьте: вы и коллега в разных уголках планеты, но курсоры ваши встречаются в документа онлайн редактора. Вы одновременно вставляете слова в одну и ту же позицию или удаляете фрагмент текста, который ваш коллега в этот момент редактирует. Казалось бы, результат должен превратиться в хаос, но всё складывается в единую, логичную версию текста — несмотря на расстояния, задержки и одновременные правки. При этом вы даже не ждете, пока ваши изменения согласуются с общим состоянием на сервере. Просто редактируете документ и можете быть уверены в том, что ваши изменения применятся. На деле за этим волшебством часто скрываются CRDT — структуры данных, делающие возможной децентрализованную синхронизацию. Я сам столкнулся с этим, когда работал над онлайн-совместным редактором: CRDT и библиотека Yjs буквально спасли мой проект от хаоса и сделали синхронизацию прозрачной. Меня зовут Никита Лыкосов, я занимаюсь фронтенд-разработкой в
https://habr.com/ru/companies/doubletapp/articles/921994/
#GCounter #CRDT #Yjs #wysiwyg #wysiwygредактор #коллаборатиныйредактор #колллаборативные_редакторы_текста
-
Docs: Real-time collaborative note-taking system, with off-line mode.
Built on top of #Django #NextJS #Yjs (CRDTs) #MinIO #BlockNoteJS. Easy to self-host, MIT license. Joint effort of the French and German governments.
https://docs.numerique.gouv.fr/
https://github.com/suitenumerique/docs
/via @alexlunaview
-
WebRTC debugging.
I spent hours debugging and now need to share the solution with the world.
Tried to establish a #WebRTC-based #p2p connection (using #yjs and y-webrtc) in a LAN behind NAT, but ICE failed. Neither STUN nor TURN seemed to help, nor did a local #Coturn or local signaling server.
The solution was to force TURN through TCP, i.e. using something like this as TURN id:
turn:ADDR:PORT?transport=tcp
Kudos for the final hint and other debugging pointers:
-
🚀🪄⛧ Sigil Séance Against Space Billionaires
Institute collaboration with Lucile Olympe Haute📄 Full paper from the Radical Futures conference is now available: https://sigil-seance.diagram.institute/radical-futures-2024/
TLDR: We made a collaborative web-app to launch curses at space billionaires using chaos magick sigils. A dangerous but necessary measure to take as protection ritual for the Earth.
-
I am blown away by the advances in open source around collaborative editing. Projects like Yjs are game changers. https://blog.kevinjahns.de/are-crdts-suitable-for-shared-editing/
-
🔗 Check out valtio-yjs, the bridge between valtio and Yjs! 🌉💡 Simplify your usage of Yjs with valtio's easy-to-use proxy state library for #ReactJS and #VanillaJS. With valtio-yjs, a valtio proxied object can be used just like a regular JavaScript object, making collaboration with Yjs seamless. Find it here: https://github.com/dai-shi/valtio-yjs #JavaScript #TypeScript #Collaboration #ProxyStateLibrary #valtiojs #CRDT #Yjs
-
📦 Discover Yjs, an impressive collaborative editing framework! 🤝📝 Yjs enables real-time collaboration on shared documents and data structures across multiple users. Whether you're building a collaborative text editor or a collaborative whiteboard, Yjs has got you covered! 🚀🔧
Check it out on GitHub: https://github.com/yjs/yjs
#CollaborativeEditing #RealTimeCollaboration #OpenSource #yjs #CRDT #webdev
-
frustrated because SyncedStore (https://syncedstore.org/docs/) (a layer of reactivity on top of Y.js) breaks basic JavaScript semantics and things break in weird ways: https://nulo.ar/SyncedStore.html (and more that i haven't documented there)
-
Makes me wonder if a similar approach of leveraging #yjs doc and #automerge would work in case of https://github.com/nimmen/crdt-sqlite which is a vaguely similar sort of thing, for sqlite (at least one big difference being that the kinds of CRDTs supported by yjs are far more powerful). I imagine the wasm compilation mode might not be workable / attractive to build this way.
-
pg_crdt from #supabase integrates #yjs and #automerge in a Postgres extension to implement #crdt based syncing at the DB level.
Indirectly, the fact you have the flexibility to stick extensions like this in a Supabase application and it works at all cleanly with the pre-existing Realtime feature is a pretty good sign re: its design as far as flexibility. -
@Anarcat @zacchiro @douardda @olasd
Collaboration experience improved quite a bit within the last two years in #Nextcloud Text. I think it's definitely worth another try for Tor meetings. And maybe even #Collectives would be something worth trying there 😉The sync delay is still higher than with Etherpad, but it's actively being worked on. With this improvement (probably to be released with Nextcloud 26) it will be close to the Etherpad experience: https://github.com/nextcloud/text/pull/2971 #yjs
-
[[Silver Bullet]], a backlink enabled #opensource #ToolsForThought app https://silverbullet.md/
#TypeScript, #React, uses #CodeMirror as editing interface, #Markdown native, supports Jekyll-style front matter for custom attributes.
Experimental “Google Doc style” real time collab using #Yjs and a central #WebSocket server.
via @walkah