cloudflare-tor/tool/mastodonwch/README.md

58 lines
1.1 KiB
Markdown
Raw Normal View History

2020-11-28 00:42:05 +01:00
### Shared on Mastodon
2020-11-28 00:55:53 +01:00
Who is sharing most Cloudflare links to other people?
Oh, it's you?
Congratulations, you are ranked in the top 50 of...
2020-11-28 00:42:05 +01:00
2020-11-28 01:23:08 +01:00
![](https://codeberg.org/crimeflare/stop_cloudflare/raw/branch/master/image/clapclapclap.gif)
(_Sarcasm? Yes. Stop sharing CF links already_)
### Some public reaction
[wip]
### Code
- [index.php](index.php): Main website to show the result
- [cron.php](cron.php): Use it with your cronjob
2020-11-28 00:42:05 +01:00
### Database
- toot_cfsaid: Tweet URL which CF link was observed
```
id varchar(40) UNIQUE
who varchar(80) INDEX
url varchar(200) INDEX
ym int(6) INDEX
```
- toot_notcf_fqdn: Unknown FQDN which was not listed as Cloudflare
```
fqdn varchar(200) UNIQUE
dl int(1) INDEX
```
- toot_scanned: To make sure not to analyze same tweet again
```
id varchar(40) UNIQUE
who varchar(80) INDEX
iscf int(1) INDEX
ym int(6) INDEX
```
- toot_sharefqdn: Just for counting FQDN
```
id varchar(40) UNIQUE
fqdn varchar(200) INDEX
ym int(6) INDEX
```
2020-11-28 00:52:07 +01:00
### Live demo
2020-11-28 01:02:15 +01:00
If you want to see this in action: [Onion](http://stopcloudflare@avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/mastodon/)