mirror of
https://0xacab.org/dCF/deCloudflare.git
synced 2025-01-15 11:46:56 -05:00
.
This commit is contained in:
parent
ead927827e
commit
e7991869b4
@ -186,6 +186,7 @@
|
||||
- [with Firewall](block_cloudflare_with/firewall.md)
|
||||
- [with Proxy](block_cloudflare_with/proxy.md)
|
||||
- [on Android](block_cloudflare_with/android.md)
|
||||
- [on Fediverse](block_cloudflare_with/fediverse.md)
|
||||
- [PEOPLE.md](../PEOPLE.md)
|
||||
- [Twitter](people/twitter.md)
|
||||
- [Mastodon](people/mastodon.md)
|
||||
|
38
subfiles/block_cloudflare_with/fediverse.md
Normal file
38
subfiles/block_cloudflare_with/fediverse.md
Normal file
@ -0,0 +1,38 @@
|
||||
# How to Block Cloudflare
|
||||
## on Fediverse
|
||||
|
||||
This page show you how to block CloudFlare servers from your timeline.
|
||||
|
||||
- [Cloudflare-only Fediverse list](https://karma.crimeflare.eu.org:1984/api/listdata/?name=cf_fediverse_CSV), from [Cloudflared Fediverse](../cloudflared/social/fediverse.md)
|
||||
|
||||
|
||||
### With Mastodon (as User)
|
||||
|
||||
<details><summary> _click me_ </summary>
|
||||
|
||||
1. Download `Cloudflare-only Fediverse list` above.
|
||||
2. Go to your `Preferences` -> `Import and Export` section.
|
||||
3. Select Import type `Domain blocklist list`, select Data file to your downloaded text file, click `UPLOAD`.
|
||||
4. Confirm the import if asked.
|
||||
5. Wait for Mastodon complete the import. This will take a long time.
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
### With Mastodon (as Admin)
|
||||
|
||||
<details><summary> _click me_ </summary>
|
||||
|
||||
1. Download `Cloudflare-only Fediverse list` above. ([API info](../service/karma_api.md#get-data))
|
||||
2. Save below script and run it.
|
||||
|
||||
```
|
||||
#!/bin/bash
|
||||
|
||||
while IFS= read -r domain
|
||||
do
|
||||
tootctl domains block "$domain"
|
||||
done < cf_fediverse.txt
|
||||
```
|
||||
|
||||
</details>
|
@ -51,13 +51,13 @@ Replace the `(base url)` to:
|
||||
|
||||
### Get Data
|
||||
|
||||
- Get data in simple JSON format.
|
||||
- Get data in simple format.
|
||||
- For your automation use.
|
||||
|
||||
| ? | ? |
|
||||
| -- | -- |
|
||||
| Location | `(base url)listdata/` |
|
||||
| Request Method | `GET` |
|
||||
| Input | `name` is required.<br>`name` string (e.g. `cf_fediverse`)<br>possible values:<br>`cf_fediverse` [Cloudflared Fediverse](../cloudflared/social/fediverse.md) |
|
||||
| Output | JSON value as array. |
|
||||
| Input | `name` is required.<br>`name` string (e.g. `cf_fediverse`)<br>possible values:<br>`cf_fediverse` JSON [Cloudflared Fediverse](../cloudflared/social/fediverse.md)<br>`cf_fediverse_CSV` Text |
|
||||
| Output | JSON or Text |
|
||||
| cURL Example | `curl -k --http2 https://clearnet/api/listdata/?name=cf_fediverse` |
|
||||
|
Loading…
Reference in New Issue
Block a user