I was always losing my thoughts.
Phone note here, browser tab there or half-finished idea gone after a refresh.
So, I built a draft capture system for my personal knowledge base.
Before: type, pray I dont close the browser.
Now: every keystroke auto-saves locally & syncs across all of my devices.
The stack:
@tinybasejs (true offline first db)
@tursodatabase sync (cross-device, last-write-wins)
IndexedDB persistence (so it survives crashes)
Offline outbox (captures & flushes on reconnect)
Anywhere, on any device, I pick up right where I left off.