Opbox
CRDT based sync for text files on disk
Details
- External ID
- 48778607
- Source
- HN
- Company
- —
- Product
- Opbox
- Website domain
- opbox.dev
- Launched
- July 3, 2026
- Cohort
- —
- Upvotes
- 11
- Upvotes percentile
- 0.5764635603345281
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Hi! I’m one of the founders of s2.dev, and recently have been hacking on opbox, which is an open-source daemon that turns directories of text files (code, markdown, etc) into collaborative, multi-player workspaces.This started as a bit of an intellectual curiosity, to see if it was possible to do real-time sync at the filesystem level (i.e., in an editor-agnostic way).The idea is pretty simple: - Opbox workspaces are roughly analogous to git repositories (and can be used alongside existing git repos, to share live changes between commits) - When the opbox daemon is running in a workspace (ob start), it listens for local filesystem events within its directory (writes, deletes, new files), and translates them into operations (the titular “op”) on shadow CRDT documents (Yrs) corresponding to each text file (as well as one doc for the namespace as a whole, which handles paths) - These shadow CRDT docs are maintained in a workspace-local sqlite db (Turso) - The ops, which represent diffs on a corresponding CRDT document, are then appended to a durable stream (S2) that acts as a shared journal for all sync participants - Opbox also reads from that journal, receiving ops from other participants, which are then used to update the local documents, first in the db, then by materializing them into actual files on disk This has worked surprisingly well for sharing things like Obsidian graphs in real-time.It’s most helpful in cases where you want the ability to edit local files from arbitrary editors, but still collaborate live. The experience is best from editors where you can configure an aggressive autosave policy, and where edits to an open file are reflected in the editor in a timely way.To gain confidence in the correctness of the core opbox flows (particularly all the nuances around bidirectional sync) I invested in wiring up deterministic simulation testing using the turmoil library, which has been incredibly helpful (see the opbox-sim crate in the repo).
Enrichment
- Theme
- file transfer and sharing tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- —
- Project type
- Hobby / open-source project
- Normalized one-liner
- crdt-based file synchronization
- Manually corrected
- False
Could you build this?
No Implementing a real-time CRDT synchronization engine directly on arbitrary disk filesystems requires deep distributed systems and systems programming expertise.
What it would actually take: A production version requires a systems language daemon (e.g., Rust) leveraging OS-level file notifications (fsevents/inotify) combined with an optimized text CRDT implementation (like Yjs or Loro) mapped to disk offsets. The core difficulty is reconciling external editor atomic writes, file renames, debounce timings, and concurrent network sync without corrupting local files or introducing race conditions. This demands deep distributed systems and low-level filesystem engineering expertise.
Discussion
4 comments analyzed.
Competitors mentioned: Apple Notes, JetBrains, Obsidian, Git
Concerns raised: Time-travel/rewind functionality underdeveloped, Cannot fully replace Git without specialized editors
Feature requests: Support multiple processes on same machine, Auto-rewind workspace to prior save states, Git-like version control for local repos
Competitors
Other products that read as similar to this one — 38 launches clear the similarity bar, closest 8 shown.
Attention rank: #20 of 39 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 244 days after the earliest competitor.
- Strata, real-time Markdown editor you can mount as a filesystem · hn · 2026-07-01 · 5 upvotes · similarity 0.43
- Quorum-free replicated state machine built atop S3 · hn · 2026-01-31 · 6 upvotes · similarity 0.41
- byosynch · ph · 2026-09-13 · 1 upvotes · similarity 0.38
- Zerobox · hn · 2026-03-30 · 141 upvotes · similarity 0.37
- genpark-crdt-lww-element-set-sync-skill · github · 2026-09-28 · 7 upvotes · similarity 0.37
- genpark-crdt-lww-element-set-sync-skill · github · 2026-09-28 · 7 upvotes · similarity 0.37
- Hocuspocus 4 · hn · 2026-05-20 · 38 upvotes · similarity 0.37
- S2-lite, an open source Stream Store · hn · 2026-01-21 · 77 upvotes · similarity 0.36
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.