Live data from Hacker News

MiniCouchDB in Rust

garrensmith.com

41–47 of 47 posts

Re: MiniCouchDB in Rust

#42
post #23
post #2

This is really cool, thanks for your work! I really love couchdb. I have seen tickets for document based ACLs on their github recently, I think this is the last feature they need to open up usage across many more domains. The core app works great for replication between dbs and to the edge using pouchdb, but almost everyone is turned off by the database-per-user that is required to use it. If they solve that I think…

This is interesting to me. One of the things that really turned me off from firebase is the rules system where you have to build an ACL there. It's been a few years since I've played heavily with it, but I really disliked trying to essentially build my authorization system into a backend which I couldn't run locally and was primarily edited in their web console. For me, writing a proxy that sits in front of couchdb i…

This is almost exactly the architecture I’m thinking about for Supabase, except using our Real-time server instead of polling. If you’re open to it, I’d love to chat to you about how you’ve implemented this? My email is in my profile

Re: MiniCouchDB in Rust

#43
post #17
post #14

The page only says “You need to enable JavaScript to run this app.” I expected some kind of live demo, so I enabled Javascript. It turned out to be a static page with text. Not even a toggle-able menu on narrow screens, just a static page. Why does it need Javascript to render a static page?

Probably so that the author can learn whatever JS framework they used. Overkill tech to learn on a personal site before a production site.

It is React based on the unminified source files that I can see.

Re: MiniCouchDB in Rust

#44
This is a very cool project and a fun read, I didn't know CouchDB 4 would be built on FoundationDB. Without trying to hijack this thread, I've been scratching my head lately looking for open source solution to offline-first, collaborative document editing on native mobile clients. The closest I can get is couchbase lite, does anyone know if something like this could be built for CouchDB? or any other solutions?

Re: MiniCouchDB in Rust

#45
post #44

This is a very cool project and a fun read, I didn't know CouchDB 4 would be built on FoundationDB. Without trying to hijack this thread, I've been scratching my head lately looking for open source solution to offline-first, collaborative document editing on native mobile clients. The closest I can get is couchbase lite, does anyone know if something like this could be built for CouchDB? or any other solutions?

https://pouchdb.com/ is a JavaScript port of CouchDB, running in the browser and capable of replicating with normal CouchDB.

Re: MiniCouchDB in Rust

#46
post #44

This is a very cool project and a fun read, I didn't know CouchDB 4 would be built on FoundationDB. Without trying to hijack this thread, I've been scratching my head lately looking for open source solution to offline-first, collaborative document editing on native mobile clients. The closest I can get is couchbase lite, does anyone know if something like this could be built for CouchDB? or any other solutions?

https://pouchdb.com/ is a JavaScript port of CouchDB, running in the browser and capable of replicating with normal CouchDB.

Thank you! I have come across it before but wasn't sure how I could run it in a native (kotlin / swift) environment. From memory it also isn't particularly well supported in React Native.

Re: MiniCouchDB in Rust

#47
post #44

This is a very cool project and a fun read, I didn't know CouchDB 4 would be built on FoundationDB. Without trying to hijack this thread, I've been scratching my head lately looking for open source solution to offline-first, collaborative document editing on native mobile clients. The closest I can get is couchbase lite, does anyone know if something like this could be built for CouchDB? or any other solutions?

I've been working with yjs, and that is probably the best option for collaborative editing at the moment. Look into it. Reach out if you have any questions.
Post reply on HN