Open-source browser extension for website blocking, screen time tracking, and Pomodoro focus sessions — 100% offline, no account required.
Overview • Key Features • Comparison • Screenshots • Store Downloads • Manual Install • Tech Stack • FAQ
🌐 Live preview & website: https://vishwa-vsr.github.io/flow-website/
Flow is a free, local-first browser extension that blocks distracting websites, tracks your screen time, and runs Pomodoro focus sessions — all without sending a single byte to any server.
- Local Storage Only: All browsing data, rules, and history stay on your device in
chrome.storage.local,chrome.storage.sync(for syncing settings across your browsers), and IndexedDB. - No Telemetry: No analytics, no tracking pixels, no mandatory accounts.
- Zero Cost: No paid tiers, no feature gates, no ads.
| Feature | Details |
|---|---|
| ⏱️ Pomodoro Focus Timer | 4 built-in presets — Pomodoro (25/5), Deep Work (90/15), Short Sprint (15/2), and a fully custom slot. Automatically blocks distracting sites during active work cycles. |
| 🚫 Network-Level Website Blocker | Blocks domains using Chrome's declarativeNetRequest API — blocked pages never load or consume bandwidth. SSO login pages (Google, Microsoft, Apple) are automatically excluded so you never get locked out. |
| 📊 Screen Time Tracking | Tracks active tab time using visibility heartbeats and idle detection. Visualizes daily usage by domain and category with custom native HTML5 Canvas charts. Detects media playback so timers don't pause while you watch a video or lecture. |
| 🧹 Feed & Distraction Hiding | Per-site CSS tweaks to hide distracting elements on YouTube (Shorts, home feed, related videos, comments), Reddit (feed, popular, comments, communities), Instagram (Reels, explore, home feed, suggested), X / Twitter (timeline, trending, who-to-follow, promoted posts), LinkedIn (feed, news, promoted), and Netflix (autoplay previews, recommendations, billboard). |
| 🎨 Black & White Mode | Converts any supported site (YouTube, Reddit, Instagram, X, LinkedIn, Netflix) to grayscale to reduce visual dopamine triggers. |
| ⏳ Cooldown & Nudge Warnings | Optional "Take a breath" full-screen countdown before opening distracting sites (configurable: every visit, every 10 min, or once per day). Warning banner slides in when your daily time limit on a site is nearly exhausted. |
| 🔒 PIN Lock Security | Optional 4–6 digit PIN (hashed with SHA-256) to prevent impulsively changing block rules, stopping timers, or editing settings. |
| 📅 365-Day Consistency Heatmap | GitHub-style annual heatmap showing productive days versus distraction-heavy days over the course of the year. |
| 🏷️ Domain Categorization | Automatically and manually groups websites into Productivity, Learning, Communication, Distraction, or Uncategorized. Supports custom categories with user-defined colors. |
| 🌐 11 Languages (i18n) | Fully localized UI supporting English, Spanish, Simplified Chinese, Traditional Chinese (HK/TW), Japanese, German, Brazilian Portuguese, French, Korean, and Russian. |
| 💾 Data Backup & Migration | Full JSON data export/import with one-click migration from legacy extensions (Webtime Tracker, Web Activity Time Tracker). |
| 🌙 Dark & Light Theme | OLED-friendly dark mode and light mode, switchable from the popup. |
| Store | Release | User Rating | Active Users |
|---|---|---|---|
| Chrome Web Store | |||
| Microsoft Edge Add-ons | |||
| Firefox Add-ons (AMO) |
You can clone the repository with Git, or download the latest source code as a ZIP:
- Clone or download this repository.
- Navigate to
chrome://extensions(oredge://extensionsin Microsoft Edge). - Enable Developer mode (toggle in the top-right corner).
- Click Load unpacked (top-left).
- Select the
src/directory (for raw source code) ordist/chrome/(for compiled code).
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox. - Click Load Temporary Add-on....
- Select the
manifest.jsonfile inside thesrc/directory or the compileddist/firefox/directory.
- Node.js (v18.0.0 or higher)
- npm
# 1. Install dependencies
npm install
# 2. Build for Chrome, Edge, and Firefox → outputs to dist/
npm run build
# 3. Build + create store-ready .zip archives → outputs to release/
npm run zipWindows PowerShell Note: If script execution is restricted on your system, run the build script directly with Node:
node tools/build.js --yes
- Frontend & Logic: Vanilla JavaScript (ES2022) with native DOM APIs.
- Extension Standard: WebExtensions API (Manifest V3) —
declarativeNetRequest,alarms,idle,storage,notifications,scripting. - Data Visualization: Custom zero-dependency HTML5 Canvas 2D charting engine (donut, stacked bar, multi-line trend, and 365-day heatmap).
- Storage Engine:
chrome.storage.localfor block rules and local config,chrome.storage.syncfor user settings and presets, and IndexedDB (FocusFlowDB) for daily and monthly browsing history. - Styling: Pure CSS with custom design tokens, responsive layouts, and OLED dark mode.
- Build Pipeline: Node.js +
esbuildfor bundling and minification, with a multi-stage i18n parity validator that checks key coverage, case-insensitive duplicates, placeholder syntax, and untranslated strings across all 11 locales.
Flow/
├── src/ ← Extension source code (Manifest V3)
│ ├── manifest.json ← Permissions, content scripts, service worker config
│ ├── _locales/ ← 11 localized translation directories (en, es, de, fr, ja, ko, ru, zh_CN, zh_HK, zh_TW, pt_BR)
│ ├── assets/ ← Manrope font files and extension icons
│ ├── background/ ← Service worker (tab tracking, DNR rules, alarms, idle)
│ ├── blocked/ ← Block overlay page shown when a domain is blocked
│ ├── content/ ← Content script (active heartbeats, nudges, site tweaks)
│ ├── dashboard/ ← Full-page analytics, settings, PIN security, heatmap, migration
│ │ └── modules/ ← Dashboard sub-modules (categories, PIN, presets, utils)
│ ├── lib/ ← Shared modules
│ │ ├── constants.js ← Default categories, site tweak maps, auto-categorization
│ │ ├── db.js ← IndexedDB wrapper (FocusFlowDB)
│ │ ├── storage.js ← chrome.storage helpers (local, sync, session)
│ │ ├── icons.js ← FlowIcons SVG icon engine (45 icons)
│ │ ├── i18n.js ← Localization helper and dynamic language switching
│ │ └── utils.js ← Shared utility functions
│ ├── popup/ ← Toolbar popup (timer UI, quick controls, theme toggle)
│ └── styles/ ← Global CSS variables & design tokens
├── tools/ ← Build compiler and i18n validator (build.js)
├── dist/ ← Production build outputs (chrome/, edge/, firefox/)
├── release/ ← Store-ready .zip archives (generated by npm run zip)
├── media/ ← Store screenshots & preview images
├── docs/ ← Additional documentation
├── .github/ ← Issue templates (bug report, feature request) & PR template
├── package.json ← npm scripts and build dependencies
├── CONTRIBUTING.md ← Contributor guide & architecture notes
├── TRANSLATING.md ← Translation guide for i18n contributors
├── PRIVACY.md ← Privacy policy
├── CHANGELOG.md ← Release history
└── LICENSE ← GNU General Public License v3.0
Flow requests only the permissions it needs. Here's what each one does:
| Permission | Why |
|---|---|
storage |
Save your settings, block lists, and timer presets locally in the browser. |
unlimitedStorage |
Store long-term browsing history in IndexedDB without hitting Chrome's storage caps. |
alarms |
Schedule Pomodoro timer phases, periodic heartbeats, and privacy mode timeouts. |
idle |
Detect when you step away so screen time tracking pauses automatically. |
notifications |
Show desktop alerts when a focus session or break ends. |
declarativeNetRequest |
Block websites at the network level (pages never download). |
scripting |
Inject per-site CSS tweaks (element hiding, Black & White mode) dynamically. |
favicon |
Display website favicons in the dashboard and popup (Chromium only). |
<all_urls> (host) |
Required for the content script to track active tab time and inject nudge overlays on any website. |
All data stays on your device. Read the full Privacy Policy.
Does Flow send any data to external servers?
No. All browsing data, categories, blocking rules, and timer logs are stored locally on your device via
chrome.storage.local and IndexedDB. Flow makes zero network requests.
Note: Flow stores user settings (like timer presets and category tags) in
chrome.storage.sync. If you have Chrome Sync enabled in your browser, Chrome may sync these settings across your signed-in devices. This is standard Chrome behavior, not something Flow controls. Your browsing history and screen time data are never synced — they stay in local-only storage.
Why does Flow request host permissions (<all_urls>)?
Host permissions allow the content script (
src/content/site-tracker.js) to track active engagement on any website, show cooldown overlays and time-limit warnings, and inject per-site distraction element hiders (like hiding YouTube Shorts or Reddit sidebars).
Will Flow block my login pages?
No. Flow automatically excludes Single Sign-On (SSO) domains — Google Accounts, Microsoft Login, Apple ID, and YouTube authentication pages are never blocked, even during active focus sessions.
How can I transfer my data to another computer?
Open the Flow Dashboard, go to Migration & Imports, and click Export Backup (JSON). Import that file on any other computer running Flow.
The extension won't load in Developer Mode
- Make sure Developer mode is enabled in
chrome://extensions. - Select the
src/folder (not a parent folder or a single file). - Check the Extensions page for red error banners — click them for details.
- If you built from source, make sure
npm run buildcompleted without errors before loadingdist/chrome/.
Thanks to everyone who has contributed code or translations:
Want to contribute? See our Contributing Guide. Want to help translate? See our Translation Guide.
- Code: Licensed under the GNU General Public License v3.0 (GPLv3).
- Chart.js: Used under the MIT License for data visualizations.
- Manrope Font: Designed by Mikhail Sharanda, used under the SIL Open Font License 1.1.



