Our great sponsors
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.
Show HN: Nostr-CRDT – real-time collaborative apps over Nostr
2 projects | news.ycombinator.com | 8 Feb 2023
Nostr-CRDT is an experimental project that connects Yjs  (a proven, high performance CRDT) with Nostr .
I wanted to learn about the Nostr protocol and see if it'd be possible to send updates to state (e.g.: edits of a rich text document, updates to a todo list) over Nostr.
Nostr describes itself as "The simplest open protocol that is able to create a censorship-resistant global "social" network once and for all.".
I like the idea of a decentralized social network, but what if we can decentralize more kinds of apps and create decentralized, local-first collaborative applications? I've been exploring this area for a while and earlier shared a Show HN post that does this over Matrix .
There's still lots to figure out, but imo it's a very exciting and rapidly developing space - looking fwd to your thoughts already!
PS: for an instant demo you can open this link and click the green button to load the doc and connect over Nostr (using a new anonymous account): https://nostr-crdt-yousefed.vercel.app/#room=6d749539e1dd9ef...
Hindsight is a free and open-source retrospective board
No back-end. Data is shared via WebRTC directly between connected browsers. I'm using Yjs to help me with that.
Show HN: Hindsight is a free and open-source retrospective board
3 projects | news.ycombinator.com | 7 Jan 2023
3 projects | reddit.com/r/neoliberal | 16 Dec 2022
Show HN: Pg_CRDT – an experimental CRDT extension for Postgres
4 projects | news.ycombinator.com | 10 Dec 2022
CRDTs: A Beginner's overview for building a collaborative app
2 projects | dev.to | 3 Dec 2022
CRDTs make multiplayer text editing part of Zed's DNA
10 projects | news.ycombinator.com | 1 Dec 2022
Yjs is being quite heavily used in the industry, and being researched for even more companies. There are also demos showing how to integrate it with an existing rich text editors. If you have some ideas about the missing parts, you could also open topic on discuss.yjs.dev - the documentation page (https://docs.yjs.dev) has tons of useful links.
Re. other purpose projects - Yjs/Yrs main target are sequential data structures (text, arrays), but it also has support for maps and xml-like elements. In general you can build most data structures with it. I agree that it would be nice to have some other applications in demos though.
Evan Wallace CRDT Algorithms
5 projects | news.ycombinator.com | 27 Nov 2022
Anyone unsure of what a CRDT is, this is the perfect intro: https://www.inkandswitch.com/peritext/
The two most widely used CRDT implementations (combining JSON like general purpose types and rich text editing types) are:
- Automerge https://github.com/automerge/automerge
Maintaining Referential Integrity During Insertions And Deletions
Show HN: Yboard is a multiplayer desktop-like workspace based on CRDT
4 projects | news.ycombinator.com | 27 Jun 2022
I've always been curious about real-time multiplayer user interfaces.
When I found out about CRDTs and Yjs I thought they could serve as a solid base for a project like that.
So I built this pretty simple desktop-like UI (heavily inspired by lifeat.io) and used Yjs to replicate the whole UI state among multiple peers, creating the experience of a unique interface.
Try online: https://yboard.lol
Kanban board in one HTML using localstorage
10 projects | news.ycombinator.com | 15 Feb 2021
I figured I'd have a shot at making one of these: https://github.com/dreadnip/kanban
I don't need board/list management so I made simplified version with a fixed HTML structure, only the notes are dynamic. Also uses localStorage, browser drag & drop and single file without dependencies. Pretty fun exercise in building small single page applications with just JS. Thanks for the idea OP!
What are some alternatives?
automerge - A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
liveblocks - Liveblocks is a real-time collaboration infrastructure for developers.
automerge-rs - Rust implementation of automerge [Moved to: https://github.com/automerge/automerge]
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
crdt-woot - Implementation of collaborative editing algorithm CRDT WOOT.
milkdown - 🍼 Plugin driven WYSIWYG markdown editor framework.
pacman-backup - :floppy_disk: Pacman Backup tool for off-the-grid updates via portable USB sticks or (mesh) LAN networks.
MobX - Simple, scalable state management.
Visual Studio Code - Visual Studio Code
cardi - A full-featured, static-generated PWA for notes stored in privately owned DynamoDB tables
awesome-react-state-management - ⚛️ ・React state management tools and libraries