YAOS

Real-time Obsidian sync engine on a self-deployed Cloudflare Worker

Video 1 of 2: YAOS Walkthrough

Keeps one live vault state in a Yjs document, served by a Durable Object in the user's own Cloudflare account, while notes stay ordinary Markdown files on disk. A disk bridge carries edits from Obsidian, scripts and agents into the CRDT and back.

Trade-offs

  • One vault-wide Yjs document per room. One replication stream keeps structural changes such as a multi-file folder rename together, but memory is the ceiling, bounded by the 128 MB isolate.
  • Whole-file attachment blobs, not block deltas. Chunking would need manifests and distributed GC, and small blocks multiply Cloudflare operation costs on a mostly write-once workload.
  • Checkpoint plus coalesced journal in SQLite. Full rewrites amplify every edit and per-event rows spend the daily write budget, so normal saves stay small.

Q&A2

That the server saved this device's latest tracked state. It does not mean another device received it.

Reviews

Loading reviews

    More in Local-first

    See all 45 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • Desktop-2FAOffline TOTP manager for the terminal with an encrypted local vault
    • ResonanceA local-first API client with no account, collections kept as YAML files
    • DettoOn-device meeting capture and dictation for macOS, written to a vault
    • OpenSubsSubtitle generator that transcribes and burns captions with no video upload
    • GNOLocal knowledge engine with hybrid search, cited answers and agent memory

    More in Cloudflare Workers

    See all 27 →
    • open-computeSelf-hosted Cloudflare Workers-compatible platform in one Rust binary
    • ZeroLinkAccount-free secret sharing where the receiver locks the link first
    • Quire InkA self-hosted blog for one writer, with a reader pen and an MCP server built in
    • hostcOne command gives a dev server a public HTTPS URL
    • TsumugiJob system for Cloudflare Workers on Durable Objects and Queues
    • CF ActivityPubA Mastodon-compatible ActivityPub server running entirely on Cloudflare

    More in Realtime

    See all 23 →
    • YgoPure-Go port of Yjs, byte-compatible with its V1 and V2 wire formats
    • Edge ScannerLocal intraday stock scanner with setups built without code
    • yrbyYjs backend for Rails on y-crdt, with no Node process to run
    • VoxperySelf-hostable chat with voice and screen sharing, as an open Discord alternative
    • DripSelf-hosted tunnel to expose local services on a custom domain
    • Nola TranslatorReal-time captions and translation from local or cloud speech models