svelt-yjs
hyperhyperspace-core
svelt-yjs | hyperhyperspace-core | |
---|---|---|
2 | 11 | |
90 | 211 | |
- | 0.9% | |
2.7 | 3.6 | |
about 1 year ago | 7 months ago | |
Svelte | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svelt-yjs
-
Is Svelte capable of a Google Docs & Sheets clone?
There are also some great implementations based on Yjs like this one svelt-yjs I prefer Yjs to automerge
-
The data model behind Notion's flexibility
Excited to check this out!!
I’ve got experience with this stuff, count me in! Check out svelt-yjs[0]. It makes complex CRDT apps trivial. Websockets or P2P WebRTC in a few lines. I’ve got a live collab Svelte REPL using Monaco almost complete. It uses Postgres via Supabase for auth / row level security / saving and sharing Apps you make.
Heck, plug yjs into this Svelte based notion style block editor[1] and you’re more than halfway done in an evening.
[0] https://github.com/relm-us/svelt-yjs
hyperhyperspace-core
- Hyper Hyper Space: Make all data local
- Ask HN: What Are You Working on This Year?
- HyperHyperSpace – Make all data local. Communicate only through data sync
- Thin Platforms
-
I was wrong. CRDTs are the future
Not all CRDT libraries focus on text editing. For example, I'm working on a Byzantine fault tolerant general-purpose data sync library loosely based on CRDTs: https://www.hyperhyperspace.org
I'm finding it painfully difficult but it is evolving steadily.
-
AWS is playing chess, Cloudflare is playing Go
I'm thinking there's an interesting parallel between my browser-based p2p project [1] and cloudflare workers / DurableObjects. Instead of DurableObjects, we got HashedObjects [2], and instead of workers running on an edge network somewhere, we got in-browser p2p nodes running a browser-to-browser mesh network.
[1] Hyper Hyper Space: https://www.hyperhyperspace.org
-
The Future Needs Files
I agree with the author on the merits of the file abstraction, but I think the concept should be updated for networked devices. We need file formats that support both offline usage and seamless sync over the network.
For example, here I use a merkle DAG-based file format to represent CRDT-like types:
https://www.hyperhyperspace.org
The resulting abstraction can be universally looked up using a hash (or short sequence of words), can be modified offline and synchronized flawlessly. It's still WIP (for example, you still can't export it to an actual file, hehe).
-
The data model behind Notion's flexibility
> I've been kicking around the idea of writing a CRDT-based editor using this model.
I got around to creating a data layer (p2p, browser-based, CRDT-backed) for something like this:
https://github.com/hyperhyperspace/hyperhyperspace-core
I'd be interested in collaborating on your editor
-
The Web’s Missing Interoperability
I'm working on it, Ben [1].
Believe me, it is not easy thing to do.
[1] https://github.com/hyperhyperspace/hyperhyperspace-core
-
Solid Project: All of your data, under your control
Look at Hyper Hyper Space!
https://github.com/hyperhyperspace/hyperhyperspace-core
Its goals are similar, the approach is more pragmatic (p2p data layer using standard web browsers and webrtc).
What are some alternatives?
threlte - 3D framework for Svelte
webmonetization - Proposed Web Monetization standard
plastic-editor - A block-based editor
solid - Solid - Re-decentralizing the web (project directory)