Tudari
Local-first AI study workspace
A study workspace with notes, sketching, Kanban, streaks and AI quizzes that keeps working offline.
Tudari puts the tools a student juggles into one workspace: rich-text notes with a sketch canvas, Kanban boards, study logs and an AI study companion. It is built local-first, so a dropped connection does not stop the work. Changes are queued on the device and synced to Supabase when the network returns.
What it does
- Offline-first sync engine: an offlineSupabase wrapper intercepts every query, serves reads from IndexedDB when offline and applies filters (eq, gte, lte, order) locally.
- Offline writes go into a pending-operations store and are replayed against Supabase Postgres in order once the device is back online.
- AI note summaries and multiple-choice quizzes run in Supabase Deno Edge Functions, so API keys never reach the browser.
- Canvas editor built on React-Konva, with brush, highlighter, eraser and geometric tools beside the rich-text editor.
- Kanban boards link tasks and priorities to projects.
- Productivity analytics turn study-session logs into daily metrics, streaks and badges.
- Unit and integration tests in Vitest; deployed on Vercel with SPA routing rewrites.
How it works
Pages never call Supabase directly. They go through a wrapper that checks whether the device is online. Online, it fetches from Postgres and caches the rows in IndexedDB. Offline, it answers from the cache, hands back temporary IDs for new records, and queues each write for replay when the connection comes back.





