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;
51 input[type="text"], input[type="submit"] {
59 input[type="text"]:hover {
63 input[type="submit"] {
67 input[type="submit"]:hover {
72 text-decoration: underline dotted;
77 {% if reason or domain or reverse %}
79 <h1>Instances that use "{{reason}}" in their reason</h1>
81 <h1>Instances that are blocked by {{reverse}}</h1>
83 <h1>Instances that block {{domain}}</h1>
85 {% for block_level in blocks %}
86 <div class="block_level" id="{{block_level}}">
87 <h2>{{block_level}} ({{blocks[block_level]|length}})</h2>
90 <th>{% if block_level == 'accept' %}Accepted{% else %}Blocked{% endif %}</th>
94 {% for block in blocks[block_level] %}
97 <a href="https://{{block['blocker']}}" rel="nofollow noopener noreferrer">{{block['blocker']}}</a>
98 {% if reason or domain %}<a class="listlink" href="{{base_url}}/?reverse={{block['blocker']}}">↘</a>{% endif %}
101 <a href="https://{{domain or block['blocked']}}" rel="nofollow noopener noreferrer">{{block['blocked']}}</a>
102 {% if reason or reverse %}<a class="listlink" href="{{base_url}}/?domain={{domain or block['blocked']}}">↘</a>{% endif %}
104 <td>{{block['reason']}}</td>
105 <td>{{block['first_seen']}}</td>
106 <td>{{block['last_seen']}}</td>
114 <a href="{{base_url}}/">Index</a> /
115 source code: <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />
119 <h1>Enter a Domain</h1>
121 <input type="text" name="domain" placeholder="example.com" required="required" />
122 <input type="submit" value="Submit" />
125 <h1>Enter a Reason</h1>
127 <input type="text" name="reason" placeholder="free speech" required="required" />
128 <input type="submit" value="Submit" />
131 <h1>Reverse search</h1>
133 <input type="text" name="reverse" placeholder="example.com" required="required" />
134 <input type="submit" value="Submit" />
137 <h1>Scoreboards:</h1>
139 <a href="{{base_url}}/scoreboard?blockers=50">top 50 defederating</a> /
140 <a href="{{base_url}}/scoreboard?blocked=50">defederated instances</a> /
141 <a href="{{base_url}}/scoreboard?reference=50">referencing instances</a> /
142 <a href="{{base_url}}/scoreboard?software=50">used software</a> /
143 <a href="{{base_url}}/scoreboard?originator=10">originators</a>
148 known instances: {{info.known_instances}}<br/>
149 indexed instances: {{info.indexed_instances}}<br/>
150 blocks recorded: {{info.blocks_recorded}}<br/>
151 errorous instances: {{info.errorous_instances}}<br/>
152 source code: <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />