← All lab projects
In progressProductYear 2026
Watchprint
See where your YouTube time goes and set limits that stick
A Chrome extension and web dashboard that measure how much time you spend on YouTube: per day, week and month, per category and per channel. You can set soft or hard limits. It works without an account and offline; an optional account syncs your data across computers.
This project is private: there is no public demo.
What’s interesting
- Local-first: history lives in IndexedDB and the extension works with no account
- Idempotent two-way sync with cursors and per-table conflict resolution
- Every table isolated per user with Row Level Security from the first migration, tested with PGlite
- Tells watching, background listening and ads apart; only watching counts toward limits
- AI proposes categories from repeated topics, and the user decides
Tech
- Chrome Extension (MV3)
- TypeScript
- IndexedDB
- Next.js
- Supabase
- PostgreSQL
- YouTube Data API