Skip to content
Proyectos

Acerca de

Self-hosted network topology and service availability monitoring with a terminal UI — single Go binary, zero dependencies

Sistemas e infraestructura

Cómo se miden estas cifras

What you can do

  • Where it breaks, not just that it broke. Every check runs from a vantage point you name. Down from Seattle but fine from New York is a fault on Seattle's path, not a server outage.
  • Evidence, not colors. Health, where the evidence came from and how fresh it is are kept apart. Nothing turns green without a passing check, and a service nobody checks stays unknown.
  • Made to be looked at. A braille world map, a schematic map and a network graph, and a card for every server and service, in any terminal, mouse included — with scrollable evidence, OSC-52 copy, saved views and English/Chinese/Japanese terminal localization.
  • Products mode and scoped status. For people who ship apps and sites: a row for each part a user reaches and everything it rests on, plus scoped, expiring status tokens for GET /v1/status that expose product availability without leaking internal hosts or topology.

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Topophany — the appearance of a place

From where, via which path, reaching what — and on what evidence.

Live demo: try it in your browser

topophany.com · Download · User guide

English · 日本語 · 简体中文

CI Go Reference License: MIT LINUX DO

Topophany puts your network on one screen: your machines and where they are, the paths between them and the services they run. Workers check it from the places you actually connect from, and the terminal UI shows what is broken, seen from where, and the evidence for it. All of it is one self-hosted Go binary, topo.

An outage arriving on the Overview: the scenario picker opens, checks fail sample by sample until five incidents are open and the failing routes turn amber on the map, each problem's route lights up as it is selected, and the evidence for one incident opens; then the geo map fills the screen, switches between place cards and points, and returns to the panels
Press x in topo preview --lang en to break something. Select a problem and its route lights up; Enter shows the evidence.

Features

  • Where it breaks, not just that it broke. Every check runs from a vantage point you name. Down from Seattle but fine from New York is a fault on Seattle's path, not a server outage.
  • Evidence, not colors. Health, where the evidence came from and how fresh it is are kept apart. Nothing turns green without a passing check, and a service nobody checks stays unknown.
  • Your network in one file — or clean fragments. A reviewed JSON topology (with comments, reusable ${address} aliases and bounded local fragments) says what runs where, how each machine is reached and what to check, with your notes beside it. Edit it in topo edit, import candidates from SSH, Compose YAML or Tailscale, or let your coding agent write it and verify with topo validate.
  • Checks along the path your traffic takes. HTTP/1.1 & HTTP/2, gRPC health, WebSocket, mTLS, Basic Auth, TLS, TCP, DNS (A/AAAA/CNAME/TXT/MX/NS/SRV over UDP, TCP, DoT, DoH and proxy chains), SSH, UDP, unprivileged dual-stack ICMP/ICMPv6, and host resources (CPU, memory, swap, load, multi-disk & inodes, Linux systemd units and cgroup v2 limits), through multi-hop proxy chains. Read-only adapters cover Mihomo, sing-box, Xray/V2Ray, Tailscale, WireGuard, cloudflared, the Cloudflare API, Prometheus/OpenMetrics, Beszel, Komari, CF-Server-Monitor, Nezha and public Uptime Kuma status pages — and an answer from an edge such as Cloudflare, Vercel or Supabase is never taken for the origin behind it.
  • Reliable alerting and dual-collector HA. Notify via Telegram, Bark, Feishu, WeCom, DingTalk, Slack, Discord, ntfy, Gotify, Pushover, PagerDuty, SMTP or custom JSON templates (with env secrets, private CAs, outbound proxies and HMAC signing). Route by severity, application, environment or node; group multi-observer outages, inhibit dependent symptoms, suppress during recurring maintenance windows, and fail over automatically from a health-checked standby collector.
  • Made to be looked at. A braille world map, a schematic map and a network graph, and a card for every server and service, in any terminal, mouse included — with scrollable evidence, OSC-52 copy, saved views and English/Chinese/Japanese terminal localization.
  • Products mode and scoped status. For people who ship apps and sites: a row for each part a user reaches and everything it rests on, plus scoped, expiring status tokens for GET /v1/status that expose product availability without leaking internal hosts or topology.
  • This machine, scripts and widgets. Watch local websites, ports, DNS, host metrics and local daemons with topo local and topo --source local (no collector needed); read collectors from scripts and agents with topo status, topo show, topo history, /metrics and topo monitor.
  • One binary, native operations. No CGO, no database daemon, no Node.js and zero external Go modules — with live backups, replica history backfill, hot TLS/auth/alert reload, multi-arch OCI container images, systemd units, native Windows SCM services and FreeBSD/OpenBSD support.

The Overview during a simulated outage: the virtual geo map, its places as cards from Tokyo to Frankfurt with the failing route drawn in amber, a status card reading 5 incidents, the list of what needs attention, and the services grouped by application with the proxy chain marked for attention
The Overview during a simulated outage, from topo preview --lang en --scenario 1.

Quick start

Download a build from the releases page (Linux, macOS and Windows on amd64 and arm64), pull the multi-arch container image (ghcr.io/whitenwhiten/topophany), or install it with Go 1.26.11 or newer:

go install github.com/WhitenWhiten/topophany/cmd/topo@latest

See the whole UI on synthetic evidence, with nothing to set up, and press x to break something:

topo preview

To monitor your own network, follow the user guide and start from a topology in examples/. Every configuration field is in the reference. Upgrading? Read the 1.7.1 release notes.

How it works

Workers on a laptop at home, a VPS in Tokyo and a server at the office report to two collectors, which keep the evidence in an append-only journal; the TUI, scripts and agents, and menu-bar widgets read it. A topology file tells workers and collectors what to check, and Beszel, Komari and CF-Server-Monitor can also be read directly, with no collector

Workers run the checks and deliver what they see to one or two collectors, which keep an append-only journal and work out health, incidents and freshness. Clients only read: closing the TUI does not stop monitoring, and nothing in Topophany changes routes, proxies or services.

Products mode

Products mode during an outage: four products and their parts, each with its state, what it rests on from the edge to the database, its median latency, recent samples and uptime; two parts behind Cloudflare fail with HTTP 521 seen from Lisbon, and the certificates closest to expiry are listed at the foot
The server behind Cloudflare has stopped answering, in topo preview --config examples/products.json --mode products --scenario 2.

Press P and the Overview becomes a board: a row for each part of each product, what it rests on from the edge to the database, its latency, recent samples and uptime, and for a part in trouble, what failed, since when and seen from where. Every mark on it is one the network view already gives. Products mode guide

The terminal UI

The Overview viewed from the MacBook in Seattle, where the transit path is down, then from the server in New York, where it is fine; then the Topology tab's virtual geo map, the geo map filling the screen and switching between place cards and points, and the network graph
Down from Seattle, fine from New York: each observer reports only what it can see (v). Then the three maps (m).

Nine tabs, from the Overview to the incidents, with services folded into the applications they serve and checks into the services they verify. The user guide describes every tab, map and key.

In the macOS menu bar

A macOS desktop running topophany-bar: the White Night icon in the menu bar, its moon in partial eclipse beside a count of 2; the panel open beneath it, showing a degraded network with two warnings, the observers that see them and a map; and Status, Server, Time Zones, Service and Map widgets on the desktop

topophany-bar is Topophany's macOS companion: the status in the menu bar, a panel showing where each problem is seen, and desktop widgets for servers, services, maps and time zones. It is in pre-release and needs macOS 26 or later.

Documentation

User guide · Chinese guide · Japanese guide Setting up, the TUI, preview mode, probes and multi-location deployment
Configuration and API reference Every entity, probe parameter and API endpoint
Products mode The Overview for people who ship apps and sites
Cloudflare · Direct mode From edge to origin; resource sources read without a collector
Operations · Chinese operations · Japanese operations · Memory Dual collectors, containers, systemd, Windows SCM, alerts, backups, sync and memory budgets
Security model · Remote management Credentials, transport, and opt-in configuration delivery and updates
Scenarios · Acceptance What the tests prove, and what needs checking on real hardware
Examples Sample topologies to start from
Changelog · Release notes Release history and upgrade notes

Development

go test ./...                # unit and integration tests
python3 scripts/verify.py    # the full acceptance suite (Linux, Go, Python 3)
make captures architecture   # redraw the README's TUI captures and diagram

Read CONTRIBUTING.md and the Code of Conduct before sending changes, and report vulnerabilities privately as described in SECURITY.md.

License

MIT

Explorar proyectos relacionados

Cargando…