The product

Every brilliant thought,
synchronized.

Stop losing insights to the scroll. Synapse captures the moments you want to keep from across social media and files them away — as plain text, on your own disk.

  • Local-first
  • Markdown
  • Self-hosted

01 The problem

Your best ideas are spread across five feeds.

A thread on X, a video that changed how you think about something, a note you wrote at 2am. Each one lives in a different app with a different search box, and none of them are yours.

Bookmarks rot. Screenshots pile up unreadable. And the platforms that hold your thinking are not in the business of giving it back. Synapse exists to take the keepers out of the feed and put them somewhere durable.

02 How it works

Three steps, mostly invisible.

  1. 01

    Collect

    A small browser extension reads the page you are already on — a post, a video, a note — and picks out the text, the media and the timestamp.

  2. 02

    Normalize

    Every source is flattened into one shape: the same front matter, the same field names, the same folder convention. Nothing to reconcile later.

  3. 03

    Archive

    The result is written to plain Markdown on your own disk, next to the images it references. This site is just a reader on top of those files.

03 Architecture

The whole system, in five bands.

Four moving parts and one folder. A browser extension reads the page you are already on, a local daemon writes it to disk, a build step flattens those files into JSON, and a static site renders them. Nothing is held in a database, and nothing on this site needs a server to stay awake.

System map Ten sources in, one folder out

Browser

Ten source buckets

  • X
  • Bilibili
  • WeChat
  • 公众号
  • 知识星球
  • Weibo
  • RedBook
  • Douyin
  • QZone
  • YouTube
DOM

Extension · MV3

Synapse Collector

  • content script per platform
  • parses DOM → text, media, time
  • popup · options · service worker
  • activeTab, webNavigation
HTTP POST · JSON + base64 media · localhost only

Daemon · Go

Local server

  • 127.0.0.1:7070
  • POST /collect · /upsert
  • GET /check · /stats · /tasks
  • launchd job, single binary
writes

Writer

Markdown + media

  • one .md per item
  • URL hash → stable ids
  • base64 images decoded
  • engagement split to metrics
Two roots, never mixed

Content root

social-media-data/

  • <year>/<month>/<day>-<platform>-<title>.md
  • images/ beside each entry
  • YAML front matter, committed to git
and

Metrics root

~/studio/social/metrics/

  • <platform>/<year>/<month>/<day>-<title>.md
  • views · likes · comments · reposts
  • content_path back-reference
Markdown → JSON, at build time

Build step

sync-from-local.ts

  • walks every .md file
  • thoughts-by-year/{year}.json
  • daily-counts.json
  • copies images to public/data/
JSON

Render

Astro · static output

  • 12 pages pre-rendered
  • / · /about · /source/[source]
  • no database, no runtime
Static assets only — no origin server

Host

Cloudflare Workers

  • wrangler deploy · dist/
  • edge cache, global
URL

Public host

updates.leix.dev

Everything above the last band runs on one machine. The site never talks to a database — it is rebuilt from the Markdown and published as flat files.

  • External
  • fonts.loli.net — Newsreader · Inter · JetBrains Mono
  • jsDelivr — remote media fallback
  • @vercel/analytics — pageviews, cookie-free
04 What you get

A folder you actually own.

No lock-in
Content lives as .md files with YAML front matter. Open them in Obsidian, grep them, commit them — the archive outlives the app.
Media stays with the text
Images are downloaded and stored beside the entry when possible, with the original URL kept as a fallback.
Two roots, on purpose
Entries and engagement metrics (views, likes, collects) are written separately, so a repost never overwrites what you wrote.
Read-only by design
The website is a static build. It reads the archive, renders it, and ships nothing else — no database, no server to keep alive.
05 Sources

Where it collects from.

  • X posts & replies
  • Bilibili dynamics & video
  • WeChat 公众号 articles
  • 知识星球 posts & comments
  • Weibo posts & threads
  • RedBook notes & galleries
  • Douyin works & stats
  • QZone feeds & albums
  • YouTube videos

Adding a source is a single collector file — the popup discovers it automatically. Entries imported from WeChat before the collector existed carry the legacy label 公众号; both resolve to the same platform.

Start here

The archive is public.
Go and read something.

Open Thoughts