Monitoring Extension (packages/monitoring-extension)
CommitT is primarily a mobile application, but true accountability requires cross-device enforcement. The Monitoring Extension is a browser plugin built with WXT that acts as the desktop enforcer.
Capabilities
- Site Blocking: Pulls the active
digital_commitmenttarget blocklists from the Convex backend and uses thechrome.webRequestAPI to instantly block access to forbidden URLs (e.g., YouTube, Reddit). - Verification Reporting: Can report active tab usage back to the Convex backend to prove the user is actively working on a required website during a study session.
- Tamper Resistance: Designed to be difficult to uninstall during an active Strict Mode session.
Why WXT?
WXT is a next-generation framework for building cross-browser extensions. It provides:- Vite-powered hot module replacement (HMR) during development.
- Out-of-the-box support for Chrome, Firefox, and Edge.
- First-class TypeScript and React support.