{"id":13399381,"url":"https://github.com/nickspaargaren/no-google","last_synced_at":"2025-05-14T15:07:49.894Z","repository":{"id":38352210,"uuid":"169129837","full_name":"nickspaargaren/no-google","owner":"nickspaargaren","description":"Completely block Google and its services","archived":false,"fork":false,"pushed_at":"2025-03-10T09:13:18.000Z","size":2833,"stargazers_count":1329,"open_issues_count":11,"forks_count":103,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-04-04T23:02:20.572Z","etag":null,"topics":["adblock","adguard","advertisements","blacklist","blocklist","google","hosts","pi-hole","privacy","unbound"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickspaargaren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2019-02-04T18:50:14.000Z","updated_at":"2025-04-03T20:11:51.000Z","dependencies_parsed_at":"2023-12-14T16:28:46.478Z","dependency_job_id":"4bef0001-e69f-4159-83f2-decd968e7927","html_url":"https://github.com/nickspaargaren/no-google","commit_stats":{"total_commits":664,"total_committers":20,"mean_commits":33.2,"dds":"0.33283132530120485","last_synced_commit":"54a14b8b3af296e27070ab19aff47b92418fdc66"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickspaargaren%2Fno-google","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickspaargaren%2Fno-google/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickspaargaren%2Fno-google/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickspaargaren%2Fno-google/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickspaargaren","download_url":"https://codeload.github.com/nickspaargaren/no-google/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505871,"owners_count":21115354,"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":["adblock","adguard","advertisements","blacklist","blocklist","google","hosts","pi-hole","privacy","unbound"],"created_at":"2024-07-30T19:00:37.073Z","updated_at":"2025-04-12T01:51:07.908Z","avatar_url":"https://github.com/nickspaargaren.png","language":"Python","funding_links":[],"categories":["Host Block Lists","Python","Networking"],"sub_categories":["Notable Mentions","Host Block Lists"],"readme":"[![No G](https://raw.githubusercontent.com/nickspaargaren/no-google/master/images/GAFAMSPLATTEXTNOGgit.png)](https://github.com/nickspaargaren/no-google)\n\n# Definition of GAFAM\n\n_The GAFAM is an acronym used to describe the five multinational technology companies Google, Amazon, Facebook, Apple and Microsoft, taking the first letters of all these companies. The GAFAM are sometimes referred to as the Big Five due to them being the five most profilific companies in the world. Although in some sectors some of the five companies may be in direct competition, they offer different products or services overall while presenting some common characteristics that deserve to bring them together under the same acronym: by their size, they are particularly influential on the American and European Internet both economically and politically and socially and are regularly the subject of criticism or prosecution on tax matters, abuses of dominant positions and the non-respect of Internet users' privacy._\n\n# Purge Google from your network!\n\nProtect yourself from Google's surveillance by using this blocklist! Feel free to criticize our blocklist to make it better and better. Suggestions are welcome!\n\n## How to use it on my Pi-hole?\n\nSimply go into to your blocklist settings to add:\n\n```\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/pihole-google.txt\n```\n\nOr a selection of the domains :\n\n```\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/youtubeparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/shortlinksparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/proxiesparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/productsparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/mailparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/generalparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/fontsparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/firebaseparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/doubleclickparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/domainsparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/dnsparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/androidparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/analyticsparsed\nhttps://raw.githubusercontent.com/nickspaargaren/no-google/master/categories/fiberparsed\n```\n\n(Combining those with the main whole filter is useless and not recommended, however, feel free to combine the different smaller filters)\n\n### :warning: Important regex filters not included in blocklist\n\n```\n.*[`^.`]l.google.com$\n```\n\n\u003csup\u003eFor example tygbrbooefk4.cache.l.google.com\u003c/sup\u003e\n\n```\n.*[`^.`]googlevideo.com$\n```\n\n\u003csup\u003eFor example r14---sn-vgqs7ned.googlevideo.com\u003c/sup\u003e\n\n## Youtube Advertisements Regex\n\n```\n^r[0123456789]+((-{3})|(.))sn-.{8}.googlevideo.com$\n```\n\nNOTE: Youtube advertisements are pretty difficult to block trough DNS, as they mainly use a couple of domains for delivering advertisements, but they may also use those same domains for delivering other types of contents that you might not want to block.\n\n## Regex filters\n\n```\n(.*\\.|^)((think)?with)?google($|((adservices|apis|mail|static|syndication|tagmanager|tagservices|usercontent|zip|-analytics)($|\\..+)))\n(.*\\.|^)g(gpht|mail|static|v(t[12])?)($|\\..+)\n(.*\\.|^)chrom(e(experiments)?|ium)($|\\..+)\n(.*\\.|^)ampproject($|\\..+)\n(.*\\.|^)doubleclick($|\\..+)\n(.*\\.|^)firebaseio($|\\..+)\n(.*\\.|^)googlevideo($|\\..+)\n(.*\\.|^)waze($|\\..+)\n(.*\\.|^)y(outube|timg)($|\\..+)\n```\n\nYou can also easily use the modified [pihole regex installer script](https://github.com/mmotti/pihole-regex) by [@mmoti](https://github.com/mmotti) by executing this terminal command from your raspberry Pi Pi-hole server.\n\n```\ncurl -sSl https://raw.githubusercontent.com/nickspaargaren/no-google/master/install.py | python3\n\n```\n\nand then, executing it. It should add all of the above regex automatically.\n\n## FAQ\n\n\u003cdetails\u003e\n  \u003csummary\u003eCan I use it with \u003ca href=\"https://nextdns.io\"\u003eNextDNS\u003c/a\u003e?\u003c/summary\u003e\n  \u003cp\u003eYep ! It is available in their selection of domains list, labeled as ¨No Google¨. NextDNS is using the wildcard-domains format, so you will have to manually whitelist some specific services, as it will block everything Google related.\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eCan I use it with my other ads/domains blocker program ?\u003c/summary\u003e\n  \u003cp\u003eSurely! If it does indeed support the host or domains type of filters. Import it manually, or \u003ca href=\"https://subscribe.adblockplus.org/?location=https://raw.githubusercontent.com/nickspaargaren/no-google/master/google-domains\u0026title=no-google\"\u003eclick on this link\u003c/a\u003e if you are using a web browser extension.\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eCan I use it with anything other than Pi-hole?\u003c/summary\u003e\n  \u003cp\u003eSure thing, the No Google list is declined into multiples formats types, as an host format, domains/urls format and a wildcard format.\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eHum, do you got any mirrors of the list ?\u003c/summary\u003e\n  \u003cp\u003eYes indeed, We have a GitLab host mirror of the repo available at this address : https://framagit.org/PoorPocketsMcNewHold/no-google\nNote that the main filter is being worked here, so, updates and modifications on the Gitlab source will have to be updated manually.\nOtherwise, if you do prefer to use Gitlab, feel free to use it, and even contribute to our list there instead!\u003c/p\u003e\n\u003c/details\u003e\n\n## Development\n\nRun `make` to list all available commands.\n\n### The converter program\n\n#### Data conversion\n\nThe program `convert.py` will read `pihole-google.txt` as input file and convert its\ncontent into different output formats. It can be invoked like\n\n```shell\npython3 convert.py pihole\n```\n\nIn order to produce all different output formats, run\n\n```shell\npython3 convert.py all\n```\n\n#### JSON output\n\nIt also can output the data in JSON format:\n\n```shell\npython3 convert.py json\n```\n\nWith this output, and the `jq` program, the data can be filtered and manipulated easily.\nIn the following section, you can find corresponding examples.\n\n```shell\n# Produce list of all category names\npython3 convert.py json | jq -r 'keys | .[]'\n\n# Produce list of domains for the `Doubleclick` category only\npython3 convert.py json | jq -r '.Doubleclick | .[]'\n\n# Produce list of domains for the `Analytics` and `Doubleclick` categories\npython3 convert.py json | jq -r '(.Analytics,.Doubleclick) | .[]'\n```\n\n## Can I block the other letters of GAFAM ?\n\nOf course, here’s some filterlists that should help you accomplish that.\n\n**A**pple : https://github.com/c-edw/ios-telemetry, https://github.com/1r2/iosparanoid or https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.apple.txt\n\n**F**acebook : https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/facebook/all, https://raw.githubusercontent.com/anudeepND/blacklist/master/facebook.txt or https://github.com/Bundy01/meta-blocklists\n\n**A**mazon : https://github.com/nickspaargaren/no-amazon\n\n**M**icrosoft : https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/microsoft/all\n\n[![https://gafam.info](https://raw.githubusercontent.com/nickspaargaren/no-google/master/images/gafam-poster-en-color.png)](https://gafam.info)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickspaargaren%2Fno-google","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickspaargaren%2Fno-google","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickspaargaren%2Fno-google/lists"}