3 <title>fedi-block-api{% if domain %} {{domain}}{% endif %}</title>
4 <link rel="alternate" type="application/rss+xml" title="RSS Feed for latest blocked instances" href="{{base_url}}/rss" />
6 <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocked domain {{domain}}" href="{{base_url}}/rss?domain={{domain}}" />
8 <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocking domain {{reverse}}" href="{{base_url}}/rss?reverse={{reverse}}" />
12 background-color: #000022;
18 background-color: #1c1c3c;
26 background-color: #2d2d4d;
29 table tr:nth-of-type(2n) {
30 background-color: #1c1c3c;
35 .block_level table td:nth-of-type(1), .block_level table td:nth-of-type(2),
36 .block_level table td:nth-of-type(4), .block_level table td:nth-of-type(5) {
40 background-color: #2d2d4d;
48 text-decoration: none;
54 input[type="text"], input[type="submit"] {
62 input[type="text"]:hover {
66 input[type="submit"] {
70 input[type="submit"]:hover {
75 text-decoration: underline dotted;
80 {% if reason or domain or reverse %}
82 <h1>Instances that use "{{reason}}" in their reason</h1>
84 <h1>Instances that are blocked by {{reverse}}</h1>
86 <h1>Instances that block {{domain}}</h1>
88 {% for block_level in blocks %}
89 <div class="block_level" id="{{block_level}}">
90 <h2>{{block_level}} ({{blocks[block_level]|length}})</h2>
93 <th>{% if block_level == 'accept' %}Accepted{% else %}Blocked{% endif %}</th>
97 {% for block in blocks[block_level] %}
100 <a href="https://{{block['blocker']}}" rel="nofollow noopener noreferrer">{{block['blocker']}}</a>
101 {% if reason or domain %}<a class="listlink" href="{{base_url}}/?reverse={{block['blocker']}}">↘</a>{% endif %}
104 <a href="https://{{domain or block['blocked']}}" rel="nofollow noopener noreferrer">{{block['blocked']}}</a>
105 {% if reason or reverse %}<a class="listlink" href="{{base_url}}/?domain={{domain or block['blocked']}}">↘</a>{% endif %}
107 <td>{{block['reason']}}</td>
108 <td>{{block['first_seen']}}</td>
109 <td>{{block['last_seen']}}</td>
116 <h1>Enter a Domain</h1>
118 <input type="text" name="domain" placeholder="example.com" required="required" />
119 <input type="submit" value="Submit" />
121 <h1>Enter a Reason</h1>
123 <input type="text" name="reason" placeholder="free speech" required="required" />
124 <input type="submit" value="Submit" />
126 <h1>Reverse search</h1>
128 <input type="text" name="reverse" placeholder="example.com" required="required" />
129 <input type="submit" value="Submit" />
132 <a href="{{base_url}}/scoreboard?blockers=50">top 50 defederating</a> /
133 <a href="{{base_url}}/scoreboard?blocked=50">defederated instances</a> /
134 <a href="{{base_url}}/scoreboard?reference=50">referencing instances</a> /
135 <a href="{{base_url}}/scoreboard?software=50">used software</a> /
136 <a href="{{base_url}}/scoreboard?originator=10">originators</a>
139 known instances: {{info.known_instances}}<br/>
140 indexed instances: {{info.indexed_instances}}<br/>
141 blocks recorded: {{info.blocks_recorded}}<br/>
142 errorous instances: {{info.errorous_instances}}<br/>
143 source code: <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />