Go

GoSync – Local-First Sync Engine for Go and WASM

Hacker News

GoSync – Local-First Sync Engine for Go and WASM

Hi HN, I built an open-source sync engine that brings "Local-First" capabilities to Go web applications. The Problem: Most offline-first solutions (Firebase, PouchDB) force you into the JS ecosystem. If you are writing a Go backend, you often have to re-implement sync logic or settle for simple REST APIs that break when the user goes offline. The Solution: GoSync runs the exact same Go code in the browser (via WebAssembly) and on the server. - Client: Go compiled to WASM, persisting to IndexedDB (via a small JS bridge). - Server: Go with SQLite or Postgres, persisting to disk. - Protocol: Merkle Trees to detect diffs, and WebSockets to sync them. If the server dies or the user goes offline, the client keeps working. When connectivity returns, it heals the state automatically. I'd love feedback on the Merkle Tree implementation and the WASM/JS bridge architecture.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, code, apis · Missing: mac, agents, macos
73%73% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
68%68% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
67%67% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
33%33% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
29%29% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ne
New Sync Engine of SignalDB55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

New Sync Engine of SignalDB

Hacker News4
Hi
Hillock: Local neuro-symbolic memory engine in <1.2GB VRAM44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hillock: Local neuro-symbolic memory engine in <1.2GB VRAM

Hacker News12
GP
GPG Sync44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GPG Sync

Hacker News29
Bi
Binary Sync50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Binary Sync

Hacker News1
X
X to Elasticsearch Sync64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

X to Elasticsearch Sync

Hacker News36
I
I made a Stremio addon to sync your IMDB Watchlist48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made a Stremio addon to sync your IMDB Watchlist

Hacker News1
Si
Signage Sync41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Signage Sync

Hacker News11
Sy
Sync all of your/anyone's gists with metadata to a local dir33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sync all of your/anyone's gists with metadata to a local dir

Hacker News1
Ob
Objective-C Tetris engine54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Objective-C Tetris engine

Hacker News3
Me
Meteora – an interaction engine51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Meteora – an interaction engine

Hacker News1