MCPcopy Index your code
hub / github.com/Bsodoge/Focus-Mode

github.com/Bsodoge/Focus-Mode @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
17 symbols 37 edges 3 files 0 documented · 0% updated 15mo ago★ 38
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Focus Mode

<a href="https://addons.mozilla.org/en-GB/firefox/addon/focus-mode-by-bsodoge/"><img src="https://user-images.githubusercontent.com/585534/107280546-7b9b2a00-6a26-11eb-8f9f-f95932f4bfec.png" alt="Get Focus Mode for Firefox"></a>
<a href="https://chromewebstore.google.com/detail/jjogkcpcgaaifccbffjmincckliocaca"><img src="https://developer.chrome.com/static/docs/webstore/branding/image/206x58-chrome-web-bcb82d15b2486.png" alt="Get Focus Mode for Chromium"></a>
<a href="https://www.producthunt.com/posts/focus-mode-64af7680-42be-4c6a-b68a-51f6d02641f0?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-focus&#0045;mode&#0045;64af7680&#0045;42be&#0045;4c6a&#0045;b68a&#0045;51f6d02641f0" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=943178&theme=dark&t=1742412522365" alt="Focus&#0032;Mode - Block&#0032;distracting&#0032;sites&#0032;at&#0032;certain&#0032;times&#0032;and&#0032;certain&#0032;days&#0046; | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

Focus Mode is a browser extension designed to keep you focused and productive while browsing the web.

Features: - Ability to block multiple sites. - Ability to block at certain times and days. - Ability to use wildcard to mass block certain sites e.g reddit.com/* will block all reddit links.

This is an open-source project and all contributions are welcome.

License

MIT License

Copyright (c) 2025 Bsodoge

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Core symbols most depended-on inside this repo

setSettings
called by 6
src/js/popup.js
changeButtonText
called by 2
src/js/popup.js
listLinks
called by 2
src/js/popup.js
applySettings
called by 1
src/js/contentscript.js
blockSite
called by 1
src/js/contentscript.js
onLoad
called by 1
src/js/contentscript.js
addLink
called by 1
src/js/popup.js
validateLink
called by 1
src/js/popup.js

Shape

Function 17

Languages

TypeScript100%

Modules by API surface

src/js/popup.js14 symbols
src/js/contentscript.js3 symbols

For agents

$ claude mcp add Focus-Mode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact