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
14•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•49m 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•26m 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•19m ago
Interesting! I wrote something similar for my app recently, it was the first thing I coded using LLMs.
quambo•13m ago
Nice! Would recommend to decouple as much as possible and have tons of testing, every issue thats catched before having to go to the length of debugging client side issues is gonna save some sleep :D have been there, learned the hard way..

Whats your app?

Artificial Intelligence: Ars Notoria and the Promise of Instant Knowledge

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

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

https://mattsclancy.github.io/2026/07/27/industrial-revolution-growth.html
9•NewCzech•51m ago•3 comments

Show HN: Bor – Open-source policy management for Linux desktops

https://getbor.dev/blog/2026-08-02-bor-v080-release/
23•eniac111•2h ago•2 comments

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

https://github.com/syncular/syncular
14•quambo•1h ago•5 comments

Go 1.27 Interactive Tour

https://victoriametrics.com/blog/go-1-27/index.html
236•Hixon10•9h ago•89 comments

Show HN: I'm a 15 Year Old Wannabe Engineer, This Is a Cycloidal Gearbox I Built

https://github.com/tom-ilan/cycloidal_gearbox
181•tomilan•9h ago•50 comments

Maze Toys

https://maze.toys
12•bookofjoe•1d ago•2 comments

A big win for Android interoperability

https://www.openhomefoundation.org/blog/a-big-win-for-android-interoperability/
131•soheilpro•1d ago•48 comments

Seedance 2.5

https://seed.bytedance.com/en/blog/one-take-creation-flexible-referencing-introducing-seedance-2-5
357•njaremko•14h ago•190 comments

MkLinux and the pimped-out Apple Workgroup Server 9150

http://oldvcr.blogspot.com/2026/08/mklinux-and-pimped-out-apple-workgroup.html
59•goldenskye•8h ago•3 comments

Diátaxis

https://diataxis.fr/
372•ryanseys•14h ago•47 comments

Cyberscript

https://cyberscript.dev
10•dtj1123•3h ago•5 comments

Deep-sea vehicles spot 'alien' sharks deep beneath the waves in the Pacific

https://www.science.org/content/article/deep-sea-vehicles-spot-alien-sharks-deep-beneath-waves-pa...
57•pkaeding•8h ago•25 comments

IBM i (OS/400) the Database Operating System

https://osadmins.com/en/ibm-i-os-400-the-database-operating-system/
10•naves•3h ago•1 comments

Morph (YC S23) Is Hiring Member of Technical Staff

https://www.ycombinator.com/companies/morph/jobs/0Z8vI3K-member-of-technical-staff
1•bhaktatejas922•12h ago

Running Kimi K3 on MI355X at Better Performance per Dollar Than B300

https://www.wafer.ai/blog/kimi-k3-mi355x
136•ilreb•6h ago•48 comments

I don't recommend Tailwind CSS

https://en.andros.dev/blog/af3ee191/why-i-dont-recommend-tailwind-css/
100•andros•4h ago•102 comments

ASRock BC-250: Building the Budget Steam Machine

https://plug-world.com/posts/2026/asrock-bc250-the-budget-steam-machine/
69•plug_world•9h ago•31 comments

When random.bytes() runs but doesn't work

https://insider.btcpp.dev/p/when-randombytes-runs-but-doesnt
53•Funes-•9h ago•24 comments

Show HN: Logan Basic v2.1 - An online BASIC interpreter.

https://sinusoft.com/loganbasic/
10•Sinusoid314•2d ago•3 comments

Instrumenting my espresso machine with OpenTelemetry

https://clickhouse.com/blog/espresso-machine-observability-with-otel
14•g0xA52A2A•3d ago•3 comments

The time filter in Google Search broke a few days ago

https://mastodon.online/@mwichary/117023736804129342
26•latexr•2h ago•12 comments

Mathematics Without Mathematicians

https://borretti.me/article/mathematics-without-mathematicians
16•varjag•3h ago•9 comments

Unraveling the mysteries of habit formation

https://www.kyoto-u.ac.jp/en/research-news/2026-07-28
83•hhs•12h ago•31 comments

Elena, a library for building Progressive Web Components

https://elenajs.com/
35•brianzelip•2d ago•3 comments

Postmortem for Kernel Soundness Bug #14576

https://leodemoura.github.io/blog/2026-8-1-postmortem-for-kernel-soundness-bug-14576/
152•juhopitk•16h ago•57 comments

But can your calculator run Linux?

https://raymii.org/s/articles/But_can_your_calculator_run_Linux.html
98•jandeboevrie•15h ago•9 comments

RFC 10015: Deprecating Obsolete Key Exchange Methods in TLS 1.2 and DTLS 1.2

https://www.rfc-editor.org/rfc/rfc10015.html
61•Jimmc414•11h ago•16 comments

The Prospects for 128 Bit Processors ( John Mashey SGI 1995)

https://yarchive.net/comp/128bit.html
25•Alien1Being•9h ago•11 comments

How Google helped destroy adoption of RSS feeds (2023)

https://openrss.org/blog/how-google-helped-destroy-adoption-of-rss-feeds
539•pudgywalsh•17h ago•187 comments