{# 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.ping_min -%} {% endif %} {%- 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 = 34 -%} {%- set width = 100 -%} {%- set amount = host.recent_pings|length -%} {%- set width_bar = 5 -%} {%- 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 -%} {%- for ping in host.recent_pings -%} {%- if ping -%} {%- set title = "Healthy" -%} {%- set color_bar = "#2fcc66" -%} {%- else -%} {%- set title = "Unhealthy" -%} {%- set color_bar = "#ff6225" -%} {%- endif -%} {{title}} {%- endfor -%} {%- else -%} {# #} {%- if host.last_healthy -%} Last seen healthy: {{host.last_healthy | truncate(length=16, end="") | replace(from="-", to=".") | replace(from="T", to=" ")}} UTC {%- 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 | truncate(length=18) | 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}}