All apps
LocalBlock Local Site Blocker icon

LocalBlock Local Site Blocker

BlockSite free, open-source alternative that runs fully locally

Chrome website blocker: block distracting sites on a schedule, set daily time limits and run focus sessions. BlockSite stays connected to its servers, which slows down some sites, and charges for features like password protection; LocalBlock needs no account and never connects to any server — rules and stats stay in your own browser, pages load at full speed, and every feature is free.

Editions
1.0.0
Platforms
Browser extensions
Requirements
Chrome / Edge / Brave and other Chromium-based browsers
License
MIT
How it was made
JavaScript + Chrome Manifest V3, generated online with Prompt2App
Block rules: each rule has its own schedule
Block rules: each rule has its own schedule
Edit a rule: add sites, pick days and hours
Edit a rule: add sites, pick days and hours
What you see when you open a blocked site
What you see when you open a blocked site
Daily limits: blocked automatically when used up, reset at midnight
Daily limits: blocked automatically when used up, reset at midnight
Statistics: blocks and time online, counted only on this computer
Statistics: blocks and time online, counted only on this computer

What it can do

Block rules with schedules

Group sites to block by purpose. Each rule can have its own days and hours, including overnight ranges. Block a whole domain, a single section (like youtube.com/shorts) or URL keywords.

Daily limits

Give a site a number of minutes per day; once used up it's blocked until midnight. Only time you actually spend on it counts.

Focus timer

Once a focus session starts, every rule applies right away regardless of its schedule; the toolbar icon shows the minutes left.

Fully local, no slowdown

Built on the browser's native blocking rules and never routed through a server, so pages don't slow down; no login, no uploads, and nothing breaks on a bad connection.

Statistics

Blocks today and over the last 7 days, plus time spent on each site — counted only on this computer.

Password lock and custom block page

Lock the settings with a password so you can't switch rules off on impulse; customize the block page's title and message.

Install and use

  1. Download the zip and double-click to unzip it into a folder (you can't drag the zip straight into the browser).
  2. Chrome open chrome://extensions (edge://extensions in Edge), turn on “Developer mode” at the top right, click “Load unpacked” and select the unzipped LocalBlock folder.
  3. Click the LocalBlock icon in the toolbar to block the current site in one click or start a focus session; for all settings, click “打开设置” (Open settings).

Free and open source

All the source code is public, so you can read, change and build it yourself. Questions or ideas? Open an issue on GitHub.

View source on GitHub

More free apps