Minimalist Focus Mode is a Chrome extension designed to help users stay focused by hiding distracting elements. This extension allows users to toggle focus mode, which hides specific elements.
🔹 Hide distracting elements on social media
🔹 Block news and adult websites
🔹 Multiple focus modes for different activities
🔹 One-click toggle for distraction-free browsing
🔹 Creativity & Deep Work – Block all distractions and get into the zone.
🔹 Networking & Friends – Hide unnecessary clutter while staying social.
🔹 Inspiration & News – Curate only the content that fuels your mind.
🔹 Analytics – Stay focused on insights and data without distractions.
🔹 Fun & Games – Enjoy entertainment without getting overwhelmed.
🔹 LinkedIn 🔹 Facebook 🔹 YouTube 🔹 GitHub
- Ensure you have Node.js (>=20.x) and npm installed.
- Run the following command to install project dependencies:
npm install
- Try building the project to ensure everything is working.
npm run build
If everything works correctly, you should see a dist/
folder created and build
files in it and zipped build in output
folder.
You can also run this project inside a Docker container for consistent development environment.
docker compose up -d
Project is continuously built via npm run watch
inside the container and files are synced with the host machine.
You can use Docker Desktop to access the container terminal or use the following command:
docker exec -it minimalist-focus-mode /bin/bash
- Open Chrome browser and navigate to
chrome://extensions/
. - Enable Developer mode.
- Click on Load unpacked and select the
dist/
folder. - The extension should be loaded and ready to use.
- Pin the extension to the browser toolbar for easy access.
To watch files and rebuild automatically without starting a server:
npm run watch
If using Docker, this is already running inside the container.
In most cases, you will not need to reload the extension in browser manually.
If necessary (e.g. manifest.json
changes), you can reload the extension in chrome://extensions/
by clicking on the
reload icon in the extension
tile.
This generates optimized assets in the dist/
folder and pack it to a zip file in the output/
folder.
npm run build
You can export the source code without dependencies for the AI assistant by running the following command.
Exported .zip
file will be saved in the output/
folder.
You can attach it to your AI prompt for context.
npm run ai
This project is licensed under the Apache 2.0 License.