{"id":34694063,"url":"https://github.com/nohuto/blocklist-mgr","last_synced_at":"2026-05-18T06:11:24.344Z","repository":{"id":313880984,"uuid":"1053266988","full_name":"nohuto/blocklist-mgr","owner":"nohuto","description":"GUI that lets you easily select one or more blocklists (hosts or URLs, e.g., for UBO).","archived":false,"fork":false,"pushed_at":"2026-03-16T18:37:58.000Z","size":19640,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-17T05:33:39.304Z","etag":null,"topics":["automation","blocklist","hosts","hosts-file-modification","hosts-management","hostseditor","hostsfile","powershell","ps","ublock","ublock-origin","ublock-origin-filters","windowsforms"],"latest_commit_sha":null,"homepage":"https://noverse.dev","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nohuto.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-09T08:04:38.000Z","updated_at":"2026-03-16T18:38:02.000Z","dependencies_parsed_at":"2025-09-14T11:36:55.993Z","dependency_job_id":"1fbaf217-ab9f-4b3e-b304-7558405b7573","html_url":"https://github.com/nohuto/blocklist-mgr","commit_stats":null,"previous_names":["5noxi/blocklist-modification","5noxi/blocklistman","5noxi/blocklist-mgr","nohuto/blocklist-mgr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nohuto/blocklist-mgr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nohuto%2Fblocklist-mgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nohuto%2Fblocklist-mgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nohuto%2Fblocklist-mgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nohuto%2Fblocklist-mgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nohuto","download_url":"https://codeload.github.com/nohuto/blocklist-mgr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nohuto%2Fblocklist-mgr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31884929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["automation","blocklist","hosts","hosts-file-modification","hosts-management","hostseditor","hostsfile","powershell","ps","ublock","ublock-origin","ublock-origin-filters","windowsforms"],"created_at":"2025-12-24T22:13:52.690Z","updated_at":"2026-04-16T12:01:25.625Z","avatar_url":"https://github.com/nohuto.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blocklist Manager\n\nThe hosts file is a local DNS override used to block domains or redirect websites. (`C:\\Windows\\System32\\drivers\\etc\\hosts`) A filter get's added via e.g. uBO - filter within the browser -\u003e no system wide blocking.\n\nPreview (not up to date):\n\nhttps://github.com/user-attachments/assets/3429692e-2587-440a-b48c-a3b8ba46b149\n\nExamples:\n```\n0.0.0.0 ads.com -\u003e non routable address\n127.0.0.1 ads.com -\u003e loopback address\n\n||ads.com^ -\u003e filter (browser)\n@@||ads.com^ -\u003e exception\n```\nFirst numbers (IP address) is where the domain will be **directed to**, the second (domain name) is the site, which is getting **redirected** (blocked). \n\n\u003e - [`0.0.0.0`](https://en.wikipedia.org/wiki/0.0.0.0) **blocks/drops** the request instantly - making them \"unreachable\" (known as being faster than `127.0.01`, but may be incompatible on some systems)\n\u003e - [`127.0.0.1`](https://en.wikipedia.org/wiki/localhost) redirects the domain to the **localhost** (your computer) - called \"*loopback address*\"\n\u003e - [`||ads.com^`](https://adblockplus.org/filter-cheatsheet?DE_EXCEPTION=1) blocks the domain - wouldn't block `http://domain.com/redirect/http://ads.com/` -\u003e can't be used within the hosts file\n⠀\nYou should never use all blocklists! This would break most of your applications \u0026 slow down your system by a lot. Applying all lists won't give you a better browsing experience! Try to use at least lists as possible. (or use the default preset) Using big lists system wide (hosts file) is also not recommended - if you're planning to use a big list, do that via e.g. uBO (even if the list is compatible with the hosts file). Importing a list will override your current hosts!\n\nMy suggestion is to choose a specific provider instead of using lists from different ones (if they're meant to block the same things). As you might see, I would choose hagezi at the moment.\n\nIt's also recommended to apply e.g. 'Native Microsoft' seperately (without 'Pro', 'TIF', etc. so it gets written into the hosts file).\n\n[`Hosts File Editor`](https://github.com/nohuto/windows-dev-docs/blob/docs/hub/powertoys/hosts-file-editor.md) (PowerToys) can be used for editing, adding, removing, and managing hosts file entries. It's not compatible with the entries `Blocklist-Manager.ps1` makes, as it compresses the entries, e.g.:\n```ps\n# Default formatting\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n0.0.0.0 noverse.dev\n\n# Compressed\n0.0.0.0 noverse.dev noverse.dev noverse.dev noverse.dev noverse.dev noverse.dev noverse.dev noverse.dev noverse.dev noverse.dev\n```\nIt's included in PowerToys (`winget install Microsoft.PowerToys`), but doesn't need to be installed if you use `Blocklist-Manager.ps1`, unless you want to manage single entries (which is buggy anyway). I'll probably add my own editor soon that correctly handles compressed host entries.\n\n![](https://github.com/nohuto/blocklist-mgr/blob/main/images/powertoyshosts.png)\n\n## Issues after importing multiple lists?\n\nOpen `cmd` and paste `del /f /q C:\\Windows\\System32\\drivers\\etc\\hosts` into it. If it shows that the DNS client used it, flush your DNS (`ipconfig /flushdns`). Still not? Boot into safemode (`bcdedit /set safeboot minimal`) \u0026 remove the hosts file. This may be needed, if importing too many lists.\n\nDefault `hosts` content:\n```ps\n# Copyright (c) 1993-2009 Microsoft Corp.\n#\n# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.\n#\n# This file contains the mappings of IP addresses to host names. Each\n# entry should be kept on an individual line. The IP address should\n# be placed in the first column followed by the corresponding host name.\n# The IP address and the host name should be separated by at least one\n# space.\n#\n# Additionally, comments (such as these) may be inserted on individual\n# lines or following the machine name denoted by a '#' symbol.\n#\n# For example:\n#\n#      102.54.94.97     rhino.acme.com          # source server\n#       38.25.63.10     x.acme.com              # x client host\n\n# localhost name resolution is handled within DNS itself.\n#    127.0.0.1       localhost\n#    ::1             localhost\n```\n\n## GUI Buttons\n\nThe presets are just examples, use lists from the vendor you prefer.\n\n| Button | Description |\n| --- | --- |\n| `Minimal` | Preset which can be used by anyone. |\n| `Default` | Default preset, uses Pro/TIF without adding the extra lists that aren't included in them. |\n| `Maximum` | Aggressive blocking, uses Pro++, TIF and all additional security related lists which aren't included in them (doesn't apply any protections for children). |\n| `Import` | Imports the currently selected lists into the `hosts` file (if compatible). |\n| `Copy Links` | Copies URLs of all selected lists. Add these links to the custom filter lists:\u003cbr\u003e![](https://github.com/nohuto/blocklist-mgr/blob/main/images/ubolinks.png?raw=true) |\n| `Restore` | Imports the backup from: `C:\\Windows\\System32\\drivers\\etc\\hosts.noverse`. |\n| `Open File` | Opens the file: `C:\\Windows\\System32\\drivers\\etc\\hosts`. |\n\n## Additional Features\n- Click on the category name (blue) to open the source link\n- Adjust the window size, to increase the size of the hosts/log box\n- `hosts` preview refreshes itself automatically\n- You can edit the hosts file via the panel in the GUI (doesn't create a backup)\n\nMore lists/information:\n\u003e https://github.com/gorhill/uBlock/wiki/  \n\u003e https://adblockplus.org/filter-cheatsheet  \n\u003e https://github.com/DandelionSprout/adfilt  \n\u003e https://github.com/uBlockOrigin/uAssets  \n\u003e https://filterlists.com/  \n\u003e https://pi-hole.net/  \n\u003e https://sefinek.net/blocklist-generator  \n\u003e https://github.com/pixeltris/TwitchAdSolutions  \n\u003e https://learn.microsoft.com/en-us/windows/powertoys/hosts-file-editor  \n\u003e https://pyfunceble.github.io/#/  \n\u003e https://learn.microsoft.com/en-us/windows/privacy/windows-11-endpoints-non-enterprise-editions  \n\u003e https://learn.microsoft.com/en-us/windows/privacy/manage-windows-11-endpoints  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnohuto%2Fblocklist-mgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnohuto%2Fblocklist-mgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnohuto%2Fblocklist-mgr/lists"}