{# SPDX-License-Identifier: AGPL-3.0-only #} Nitter Instance Health

Nitter Instance Uptime & Health

About

Please use /api/v1/instances for bots.

Last Updated {{last_updated}} UTC.

{% for host in instances -%} {%- if host.healthy and not host.version -%} {%- set version = "Dmissing" -%} {%- elif host.version and not host.is_upstream -%} {%- set version = "Aforeign" -%} {%- elif host.is_latest_version -%} {%- set version = "Blatest" -%} {%- elif host.version and not host.is_latest_version -%} {%- set version = "Coutdated" -%} {%- else -%} {%- set version = "Eunknown" -%} {%- endif -%} {%- endfor -%}
Instance Country Healthy Response Times Average (ms) RSS Version Points
{{host.domain}} {{host.country}} {%- if host.is_bad_host -%}
❓
{%- elif host.healthy -%} ✅ {%- else -%} ❌ {%- endif -%}
{%- if host.recent_pings|length > 0 -%} {%- set height = 57 -%} {%- set width = 100 -%} {%- set amount = host.recent_pings|length -%} {%- set width_bar = width / amount -%} {%- set offset = 5 -%} {%- set error_size = height / 3 %} {%- if host.ping_max and host.ping_min -%} {# only one entry, so max = min => step_size would be 0 #} {%- if host.ping_max == host.ping_min -%} {%- set step_size = 5/(height-offset) -%} {%- else -%} {%- set step_size = (host.ping_max - host.ping_min)/(height-offset) -%} {%- endif -%} {%- else %} {# no valid entries, only nulls #} {%- set step_size = 5/(height-offset) -%} {%- endif -%} {# #} {%- if host.ping_min -%} {%- if host.ping_avg and host.ping_min -%} {%- set avg_pos = (height-(host.ping_avg - host.ping_min )/step_size) - offset -%} Average {%- endif -%} {%- for ping in host.recent_pings -%} {%- if ping -%} {%- set height_bar = (ping - host.ping_min )/step_size + offset -%} {%- set color_bar = "#a09df2" -%} {%- else -%} {%- set height_bar = error_size -%} {%- set color_bar = "#cc0000" -%} {%- endif -%} {{ping | default(value="unhealthy") }} {%- endfor -%} {%- else -%} {# #} {%- if host.last_healthy -%} Last seen healthy: {{host.last_healthy | truncate(length=10, end="") | replace(from="-", to=".")}} {%- else -%} Never seen healthy. {%- endif -%} {%- endif -%} {%- else -%} No recent data! {%- endif -%} {{host.ping_avg}} {% if host.rss -%} ✅ {%- else -%} ❌ {%- endif -%} {%- if host.version_url -%} {{host.version | default(value="missing version")}} {%- else -%} missing version {%- endif -%} {%- if version == "Dmissing" -%} missing {%- elif version == "Aforeign" -%} foreign repo {%- elif version == "Blatest" -%} latest {%- elif version == "Coutdated" -%} outdated {%- endif -%} {{host.points}}