3 <title>fedi-block-api{% if domain %} {{domain}}{% endif %}</title>
4 <link rel="alternate" type="application/rss+xml" title="RSS Feed for {{base_url}}" href="{base_url}/rss" />
7 background-color: #000022;
13 background-color: #1c1c3c;
20 background-color: #1c1c3c;
28 background-color: #2d2d4d;
31 table tr:nth-of-type(2n) {
32 background-color: #1c1c3c;
37 .block_level table td:nth-of-type(1), .block_level table td:nth-of-type(2),
38 .block_level table td:nth-of-type(4), .block_level table td:nth-of-type(5) {
42 background-color: #2d2d4d;
50 text-decoration: none;
56 input[type="text"], input[type="submit"] {
64 input[type="text"]:hover {
68 input[type="submit"] {
72 input[type="submit"]:hover {
77 text-decoration: underline dotted;
84 <h1>Top {{blockers}} defederating instances</h1>
86 <h1>Top {{blocked}} defederated instances</h1>
88 <h1>Top {{reference}} referencing instances</h1>
90 <h1>Top {{software}} used software</h1>
92 <div class="scoreboard">
95 <th>{% if software %}Software{% else %}Instance{% endif %}</th>
96 <th>{% if reference %}References{% elif software %}Total{% else %}Blocks{% endif %}</th>
97 {% for entry in scores %}
99 <td>{{loop.index}}</td>
104 <b><a href="{{base_url}}/?{% if blockers %}reverse{% elif blocked or reference %}domain{% endif %}={{entry['domain']}}" rel="nofollow noopener noreferrer">{{entry['domain']}}</a></b>
105 <a class="listlink" href="https://{{entry['domain']}}" rel="external" target="_blank">↗</a>
108 <td>{{entry['highscore']}}</td>
113 {% elif reason or domain or reverse %}
115 <h1>Instances that use "{{reason}}" in their reason</h1>
117 <h1>Instances that are blocked by {{reverse}}</h1>
119 <h1>Instances that block {{domain}}</h1>
121 {% for block_level in blocks %}
122 <div class="block_level" id="{{block_level}}">
123 <h2>{{block_level}} ({{blocks[block_level]|length}})</h2>
126 <th>{% if block_level == 'accept' %}Accepted{% else %}Blocked{% endif %}</th>
130 {% for block in blocks[block_level] %}
133 <b><a href="https://{{block['blocker']}}" rel="nofollow noopener noreferrer">{{block['blocker']}}</a></b>
134 {% if reason or domain %}<a class="listlink" href="{{base_url}}/?reverse={{block['blocker']}}">↘</a>{% endif %}
137 <b><a href="https://{{domain or block['blocked']}}" rel="nofollow noopener noreferrer">{{block['blocked']}}</a></b>
138 {% if reason or reverse %}<a class="listlink" href="{{base_url}}/?domain={{domain or block['blocked']}}">↘</a>{% endif %}
140 <td>{{block['reason']}}</td>
141 <td>{{block['first_added']}}</td>
142 <td>{{block['last_seen']}}</td>
149 <h1>Enter a Domain</h1>
151 <input type="text" name="domain" placeholder="example.com" required="required" />
152 <input type="submit" value="Submit" />
154 <h1>Enter a Reason</h1>
156 <input type="text" name="reason" placeholder="free speech" required="required" />
157 <input type="submit" value="Submit" />
159 <h1>Reverse search</h1>
161 <input type="text" name="reverse" placeholder="example.com" required="required" />
162 <input type="submit" value="Submit" />
165 <a href="{{base_url}}/scoreboard?blockers=50">top 50 defederating</a> /
166 <a href="{{base_url}}/scoreboard?blocked=50">defederated instances</a> /
167 <a href="{{base_url}}/scoreboard?reference=50">referencing instances</a> /
168 <a href="{{base_url}}/scoreboard?software=50">used software</a>
171 known instances: {{info.known_instances}}<br/>
172 indexed instances: {{info.indexed_instances}}<br/>
173 blocks recorded: {{info.blocks_recorded}}<br/>
174 errorous instances: {{info.errorous_instances}}<br/>
175 source code: <a href="https://git.mxchange.org/?p=fba.git;a=summary" rel="source" target="_blank">git.mxchange.org</a><br /><br />