{"id":18351801,"url":"https://github.com/codeslash21/website_blocker","last_synced_at":"2025-07-05T11:38:41.858Z","repository":{"id":171246317,"uuid":"254910394","full_name":"codeslash21/website_blocker","owner":"codeslash21","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-11T18:14:05.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T15:51:18.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/codeslash21.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}},"created_at":"2020-04-11T16:37:36.000Z","updated_at":"2020-04-11T18:14:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"30b25753-90de-4823-843d-01b6527144ed","html_url":"https://github.com/codeslash21/website_blocker","commit_stats":null,"previous_names":["codeslash21/website_blocker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslash21%2Fwebsite_blocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslash21%2Fwebsite_blocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslash21%2Fwebsite_blocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeslash21%2Fwebsite_blocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeslash21","download_url":"https://codeload.github.com/codeslash21/website_blocker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138007,"owners_count":21053775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-05T21:32:56.624Z","updated_at":"2025-04-10T00:37:09.233Z","avatar_url":"https://github.com/codeslash21.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# website_blocker\n\n## Getting Started:\nThis is a python program that runs in background and block certain website to open for given time period.\nTo run this program for testing you can run `website_blocker.py` file as usual.\nTo run the program in background you have to run `website_blocker.pyw` file by `double click` on it. This file is run by `pythonw.exe`, this is sub-version of python and used for running program in background. This program modify the `hosts` file on your computer to block website thats why `admistrator permission` is required. \n### Set up:\nTo run the program as an admistrator you have to create a task for this and you can do that by the following way - \n* Open `Task Scheduler` and click on `Create Task`.\n* Under `General` do the following - \n    * `Name = Website Blocker` \n    * cinfigure for your windows version.\n    * Check `Run with highest priviliges` to run the script as admistrator otherwise Windows will run the script as a normal user.\n* Under `Trigger` do the following - \n    * Click `New` and `New Task` window will pop up.\n    * In the above window do `Begin the task = At startup` and click `Ok`.\n* Under `Action` do the following -\n    * Click `New` and `New Action` window will pop up.\n    * In the above window do `Action = Start a program` and `Browse` for the `website_blocker.pyw` file and after that click `Ok`.\n* Under `Condition` uncheck `Start the task only if the compter is on AC power`.\n* And finally click on `Ok` and you will see the created Task `Website Blocker` in the task list.\n\n\n\n## License:\nThis project is under _MIT License_ see more in [LICENSE](https://github.com/codeslash21/website_blocker/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeslash21%2Fwebsite_blocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeslash21%2Fwebsite_blocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeslash21%2Fwebsite_blocker/lists"}