Live data from Hacker News

Earthstar – A database for private, distributed, offline-first applications

earthstar-project.org

21–30 of 46 posts

Re: Earthstar – A database for private, distributed, offline-first applications

#21

I believe this is superseded by the Willow protocol [0] which was posted here a while back. I tried to read about Willow, but could never make heads or tails of it [1]. It seems to be a hierarchical key value store with a bunch of extra fields for timestamps and cryptographic tokens, but it's woefully short on working examples. Even the recent Rust library [2] is effectively a bunch of abstract classes with implement…

Yeah one person open-source project says everything about the state of European tech sophistocation.

Re: Earthstar – A database for private, distributed, offline-first applications

#22

I would recommend instead jellyfin, immich, and maybe just plain sftp for all the rest. You can sync (err, become distributed) by way of git, syncthing, or rsync. What I haven't seen yet is a good self hosted identity manager, SSO sort of thing. I believe bluesky is working on one but I dont know if it will be self hostable (Freudian autocorrect: self hostage) Another thing I haven't figured out yet with my homelab/p…

Isn't this a library for building your own applications? I don't see how jellyfin etc is relevant here.

By "good" identity management I guess you mean something other than OpenLDAP or 389? Not sure how well these work with Windoze if you care about that.

Being your own CA is easy. Installing that CA in all the machines you want to is the sucky bit. It all works if you use let's encrypt.

Wireguard can let you join two LANs together over the internet but you'll probably want two wireguard capable routers on each end (like pfsense or something). Otherwise you'll have to install special routing configs on to each client machine. Forwarding avahi (for auto-discovery) over the link is something I haven't figured out yet.

Re: Earthstar – A database for private, distributed, offline-first applications

#23
post #9

I’m still annoyed I didn’t join the SQLite party until after browsers sunset support for it.

What goes around comes around, sqlite now distributes WASM builds that run in the browser: https://sqlite.org/wasm/doc/trunk/index.md

It's not the same. It's not a massive binary, but it's not tiny either.

Re: Earthstar – A database for private, distributed, offline-first applications

#26
post #9

I’m still annoyed I didn’t join the SQLite party until after browsers sunset support for it.

What did they sunset?

Web SQL, which was Chrome's implemented proposal to add SQLite to the JavaScript standard library. Chrome said they scrapped it because SQLite wasn't really intended to be used in a security environment as hostile as the web.

Mozilla did not implement it because it's not any kind of standard subset of SQL and no such subset is agreed upon while also useful. They didn't want to tie web standards, supported features in browser releases, and SQLite's release lifecycle to each other.

Re: Earthstar – A database for private, distributed, offline-first applications

#27
post #21

I believe this is superseded by the Willow protocol [0] which was posted here a while back. I tried to read about Willow, but could never make heads or tails of it [1]. It seems to be a hierarchical key value store with a bunch of extra fields for timestamps and cryptographic tokens, but it's woefully short on working examples. Even the recent Rust library [2] is effectively a bunch of abstract classes with implement…

Yeah one person open-source project says everything about the state of European tech sophistocation.

Just like how Linux and Python started out and crashed and burned and nobody ever uses them any more lol

Mate, what are you actually on about?

Re: Earthstar – A database for private, distributed, offline-first applications

#29
Honestly it kinda feels like they just reimplemented CouchDB/PouchDB....

Not that it would be a bad thing to do that, but really, for small scale stuff Couch works pretty okay. My first impressions of Earthstar do not lead me to believe they have a particular emphasis on performance at scale.

Re: Earthstar – A database for private, distributed, offline-first applications

#30
post #23

Earlier quoted context omitted.

What goes around comes around, sqlite now distributes WASM builds that run in the browser: https://sqlite.org/wasm/doc/trunk/index.md

It's not the same. It's not a massive binary, but it's not tiny either.

Compressed less than 800kB including some tests and demo code. I wouldn't want to include that on the homepage, but as part of a webapp it would be completely fine.
Post reply on HN