frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Syncular – offline-first SQL sync with TypeScript and Rust cores

https://github.com/syncular/syncular
11•quambo•1h ago

Comments

quambo•1h ago
Hi HN! I’ve been circling this problem for a long time.

In 2019 I built an offline-first datastore called debe. It used CRDTs and multi-master replication and never became something I could confidently ship. It did teach me that convergence is only a small part of sync. The difficult parts are durable writes, authorization changes, lost acknowledgements, schema upgrades, bounded bootstrap, and explaining what happened after something fails.

I eventually came back to the problem and built Syncular over the last year.

Every client has a real SQLite database: sqlite-wasm on OPFS in the browser and native SQLite elsewhere. Writes apply locally and enter a durable outbox in the same transaction. A server-authoritative commit log validates and orders them, using explicit scopes resolved inside the application backend.

The protocol is written down independently of the implementations. SSP2 is currently a draft, with canonical binary encoding and golden byte vectors. There are independent TypeScript and Rust client cores, both run against the same 95-scenario conformance catalog. The Rust core is exposed through Swift, Kotlin, Flutter, React Native, Tauri, Rust, and a small C API.

It also includes realtime WebSocket sync, resumable bootstrap segments, explicit conflict evidence, authorization revocation and local purge, windowed replicas, blobs, optional CRDT columns, per-column encryption, and typesafe generated queries for five languages. Important boundaries: it is pre-1.0, self-hosted, and there is no managed service or peer-to-peer mode. Native packaging maturity still varies by ecosystem.

Let me know what you think, I'm happy about feedback!

Demo: https://demo.syncular.dev Protocol: https://github.com/syncular/syncular/blob/main/docs/SPEC.md Background: https://syncular.dev/blog/offline-first-writes/ Docs: https://syncular.dev/

kello•33m ago
This is cool. Reminds of Lotus Notes. In a strange way a concept that felt "outdated" is something that I would love to be the default behavior for many apps today.
quambo•10m ago
It’s great to see apps being shipped with offline first (and flawless syncing as an optional feature) from ground up, sad to see many modern notes apps like notion or capacities treating offline as afterthought. But alas, it’s still a non trivial nut to crack.

Hope one day offline first will be a default and a solved problem.

dools•3m ago
Interesting! I wrote something similar for my app recently, it was the first thing I coded using LLMs.

For sale: early access to Trump's Truth Social posts

https://www.npr.org/2026/08/01/nx-s1-5912219/trump-truth-social-access-insider-trading
1•thm•1m ago•0 comments

What is the downside of coaching that I may not be seeing yet?

1•ikut3hva•2m ago•0 comments

LLM Counter-Defaults

https://counterdefaults.aixdesign.co/
1•bookofjoe•11m ago•0 comments

Damned if you do and damned if you don't: Can NOT using AI amount to negligence?

https://www.judiciary.uk/speech-by-the-master-of-the-rolls-to-the-professional-negligence-bar-ass...
1•MasterScrat•11m ago•0 comments

The Holy Grail of Engine Tech: Aerospike Engines Explained (Martian Chronicles) [video]

https://www.youtube.com/watch?v=C0DDxNcI2BA
1•zeristor•14m ago•0 comments

US Treasury undertakes historic intervention in yen market

https://www.ft.com/content/0f9b2fe7-bde4-4f5f-b49e-93ccb5da9ea8
2•23pointsNorth•14m ago•0 comments

Show HN: Katharos Functional programming and CSP-style concurrency for Python

https://github.com/kamalfarahani/katharos
1•kamalf•15m ago•1 comments

Show HN: CaLLMar – play a text-based adventure game in an LLM chat

https://github.com/lascauje/callmar
1•lascauje•15m ago•0 comments

I scraped the r/unixporn and made it filterable by distro, WM, and colorscheme

https://dotfiles.lol/
4•kewonit•19m ago•1 comments

Build a Dependency Injection Container in Vanilla JavaScript

https://jsdev.space/di-container-javascript/
1•javatuts•20m ago•0 comments

The Actor Was the Expensive Part

https://www.minid.net/2026/8/2/the-actor-was-the-expensive-part
1•meerita•20m ago•0 comments

Show HN: Documan – AI Powered Requirement Management Workspace

https://github.com/bbayer/DocuMan
1•bbayer•22m ago•0 comments

What Naur got wrong from The concept of mind

https://tssm.neocities.org/what-naur-got-wrong-from-the-concept-of-mind
1•mpweiher•23m ago•0 comments

Rexpaint – a powerful ASCII art editor

https://www.gridsagegames.com/rexpaint/
1•sph•24m ago•0 comments

Sam Altman is still making the case for parenting via ChatGPT

https://techcrunch.com/2026/08/01/sam-altman-is-still-making-the-case-for-parenting-via-chatgpt/
2•BlueBerry2001•24m ago•0 comments

(Rust) All-Hands 2026 Retrospective

https://blog.rust-lang.org/inside-rust/2026/07/31/all-hands-2026-retrospective/
2•dcminter•27m ago•0 comments

The American E.V. Has Been Crushed. Will It Take the U.S. Auto Industry with It?

https://www.nytimes.com/2026/07/15/magazine/electric-cars-american-evs.html
1•thelastgallon•31m ago•0 comments

Is the Industrial Revolution a good precedent for explosive growth today?

https://mattsclancy.github.io/2026/07/27/industrial-revolution-growth.html
5•NewCzech•35m ago•1 comments

I used a loophole in British law to fly a plane with no licence [video]

https://www.youtube.com/watch?v=GGCf9QuxXB8
1•skibz•35m ago•0 comments

When "no healthy upstream" isn't about the upstream you think

https://sahansera.dev/no-healthy-upstream/
2•sahan•36m ago•0 comments

Knuth versus Email

https://www-cs-faculty.stanford.edu/~knuth/email.html
2•thombles•39m ago•0 comments

Stock market turmoil sheds stark light on the opaque AI economy

https://www.theguardian.com/technology/2026/aug/02/stock-market-turmoil-nvidia-china-light-ai-eco...
3•beardyw•41m ago•0 comments

DropKick – A Minimal Commit/Reveal Rescue Protocol

https://conduition.io/bitcoin/dropkick/
3•cestef•41m ago•0 comments

Artificial Intelligence: Ars Notoria and the Promise of Instant Knowledge

https://publicdomainreview.org/essay/ars-notoria/
10•jruohonen•42m ago•1 comments

Show HN: We made Arcad, a parametric CAD in the browser, free and no signup

https://app.arcad.studio/
3•steinvakt2•44m ago•2 comments

The hive mind for your product

https://www.rtrvr.ai/rover/blog/hive-mind-for-your-product
2•quarkcarbon279•49m ago•1 comments

Call stack diffs

https://oskrim.github.io/engineering/2026/08/02/call-stack-diffs.html
3•tremguy•51m ago•0 comments

Moon landing anniversary, former astronauts say voting is Americans' mission

https://www.dailynews.com/2026/07/20/on-anniversary-of-moon-landing-former-astronauts-say-voting-...
2•rbanffy•53m ago•0 comments

A Top Law Firm Went from Standing Up to Trump to Bending the Knee

https://www.nytimes.com/2026/08/02/us/politics/paul-weiss-trump.html
2•sbulaev•53m ago•0 comments

Research Topics in ML, AI and Deep Learning

https://blog.sparsh.dev/research-topics-in-ml-ai-and-deep-learning/
2•sparshrestha•54m ago•0 comments