{"id":44726196,"url":"https://github.com/jsattler/zerodistraction","last_synced_at":"2026-04-14T21:01:53.488Z","repository":{"id":316142045,"uuid":"1062117186","full_name":"jsattler/zerodistraction","owner":"jsattler","description":"A firefox extension that blocks distracting websites to stay focused when you need to get things done","archived":false,"fork":false,"pushed_at":"2026-04-04T11:03:40.000Z","size":3690,"stargazers_count":21,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T13:08:56.623Z","etag":null,"topics":["firefox","firefox-addon","firefox-extension","firefox-webextension"],"latest_commit_sha":null,"homepage":"https://addons.mozilla.org/en-US/firefox/addon/zerodistraction/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsattler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-22T20:38:03.000Z","updated_at":"2026-04-04T11:03:43.000Z","dependencies_parsed_at":"2025-09-23T00:21:57.951Z","dependency_job_id":null,"html_url":"https://github.com/jsattler/zerodistraction","commit_stats":null,"previous_names":["jsattler/zerodistraction"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jsattler/zerodistraction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsattler%2Fzerodistraction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsattler%2Fzerodistraction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsattler%2Fzerodistraction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsattler%2Fzerodistraction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsattler","download_url":"https://codeload.github.com/jsattler/zerodistraction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsattler%2Fzerodistraction/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31815080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firefox","firefox-addon","firefox-extension","firefox-webextension"],"created_at":"2026-02-15T17:42:34.686Z","updated_at":"2026-04-14T21:01:53.476Z","avatar_url":"https://github.com/jsattler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"icons/blob.svg\" width=\"200\" height=\"200\" alt=\"ZeroDistraction Logo\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eZeroDistraction\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Stay focused and avoid distractions.\u003cbr\u003e\n  A firefox extension that blocks distracting websites to stay focused when you need it most.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://addons.mozilla.org/en-US/firefox/addon/zerodistraction/\"\u003eFirefox Extension\u003c/a\u003e ·\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e ·\n  \u003ca href=\"#how-does-it-work\"\u003eHow it works\u003c/a\u003e ·\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\n\u003c/p\u003e\n\n## Why ZeroDistraction?\n\nYou sit down to work on something important.\nYou open your browser and tell yourself \"just one quick check\" on HackerNews or YouTube.\nThree hours later, you're still scrolling, and that important task remains untouched.\nWe've all been there.\nThe internet is designed to capture and hold our attention.\n\n**ZeroDistraction puts you back in control.**\nWhen you need to focus, activate it for a set time period.\nTry to visit a distracting site, and instead of endless feeds, you see a simple timer counting down.\nIt's about creating intentional breaks from distraction when you need to get things done.\n\n## How does it work?\n\n![ZeroDistraction howto](screenshots/zerodistraction-screencapture.gif)\n\n- Select a duration, press _Start_ and get things done\n- Ships with categorized presets to block (social media, news, entertainment)\n- Blocked sites show a simple countdown instead of their content\n- Configure exceptions of URLs that remain accessible even during focus sessions\n- Configure additional URLs to block that are not yet part of the presets\n\n## Installation\n\nThe easiest way is to [navigate to the extension page on addons.mozilla.org and click on **Add to Firefox**.](https://addons.mozilla.org/en-US/firefox/addon/zerodistraction/)\n\nAlternatively, you can downlaod and manually install the extension.\n\n- [Navigate to the Releases.](https://github.com/jsattler/zerodistraction/releases)\n- In the Release Assets, download the `zerodistraction-extension.zip`.\n- [Follow the instructions to manually install an extension.](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#installing)\n\n## URL Pattern Matching\n\nZeroDistraction uses simplified patterns based on the [URLPatternAPI](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API)\n\n- if you don't specify the scheme, subdomain or path, it matches all variants.\n\n| Pattern               | Matches                                        |\n| --------------------- | ---------------------------------------------- |\n| `youtube.com`         | All YouTube URLs (any subdomain, scheme, path) |\n| `https://youtube.com` | Only HTTPS YouTube                             |\n| `www.youtube.com`     | Only www subdomain                             |\n| `youtube.com/shorts`  | YouTube Shorts on any subdomain                |\n\n**Exceptions override blocklists:**\n\n- Blocklist: `facebook.com` (blocks all Facebook)\n- Exception: `work.facebook.com` (allows work Facebook)\n- Result: `work.facebook.com` accessible, `www.facebook.com` blocked\n\n## Similar Extensions\n\n- [**LeechBlockNG**](https://addons.mozilla.org/en-US/firefox/addon/leechblock-ng/): Very mature, feature-rich and customizable extension.\n  - **What kept me from using it?** I wanted something simpler, cleaner and without the need for extensive configuration.\n    I don't want to bother reading through long documentation and spend half a day just to get started.\n    I just want to select a time period and get started - easy as that.\n\n## Privacy and Data Protection\n\nZeroDistraction respects your privacy and protects your data:\n\n**Why does the extension need permissions?**\n\n- **Access to web requests**: Required to detect and block the URLs from the block lists\n- **Storage permission**: Stores your settings (timer duration, blocklists, allowlist) locally on your device only\n\n**Your data stays private:**\n\n- **Zero data collection**: We don't collect, store, or analyze any of your browsing data\n- **No external connections**: The extension never sends any information to external servers or third parties\n- **Local storage only**: All your settings and preferences remain on your device\n\n## Contributing\n\nContributions are welcome! Please open an issue first to discuss what you would like to change before submitting a pull request.\nIf you want to add a URL to one of the blocklists, feel free to directly open a PR without opening an issue.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsattler%2Fzerodistraction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsattler%2Fzerodistraction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsattler%2Fzerodistraction/lists"}