Ayush Sharma

FocusWatch

A focus app and browser extension I built to stop losing my days to YouTube.

YouTube per week
−85%
4.6 h → 0.7 h
Screen time on distractions
24% → 6%
−74%
Time in work tools
2.5×
7.0% → 17.5%

Seven weeks before vs six weeks after daily use, from my own ActivityWatch data. How I measured.

Role
Solo project
Status
Open source (MIT) · used daily
Links
Live site & demo · GitHub
Stack
TypeScript · React 19 · Vite · Chrome/Edge extension (MV3) · Node.js · Tauri · ActivityWatch · Vitest

I kept "working" for hours and finishing nothing. FocusWatch blocks distracting sites during a focus session, then asks one honest question at the end: did you actually finish what you planned? It runs entirely on your own computer.

The problem

I was tracking my time with ActivityWatch, and the data was brutal. In my worst week (late August 2026) I spent 57 hours at my computer, and 14 of them were on YouTube. Across my first seven weeks of tracking, a quarter of my active screen time went to distracting sites, and only 7% went to the tools I actually build things with.

Time trackers showed me where the hours went. None of them asked whether I'd got anything done, and none of them stopped me in the moment.

What I built

Three parts that run on your own machine:

It builds on ActivityWatch for app and website tracking instead of reinventing it. No account, no cloud, no analytics: nothing leaves the computer.

Results: my own data

I compared the seven weeks before FocusWatch became part of my daily routine with the six weeks after I gave it a one-click desktop launcher (4 October 2026).

BeforeAug 2 – Sep 19AfterOct 4 – Nov 10Change
YouTube per week4.6 h0.7 h−85%
Distracting sites per week5.0 h1.1 h−77%
Share of screen time on distractions23.8%6.2%−74%
Share in work tools terminal, VS Code, Claude7.0%17.5%2.5×
Worst week for YouTube14.3 h2.6 h

The block page was hit 57 times, every one of them YouTube: 57 times I reached for a video mid-session and got sent back to work instead.

What changed day to day:

How it works

  1. Plan: write what you'll finish, pick a duration, choose whether to block sites.
  2. Block: the app tells the connector a session started; the extension picks it up within seconds and blocks your list.
  3. Check in: when time's up, a notification asks whether you finished, partly finished, or didn't.
  4. Review: stats show real focus time against distraction, attempts blocked, streaks and patterns.

Engineering highlights

What I learned

About the numbers

Try the demo  ·  Code on GitHub