Skip to content

Commit 254cb3b

Browse files
committed
doc(fix): Satisfied MarkdownLint
1 parent c5b14fd commit 254cb3b

File tree

6 files changed

+55
-37
lines changed

6 files changed

+55
-37
lines changed

.markdownlint.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"MD004": false,
3+
"MD007": {
4+
"indent": 2
5+
},
6+
"MD013": {
7+
"line_length": 400
8+
},
9+
"MD026": {
10+
"punctuation": ".,;:!。,;:"
11+
},
12+
"MD029": false,
13+
"MD033": false,
14+
"MD036": false,
15+
"MD041": false,
16+
"blank_lines": false
17+
}

LICENSE.md renamed to LICENSE.txt

File renamed without changes.

MANIFESTO.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Table of contents
2-
3-
- [Black Mirror](#black-mirror)
4-
- [On Spyware/Stalkerware](#on-spywarestalkerware)
5-
- [On Propaganda](#on-propaganda)
6-
- [On Social Media](#on-social-media)
7-
81
# Black Mirror
92

103
The primary goals of this project are as follows:
@@ -31,6 +24,13 @@ The real power behind the freedom of speech is the ability to hear many opinions
3124
“Before you become too entranced with gorgeous gadgets and mesmerizing video displays, let me remind you that information is not knowledge, knowledge is not wisdom, and wisdom is not foresight. Each grows out of the other, and we need them all.”\
3225
*Arthur C. Clarke*
3326

27+
## Table of contents
28+
29+
- [Black Mirror](#black-mirror)
30+
- [On Spyware/Stalkerware](#on-spywarestalkerware)
31+
- [On Propaganda](#on-propaganda)
32+
- [On Social Media](#on-social-media)
33+
3434
## On Spyware/Stalkerware
3535

3636
<p align="center">
@@ -67,11 +67,15 @@ These services intrude on privacy, are usually malware, and compromise individua
6767
Internet "rabbit holes" and sites that primarily feature "knee-jerk contrarianism" do not promote sanity, and therefore are blocked.
6868

6969
Regarding religion and sciences, `Black Mirror` takes an agnostic position on matters regarding how the universe began or where lacking sufficient historical data produces inconclusive results.
70-
This means a source will not be blocked specifically if it promotes athiesm or a popular religion.
71-
However, on matters where sufficient information is available to make an educated conclusion, opposing views (i.e. "knee-jerk contrarianism") featured on sites as a majority opinion (> 50%) will result in their host being blocked. To take this same reasoning into a non-religious context and provide a practical example, because we have conclusive evidence on the fact that the Earth is round from the time of Eratosthenes, sites that feature contradictory viewpoints as an opinion majority get blocked.
70+
This means a source will not be specifically blocked for promoting a popular viewpoint, such as athiesm, a religion, alternative sciences, etc.
71+
However, on matters where sufficient information is available to make an educated conclusion,
72+
"knee-jerk contrarian" views featured on sites as a majority opinion (> 50%)
73+
will result in their host(s) being blocked. To take this same reasoning into a non-religious context
74+
and provide a practical example, because we have conclusive evidence on the fact that the Earth is round
75+
from the time of Eratosthenes, sites that feature contradictory viewpoints as an opinion majority get blocked.
7276

7377
Regarding politics, `Black Mirror` takes a non-radical Libertarian perspective.
74-
A source will not be blocked specifically if it promotes a non-radical left or right political perspective.
78+
A source will not be specifically blocked for promoting a popular viewpoint, such as a non-radical left or right political perspective.
7579
Like dealings with religion, platforms that promote "knee-jerk contrarianism" or philosophy that significantly breaches individual safety as an opinion majority will be blocked.
7680

7781
“True liberty consists only in the power of doing what we ought to will, and in not being constrained to do what we ought not to will.”\

README.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Free thought exchange is encouraged, so feel free to open discussions about any
216216

217217
### 🧮 Checksum Evaluation
218218

219-
```
219+
```bash
220220
cat black_domain.txt | sha256sum -c black_domain.checksums --status && echo $?
221221
```
222222

@@ -236,39 +236,39 @@ Provided below are some examples to fetch release artifacts leveraging the GitHu
236236

237237
#### Get all build artifacts
238238

239-
```
239+
```bash
240240
curl --proto '=https' --tlsv1.3 -H 'Accept: application/vnd.github.v3+json' -sSf https://api.github.com/repos/T145/black-mirror/releases/latest | jq -r '.assets[].browser_download_url'
241241
```
242242

243243
#### Get a build artifact & its checksum
244244

245-
```
245+
```bash
246246
curl --proto '=https' --tlsv1.3 -H 'Accept: application/vnd.github.v3+json' -sSf https://api.github.com/repos/T145/black-mirror/releases/latest | jq -r '.assets[] | select(.name | startswith("black_domain")).browser_download_url'
247247
```
248248

249249
#### Get a single build artifact
250250

251-
```
251+
```bash
252252
curl --proto '=https' --tlsv1.3 -H 'Accept: application/vnd.github.v3+json' -sSf https://api.github.com/repos/T145/black-mirror/releases/latest | jq -r '.assets[] | select(.name | startswith("black_domain")) | select(.name | endswith(".txt")).browser_download_url'
253253
```
254254

255255
## 🐋 Docker Usage
256256

257257
To provide a temporary container to experiment with `Black Mirror` scripts and the CLI utilities it uses, run the following:
258258

259-
```
259+
```bash
260260
docker container run -it --rm -h black-mirror ghcr.io/t145/black-mirror
261261
```
262262

263263
For a persistant container, use something like what's given below:
264264

265-
```
266-
docker container run -it --name black-mirror -h black-mirror black-mirror
265+
```bash
266+
docker container run -it --name black-mirror -h black-mirror ghcr.io/t145/black-mirror
267267
```
268268

269269
## 🛠️ List Usage
270270

271-
### Desktop OS Hosts File
271+
### Hosts File
272272

273273
```bash
274274
mawk '{print "0.0.0.0 " $0}' black_domain.txt >>hosts
@@ -277,32 +277,33 @@ mawk '{print "0.0.0.0 " $0}' black_ipv4.txt >>hosts
277277
mawk '{print ":: " $0}' black_ipv6.txt >>hosts
278278
```
279279

280-
### dnsmasq
280+
### [Dnsmasq](https://dnsmasq.org/)
281281

282-
Many popular platforms such as OpenWRT, DDWRT, and Pihole use DNSmasq as their choice TCP powerhouse. After inspecting many domain blocklists you'll inevitably run across a list in the `dnsmasq.conf` format. This list doesn't support it because you can use the `addn-hosts` parameter to add hosts in the list.
283-
Target a file that has the hosts in a format similar to the `Desktop OS Hosts File format`.
282+
Many popular platforms such as OpenWRT, DDWRT, and Pi-hole use Dnsmasq as their choice TCP powerhouse. After inspecting many domain blocklists you'll inevitably run across a list in the `dnsmasq.conf` format. This list doesn't support it because you can use the `addn-hosts` parameter to add hosts in the list.
283+
Target a file that has the hosts in a format similar to the **Hosts File** format.
284284

285285
If you're using the `RADVD` daemon, prepend any listed hosts with [`::`](https://stackoverflow.com/questions/40189084/what-is-for-localhost-and-0-0-0-0). Otherwise, even if you have IPv6 support set up, prepend hosts with [`0.0.0.0`](https://github.com/StevenBlack/hosts#we-recommend-using-0000-instead-of-127001).
286286

287287
This has been tested across all the mentioned platforms using `dig{6}` on a small sample size and had each host null-routed successfully. [DNSmasq's man page](https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html) discusses configuration further, and [DDWRT's ad blocking wiki page](https://wiki.dd-wrt.com/wiki/index.php/Ad_blocking) provides some examples.
288288

289289
#### Amazon EC2 DNS Resolver
290290

291-
Follow [this guide](https://aws.amazon.com/premiumsupport/knowledge-center/dns-resolution-failures-ec2-linux/) to create a DNS server on a Amazon EC2 instance.
291+
Follow [this guide](https://aws.amazon.com/premiumsupport/knowledge-center/dns-resolution-failures-ec2-linux/) to create a DNS server on an Amazon EC2 instance.
292292

293-
### pihole
293+
### [Pi-hole](https://pi-hole.net/)
294294

295-
If you'd like to update when some sources do or not extract a production build, just use the [single-line list](https://discourse.pi-hole.net/t/how-to-add-blocklists-v5-and-later/32127) [`sources.pihole`](https://github.com/T145/black-mirror/blob/master/dist/sources.pihole). Note that this list only contains Pihole-compatible sources, and not every handled source. Some manual configuration may also be required.
295+
If you'd like to update when some sources do or not extract a production build, just use the [single-line list](https://discourse.pi-hole.net/t/how-to-add-blocklists-v5-and-later/32127) [`sources.pihole`](https://github.com/T145/black-mirror/blob/master/dist/sources.pihole).
296+
Note that this list only contains Pihole-compatible sources, and not every handled source. Some manual configuration may also be required.
296297

297-
### unbound
298+
### [unbound](https://nlnetlabs.nl/projects/unbound/about/)
298299

299300
Similar to dnsmasq, but requires more manual configuration. Name any products as a \*.conf file. [Then follow Steffinstanly's instructions on how to apply blocklists](https://medium.com/@steffinstanly/unbound-dns-blocking-3567986a5735).
300301

301-
### personalDNSfilter
302+
### [personalDNSfilter](https://github.com/IngoZenz/personaldnsfilter)
302303

303304
Use the domain list.
304305

305-
### adguard
306+
### [Adguard](https://adguard.com/en/welcome.html)
306307

307308
Leverage the [`sources.adguard`](https://github.com/T145/black-mirror/blob/master/dist/sources.adguard) list or the domain list.
308309

@@ -513,7 +514,7 @@ Leverage the [`sources.adguard`](https://github.com/T145/black-mirror/blob/maste
513514
- analytics
514515
- enrichments
515516

516-
#### TODO
517+
#### Add to blacklist
517518

518519
- [Yuki2718](https://github.com/Yuki2718/adblock)
519520
- [Mochi Filter](https://github.com/eEIi0A5L/adblock_filter/blob/master/mochi_filter.txt)
@@ -618,7 +619,7 @@ Leverage the [`sources.adguard`](https://github.com/T145/black-mirror/blob/maste
618619
- custom-porn-whitelist
619620
- [metalhead](https://github.com/T145/metalhead)
620621

621-
#### TODO
622+
#### Add to whitelist
622623

623624
- [trackerslist](https://github.com/ngosang/trackerslist)
624625
- trackers_all
@@ -636,7 +637,7 @@ Leverage the [`sources.adguard`](https://github.com/T145/black-mirror/blob/maste
636637
- [quindecim](https://github.com/quindecim/block)
637638
- [domains-allowlist](https://github.com/quindecim/block/blob/master/config/domains-allowlist.txt)
638639
- [CryptoScamDB](https://github.com/CryptoScamDB)
639-
- [blacklist](https://api.cryptoscamdb.org/v1/whitelist)
640+
- [whitelist](https://api.cryptoscamdb.org/v1/whitelist)
640641

641642
### 🥢 Duplicates
642643

data/v1/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Home: <https://etip.exodus-privacy.eu.org/trackers/all>
1111
- [Mirror 1](https://raw.githubusercontent.com/blokadaorg/landing-github-pages/master/blocklists/exodusprivacy/standard/hosts.txt)
1212
- [Mirror 2](https://blokada.org/blocklists/exodusprivacy/standard/hosts.txt)
1313

14-
#### References
15-
1614
- <https://community.blokada.org/t/introducing-exodus-privacy-to-blokada/7358>
1715
- <https://github.com/blokadaorg/landing-github-pages/blob/master/scripts/exodus.py>
1816

@@ -22,8 +20,6 @@ Home: <https://etip.exodus-privacy.eu.org/trackers/all>
2220

2321
Home: <https://twitter.com/Certego_Intel>
2422

25-
#### References
26-
2723
- <https://github.com/scafroglia93/blocklists/blob/master/blocklists-certego.txt>
2824

2925
---

data/v2/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## OISD
1+
# OISD
22

33
*Note: Any lists covered in Black Mirror or are offline are not listed.*
44

5-
### 🥢 Duplicates
5+
## 🥢 Duplicates
66

77
> Sources that contain duplicate and potentially deprecated data.
88
@@ -53,7 +53,7 @@
5353
- [sspakrac](https://www.sspakrac.hr/blokiraniurl/hosts.txt)
5454
- Ancient `WinHelp` version.
5555

56-
### 🧟 Zombies
56+
## 🧟 Zombies
5757

5858
> Sources that are dead or deprecated and not included but may be [worth mentioning](https://blog.talosintelligence.com/2021/03/domain-dumpster-diving.html).
5959

0 commit comments

Comments
 (0)