From 02911cb6ba740d8f299d71cabdcf8378d318e661 Mon Sep 17 00:00:00 2001 From: 4cuck <40539855+4cuck@users.noreply.github.com> Date: Wed, 27 Sep 2023 02:28:44 +0200 Subject: [PATCH] improve readme and column names --- server/templates/about.html.j2 | 39 ++++++++++++++++++++---------- server/templates/instances.html.j2 | 15 ++++++------ 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/server/templates/about.html.j2 b/server/templates/about.html.j2 index 1b45cc9..16a3b1d 100644 --- a/server/templates/about.html.j2 +++ b/server/templates/about.html.j2 @@ -1,6 +1,6 @@ {# SPDX-License-Identifier: AGPL-3.0-only #} - +
@@ -13,7 +13,7 @@Uptime check interval: {{uptime_interval_s}}s.
+Uptime check interval: {{uptime_interval_s}}s.
Instance re-fetching interval, including RSS & version check: {{wiki_interval_s}}s.
Fetched latest commit: {{latest_commit}}
@@ -24,19 +24,32 @@ {%- endfor %} -The same data can also be fetched as JSON from /api/v1/instances
+
Country for the host country reported in the instance wiki.Healthy stands for hosts which are reachable and pass a content check. Known bad hosts are marked with a ❓, these instances block healthchecks.Average Time is the response time average over the last {{ping_avg_interval_h}} hours. This is not a network ping.All Time % for all time percentage of the instance being healthy.RSS whether the host has RSS feeds enabled.Nitter Version which nitter version the host reports.Connectivity the IP connectivity support. One of All, IPv4, IPv6Points is a weighted instance score based on the availability over the last 3h, 30 and 120 days, together with the version.Explanations
-Healthy stands for hosts which are reachable and pass a content check. Known bad hosts are marked with a ❓, these instances block healthchecks.Response Time is the response time over the last {{ping_avg_interval_h}} hours. This is not a network ping.Average is the time average over the last {{ping_avg_interval_h}} hours.RSS whether the host has RSS feeds enabled.Version which nitter version the host reports.Points is a weighted instance score based on the availability over the last 3h, 30 and 120 days, together with the version.Settings for visible columns are stored locally per client.
-Table settings are stored locally per client.
++
/api/v1/instances (link).
+ Note that the data only changes in the intervals stated above. Thus requesting it very often will get you rate limited.
+
+ + Please do not use instances listed here for scraping(?) ! + Instead host your own nitter instance, so public instances can be used by less tech savy people and not get overrun by you. You can get help with that at the listed matrix channel. +
+The purpose of this API is to serve services like Twiiit, Farside or people looking for indication that their RSS feed is down - but not scrapers. Scraping will bring the downfall of public instances.
License: AGPL3
diff --git a/server/templates/instances.html.j2 b/server/templates/instances.html.j2 index 5278e7e..074ab72 100644 --- a/server/templates/instances.html.j2 +++ b/server/templates/instances.html.j2 @@ -22,9 +22,9 @@Please use /api/v1/instances for bots.
+Please use the API for bots. Please do NOT use these instances for scraping, host nitter yourself.
Last Updated {{last_updated}} UTC.
-You can customize the visible columns at the bottom.
+Customize the visible columns down below.
| Country | Healthy | Health History | -Average (ms) | -All Healthy % | +Average Time | +All Time % | RSS | -Version | +Nitter Version | Connectivity | Points | @@ -83,7 +83,7 @@ {%- endif -%} {%- if host.recent_checks -%} -{{host.ping_avg}} | +{{host.ping_avg}}ms | {% endif %}{{host.healthy_percentage_overall}} | {% if host.rss -%} ✅ {%- else -%} ❌ {%- endif -%} | @@ -125,7 +125,8 @@
|---|