From: Steven Black Date: Tue, 1 Oct 2024 21:29:07 +0000 (-0400) Subject: Upload updated readme generator, and associated generated readme files. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=8f2fb38233870814e67900bd64c1f246820dc008;p=stevenblack-hosts.git Upload updated readme generator, and associated generated readme files. --- diff --git a/alternates/fakenews-gambling-only/readme.md b/alternates/fakenews-gambling-only/readme.md index 9d9ed7484..2430b5f9f 100644 --- a/alternates/fakenews-gambling-only/readme.md +++ b/alternates/fakenews-gambling-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews, gambling](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-only/hosts) containing 10,657 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-gambling-porn-only/readme.md b/alternates/fakenews-gambling-porn-only/readme.md index df2a8f92b..dc362199e 100644 --- a/alternates/fakenews-gambling-porn-only/readme.md +++ b/alternates/fakenews-gambling-porn-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews, gambling, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-only/hosts) containing 97,711 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-gambling-porn-social-only/readme.md b/alternates/fakenews-gambling-porn-social-only/readme.md index a2479c578..299c65968 100644 --- a/alternates/fakenews-gambling-porn-social-only/readme.md +++ b/alternates/fakenews-gambling-porn-social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews, gambling, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social-only/hosts) containing 100,934 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-gambling-porn-social/readme.md b/alternates/fakenews-gambling-porn-social/readme.md index f7dae84da..ec45596d0 100644 --- a/alternates/fakenews-gambling-porn-social/readme.md +++ b/alternates/fakenews-gambling-porn-social/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews, gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts) containing 216,240 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-gambling-porn/readme.md b/alternates/fakenews-gambling-porn/readme.md index c92db7078..e41162467 100644 --- a/alternates/fakenews-gambling-porn/readme.md +++ b/alternates/fakenews-gambling-porn/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews, gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts) containing 213,046 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-gambling-social-only/readme.md b/alternates/fakenews-gambling-social-only/readme.md index d4e5e892a..929595aaa 100644 --- a/alternates/fakenews-gambling-social-only/readme.md +++ b/alternates/fakenews-gambling-social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews, gambling, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social-only/hosts) containing 13,881 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-gambling-social/readme.md b/alternates/fakenews-gambling-social/readme.md index 7ef93eaff..459071066 100644 --- a/alternates/fakenews-gambling-social/readme.md +++ b/alternates/fakenews-gambling-social/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews, gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-social/hosts) containing 129,882 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-gambling/readme.md b/alternates/fakenews-gambling/readme.md index afd8729a6..db3de8830 100644 --- a/alternates/fakenews-gambling/readme.md +++ b/alternates/fakenews-gambling/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews, gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts) containing 126,687 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-only/readme.md b/alternates/fakenews-only/readme.md index 6e5a60827..934a14964 100644 --- a/alternates/fakenews-only/readme.md +++ b/alternates/fakenews-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-only/hosts) containing 2,194 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-porn-only/readme.md b/alternates/fakenews-porn-only/readme.md index cd2007d46..a15be05a1 100644 --- a/alternates/fakenews-porn-only/readme.md +++ b/alternates/fakenews-porn-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-only/hosts) containing 89,248 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-porn-social-only/readme.md b/alternates/fakenews-porn-social-only/readme.md index 932e32996..e7a48be12 100644 --- a/alternates/fakenews-porn-social-only/readme.md +++ b/alternates/fakenews-porn-social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social-only/hosts) containing 92,471 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-porn-social/readme.md b/alternates/fakenews-porn-social/readme.md index ca2f615d4..7928ac3fa 100644 --- a/alternates/fakenews-porn-social/readme.md +++ b/alternates/fakenews-porn-social/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn-social/hosts) containing 207,789 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-porn/readme.md b/alternates/fakenews-porn/readme.md index 8ff0b3501..215401b43 100644 --- a/alternates/fakenews-porn/readme.md +++ b/alternates/fakenews-porn/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-porn/hosts) containing 204,595 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-social-only/readme.md b/alternates/fakenews-social-only/readme.md index 5fd907de1..e1cdd2876 100644 --- a/alternates/fakenews-social-only/readme.md +++ b/alternates/fakenews-social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: fakenews, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social-only/hosts) containing 5,418 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews-social/readme.md b/alternates/fakenews-social/readme.md index 7961f6a02..555524e82 100644 --- a/alternates/fakenews-social/readme.md +++ b/alternates/fakenews-social/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-social/hosts) containing 121,431 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/fakenews/readme.md b/alternates/fakenews/readme.md index ef1e3f3d5..957f8160c 100644 --- a/alternates/fakenews/readme.md +++ b/alternates/fakenews/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with fakenews extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts) containing 118,236 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling-only/readme.md b/alternates/gambling-only/readme.md index 608be8c67..5ce9232a6 100644 --- a/alternates/gambling-only/readme.md +++ b/alternates/gambling-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: gambling](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-only/hosts) containing 8,463 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling-porn-only/readme.md b/alternates/gambling-porn-only/readme.md index a640f85ae..b9ede1c7b 100644 --- a/alternates/gambling-porn-only/readme.md +++ b/alternates/gambling-porn-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: gambling, porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-only/hosts) containing 95,517 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling-porn-social-only/readme.md b/alternates/gambling-porn-social-only/readme.md index 1362aa77e..8a6ac7a17 100644 --- a/alternates/gambling-porn-social-only/readme.md +++ b/alternates/gambling-porn-social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: gambling, porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social-only/hosts) containing 98,740 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling-porn-social/readme.md b/alternates/gambling-porn-social/readme.md index f269dc056..2707d37b4 100644 --- a/alternates/gambling-porn-social/readme.md +++ b/alternates/gambling-porn-social/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with gambling, porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn-social/hosts) containing 214,046 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling-porn/readme.md b/alternates/gambling-porn/readme.md index 53c2afc7a..a7c0bdde2 100644 --- a/alternates/gambling-porn/readme.md +++ b/alternates/gambling-porn/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with gambling, porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts) containing 210,852 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling-social-only/readme.md b/alternates/gambling-social-only/readme.md index 7ab971147..bc38f25b8 100644 --- a/alternates/gambling-social-only/readme.md +++ b/alternates/gambling-social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: gambling, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social-only/hosts) containing 11,687 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling-social/readme.md b/alternates/gambling-social/readme.md index cc24d5778..7e205cd9d 100644 --- a/alternates/gambling-social/readme.md +++ b/alternates/gambling-social/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with gambling, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-social/hosts) containing 127,688 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/gambling/readme.md b/alternates/gambling/readme.md index 431cab1ba..3f1845eb3 100644 --- a/alternates/gambling/readme.md +++ b/alternates/gambling/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with gambling extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts) containing 124,493 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/porn-only/readme.md b/alternates/porn-only/readme.md index 4a2b3df99..e86abce17 100644 --- a/alternates/porn-only/readme.md +++ b/alternates/porn-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: porn](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-only/hosts) containing 87,054 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/porn-social-only/readme.md b/alternates/porn-social-only/readme.md index df400104e..aa8b0c0e8 100644 --- a/alternates/porn-social-only/readme.md +++ b/alternates/porn-social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: porn, social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social-only/hosts) containing 90,277 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/porn-social/readme.md b/alternates/porn-social/readme.md index 3f83a8ef1..455acdece 100644 --- a/alternates/porn-social/readme.md +++ b/alternates/porn-social/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with porn, social extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn-social/hosts) containing 205,595 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/porn/readme.md b/alternates/porn/readme.md index 5ce877be2..e2db4beca 100644 --- a/alternates/porn/readme.md +++ b/alternates/porn/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Unified hosts file with porn extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts) containing 202,401 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/alternates/social-only/readme.md b/alternates/social-only/readme.md index 635333c6c..492e2dce3 100644 --- a/alternates/social-only/readme.md +++ b/alternates/social-only/readme.md @@ -35,7 +35,7 @@ files are provided. [raw hosts file Limited to the extensions: social](https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social-only/hosts) containing 3,224 entries. -![Size history](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts_file_size_history.png) +![Size history](./stats.png) ## List of all hosts file variants diff --git a/updateReadme.py b/updateReadme.py index 68eb219d2..4c3f96e5f 100755 --- a/updateReadme.py +++ b/updateReadme.py @@ -105,7 +105,15 @@ def main(): ) line = line.replace("@TOCROWS@", toc_rows) line = line.replace("@SOURCEROWS@", source_rows) - line = line.replace("@SIZEHISTORY@", size_history_graph) + # insert the size graph on the home readme only, for now. + if key == "base": + line = line.replace( + "@SIZEHISTORY@", size_history_graph + ) + else: + line = line.replace( + "@SIZEHISTORY@", "![Size history](stats.png)") + out.write(line)