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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Automerge-Repo: A "batteries-included" toolkit for local-first applications

219 点作者 gklitt超过 1 年前

16 条评论

pcl超过 1 年前
Cool stuff!<p>What do you suggest is the sweet spot for document size and &quot;hotness&quot;? Your cookbook [0] says &quot;We suspect that an Automerge document is best suited to being a unit of collaboration between two people or a small group.&quot; Does that mean tens of kilobytes? Hundreds? More? And how much concurrent contention is viable? And is the &quot;atom of contention&quot; the document as a whole, or do you have any plans for merging of sub-parts?<p>Also, do you have support for juggling multiple transports, either concurrently or back-to-back? In particular, I&#x27;m thinking about synchronizing via the cloud when connected, and falling back to peer-to-peer when offline. In that peer-to-peer case, how many peers can I have, and can my peer network behave as a mesh, or must it stick together to some degree?<p>And finally, it looks like your tutorial [1] doesn&#x27;t actually exist! You refer to it in a blog post [2], but it&#x27;s a dead link.<p>[0] <a href="https:&#x2F;&#x2F;automerge.org&#x2F;docs&#x2F;cookbook&#x2F;modeling-data&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;automerge.org&#x2F;docs&#x2F;cookbook&#x2F;modeling-data&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;automerge.org&#x2F;docs&#x2F;tutorial&#x2F;introduction&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;automerge.org&#x2F;docs&#x2F;tutorial&#x2F;introduction&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;automerge.org&#x2F;blog&#x2F;automerge-2&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;automerge.org&#x2F;blog&#x2F;automerge-2&#x2F;</a>
评论 #38197645 未加载
xrd超过 1 年前
If you are interested in this, check out the video from StrangeLoop 2023:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Mr0a5KyD6BU">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Mr0a5KyD6BU</a><p>Also, check out the unconf for localfirst that happened right after 2023:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;LoFiUnconf&#x2F;stlouis2023">https:&#x2F;&#x2F;github.com&#x2F;LoFiUnconf&#x2F;stlouis2023</a><p>Ink &amp; Switch is doing such interesting stuff. Their after party at StrangeLoop was so cool.
评论 #38196218 未加载
satvikpendem超过 1 年前
Nice, I use automerge with Rust via autosurgeon [0] which is their Rust wrapper, but looks like it hasn&#x27;t been updated recently, any updates on that? I&#x27;m guessing with a small team that web support is taking priority right now, as I&#x27;m running this on my Rust client (technically Flutter but via the FFI package flutter_rust_bridge [1]) and server (via the Axum web server crate).<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;automerge&#x2F;autosurgeon">https:&#x2F;&#x2F;github.com&#x2F;automerge&#x2F;autosurgeon</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;fzyzcjy&#x2F;flutter_rust_bridge">https:&#x2F;&#x2F;github.com&#x2F;fzyzcjy&#x2F;flutter_rust_bridge</a>
评论 #38196817 未加载
caelinsutch超过 1 年前
Curious how you think about this compared to Electric SQL [1] - I&#x27;m currently deciding what sync solution we&#x27;re going to use for a product rebuild and have been looking at quite a few<p>[1] <a href="https:&#x2F;&#x2F;electric-sql.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;electric-sql.com&#x2F;</a>
scotttrinh超过 1 年前
Super excited to see Automerge getting this high-level API out. Been following since before 1.0 and I can&#x27;t wait to play around with the latest incarnation! Congrats to the Automerge team.
评论 #38195584 未加载
zyang超过 1 年前
Last time I looked into CRDT, automerge was not as fast&#x2F;efficient as yjs, but the team was actively improving the algorithm. Is there any benchmark to show the progress.
评论 #38196211 未加载
digitalsanctum超过 1 年前
This is exciting in several ways including the fact that Martin Kleppmann is involved with the project. Filed at the top of my reading list if nothing else to see an undoubtedly good example of a complex Rust project.
评论 #38202419 未加载
anglinb超过 1 年前
This is super powerful, been playing around with the previous releases for the past few days. It works really well, but still needs a few dx tweaks to make it performant for large applications. You have to watch the callbacks yourself to update slices of state and unless your app is small enough that the whole thing can re-render every update.<p>That being said, I love everything automerge is doing and hope this pace will keep up!
zby超过 1 年前
So is it like <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Google_Wave" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Google_Wave</a> - but with limited scope and with new algos and finally usable?
评论 #38202423 未加载
bomewish超过 1 年前
Seems we have a really great technical spec — but aren’t y’all gonna build a product on it and let us pay you to use? A google docs for markdown&#x2F;quarto documents would be brilliant but apparently does not yet exist…
评论 #38197476 未加载
GeneralMaximus超过 1 年前
Would Automerge be a good choice for a non-realtime single-user app that just needs to have reliable offline support?<p>E.g a personal note-taking app where the user will never have any collaborators, but where they expect the app to work fully offline on multiple devices and reliably sync up when they come online.
评论 #38202504 未加载
idosh超过 1 年前
How is it compared replicache, watermelondb and the rest?
parhamn超过 1 年前
Anyone have any info on who is behind this project, how reliable it is (will it be around in 2 years), etc? Considering using it for one of my projects.
评论 #38197743 未加载
评论 #38197750 未加载
评论 #38199700 未加载
davgoldin超过 1 年前
Congrats! Many moons ago the lack of undo&#x2F;redo was the main blocker. Has this been added?
评论 #38202405 未加载
coding123超过 1 年前
It sounds like ms word saving to onedrive
benatkin超过 1 年前
By calling it &quot;repos&quot;, they&#x27;re trying to capitalize on the popularity of VCS repositories, but these don&#x27;t have their history implicitly tracked the way Automerge does, just explicitly tracked by committing and pushing.<p>I think it&#x27;s cool, but I still see CRDTs as very niche.<p>I also want &quot;local-first&quot; but what I really want is something closer to how traditional desktop apps just open up, edit, and save files, not some real time collaboration that is already set up before I add my first collaborator.