Nuh's avatar
Nuh 1 week ago
No it is wrong fundamentally, if you were not invested in Nostr and someone asked you to build a backend to a note taking app, you might choose something like LMDB locally or WebDAV remotely etc.. you won't choose individual JSONs with set reconciliation. I assume of course. Events with set reconciliation has always been the tradeoff you make when you want to avoid a source of truth or a lock on write, but it is not clear you need that for your use case. Maybe you do need it what do I know.

Replies (1)

my plan is to build something like a git diff representation for replaceable notes. Efficient deltas, branching and merging. I think CRDT style things might be nice in this representation. Worse case is just branching. And it would have a canonical representation for all note kinds which is cool