TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

310 点作者 kristianpaul3 个月前

13 条评论

__MatrixMan__3 个月前
Looks a bit like nostr except:<p>- data is named, not content addressed (to support overwrite &amp; deletion), so the primitive data type is associative arrays of names to documents instead of sets of messages<p>- documents are grouped into &quot;shares&quot; and you have to know the &quot;share address&quot; before the server will acknowledge that it indeed has documents in that share.<p>Seems like an interesting approach: part way private, part way open. It think projects like this which pick an extreme on that axis end up suffering for it--which is most of them.<p>I bet it would succeed at keeping the spammers and scammers out, but I&#x27;d be leery of using it with a large group against a motivated adversary--if a single user exposes the share address (which is in a gray area between public and private) it seems like all of the users of that share are exposed. I&#x27;d prefer to see a web of trust so that an adversary has to compromise each hop on the trust graph before they find their target--but that&#x27;s a lot of complexity for users to handle so I can see why keeping it simple might be worth tolerating the lack of granularity.<p>I certainly hope that something like this succeeds. It feels like we&#x27;ve lost the web and there are too many of us to coordinate en masse without something web-like--and at a time where that coordination is pretty important.
评论 #42904106 未加载
Havoc3 个月前
Not entirely following what this is?<p>A document and media database of some sort with lots of JavaScript involved somehow? Aimed at something vaguely self-host-ish? With mastodon-ish replication to peer nodes?<p>Seems like there is an ambitious grand vision happening here of sorts but not quite seeing it.
评论 #42900617 未加载
评论 #42894836 未加载
评论 #42899624 未加载
brendanyounger3 个月前
I believe this is superseded by the Willow protocol [0] which was posted here a while back.<p>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&#x27;s woefully short on working examples. Even the recent Rust library [2] is effectively a bunch of abstract classes with implementations that just throw errors.<p>I could make a quip about the state of European tech sophistication, but I&#x27;ll let it pass with a polite smile.<p>[0] <a href="https:&#x2F;&#x2F;willowprotocol.org&#x2F;earthstar&#x2F;spec&#x2F;" rel="nofollow">https:&#x2F;&#x2F;willowprotocol.org&#x2F;earthstar&#x2F;spec&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;willowprotocol.org&#x2F;specs&#x2F;data-model&#x2F;index.html#data_model" rel="nofollow">https:&#x2F;&#x2F;willowprotocol.org&#x2F;specs&#x2F;data-model&#x2F;index.html#data_...</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;earthstar-project&#x2F;willow-rs&#x2F;tree&#x2F;main">https:&#x2F;&#x2F;github.com&#x2F;earthstar-project&#x2F;willow-rs&#x2F;tree&#x2F;main</a>
评论 #42894993 未加载
评论 #42896818 未加载
评论 #42907929 未加载
评论 #42901240 未加载
评论 #42897207 未加载
评论 #42895512 未加载
qwertox3 个月前
Does a Python client exist? The only thing I see in the docs which is related to Python is<p><pre><code> # Earthstar timestamps in python timestamp = int(time.time() * 1000 * 1000)</code></pre>
jazzyjackson3 个月前
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.<p>What I haven&#x27;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)<p>Another thing I haven&#x27;t figured out yet with my homelab&#x2F;private cloud is how to be my own CA and manage access to my machine without teaching my counterparties ssh. I want something like NordVPN offers in their meshnet: anyone logged into the family plan can see each other&#x27;s machines as if they were local network. Can wireguard accomplish this? I think this is what yggdrasil is too but haven&#x27;t dug into it.
评论 #42897251 未加载
评论 #42896929 未加载
hinkley3 个月前
I’m still annoyed I didn’t join the SQLite party until after browsers sunset support for it.
评论 #42896876 未加载
评论 #42897349 未加载
randomcatuser3 个月前
I think this will really benefit from blog posts!! (ie, why did we design it like this?&#x2F;what were the alternatives?)<p>At a first glance, it sounds <i>interesting</i> though! identities being keypairs, files, content that is accessible via name...
canadiantim3 个月前
Any possibility of implementation in different languages like Python? I like everything about this except that it&#x27;s Javascript and I&#x27;m still cautious about using javascript for something like this
评论 #42895493 未加载
mrbluecoat3 个月前
&gt; Always self-hosted. Servers optional. No blockchain. No tokens. Free forever, in every sense.<p>Best thesis statement ever.
ofrzeta3 个月前
[wrong thread, sorry]
评论 #42896670 未加载
jlkuester73 个月前
Honestly it kinda feels like they just reimplemented CouchDB&#x2F;PouchDB....<p>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.
gwbas1c3 个月前
What applications run on top of this?<p>Without some seed applications, it&#x27;s hard to know if this actually works, or is just mental gymnastics.
kapad3 个月前
JAWA = Just Another Web3 App