{"id":50289805,"url":"https://github.com/andrewsomething/site-limiter-chrome-ext","last_synced_at":"2026-05-28T05:04:24.231Z","repository":{"id":360294372,"uuid":"1249506422","full_name":"andrewsomething/site-limiter-chrome-ext","owner":"andrewsomething","description":"A Chrome extension that limits how long you spend on distracting websites.","archived":false,"fork":false,"pushed_at":"2026-05-25T19:38:55.000Z","size":267,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T21:26:59.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewsomething.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2026-05-25T19:19:39.000Z","updated_at":"2026-05-25T19:38:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/andrewsomething/site-limiter-chrome-ext","commit_stats":null,"previous_names":["andrewsomething/site-limiter-chrome-ext"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/andrewsomething/site-limiter-chrome-ext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fsite-limiter-chrome-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fsite-limiter-chrome-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fsite-limiter-chrome-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fsite-limiter-chrome-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewsomething","download_url":"https://codeload.github.com/andrewsomething/site-limiter-chrome-ext/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewsomething%2Fsite-limiter-chrome-ext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33594866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-05-28T05:04:23.426Z","updated_at":"2026-05-28T05:04:24.227Z","avatar_url":"https://github.com/andrewsomething.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Site Limiter\n\nA Chrome extension that limits how long you spend on distracting websites. After your watch limit is reached, the site is blocked for a configurable cooldown period.\n\n\u003cimg src=\"docs/screenshot.png\" alt=\"Site Limiter popup — light mode\" width=\"300\" /\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003cimg src=\"docs/screenshot-dark.png\" alt=\"Site Limiter popup — dark mode\" width=\"300\" /\u003e\n\n## Features\n\n- **Per-site time limits** — track and enforce limits independently per site\n- **Configurable limits** — set your own watch limit and cooldown duration\n- **Cooldown blocking** — overlay blocks the page until the cooldown expires, with a live countdown\n- **Multi-site support** — comes with defaults for YouTube Shorts, Reddit, X/Twitter, TikTok, and Instagram Reels\n- **Custom sites** — add any site using URL glob patterns (e.g. `reddit.com/*`)\n- **Subdomain matching** — patterns match across subdomains (e.g. `old.reddit.com`)\n- **Per-site reset** — manually reset a site's timer at any time\n- **System theme** — follows your OS light/dark mode preference\n\n## Installation\n\n1. Clone or download this repo\n2. Open `chrome://extensions` in Chrome\n3. Enable **Developer mode** (top right)\n4. Run `npm install \u0026\u0026 npm run build` to install dependencies and copy vendored assets\n5. Click **Load unpacked** and select the `extension/` subdirectory\n\n## Usage\n\nClick the extension icon to open the popup:\n\n- **Status tab** — see time used per site, reset individual sites, and open the Stats page\n- **Sites tab** — enable/disable sites and add custom ones\n- **Settings tab** — configure the watch limit and cooldown duration\n\nThe **Stats page** shows 30 days of per-site usage history with time spent and blocks triggered per day.\n\n## Development\n\n```bash\nnpm install       # installs deps and copies vendored assets (via prepare)\nnpm test          # run unit tests\nnpm run lint    # ESLint\nnpm run format  # Prettier\n```\n\nA pre-commit hook runs ESLint and Prettier automatically via husky + lint-staged.\n\n### Project structure\n\n```\nextension/      # Chrome extension source (load this folder in Chrome)\n  manifest.json\n  background.js\n  content.js\n  popup.html / popup.js\n  lib/utils.js\n  icons/\ntests/          # Jest unit tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Fsite-limiter-chrome-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewsomething%2Fsite-limiter-chrome-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewsomething%2Fsite-limiter-chrome-ext/lists"}