What Is a Relay?
The Problem
Self-hosted services exist — SearXNG, Invidious, Nitter, and many others — but they are hard to discover. Centralized lists exist, but they are maintained by hand, often go stale, and have a single point of control.
If you run a SearXNG instance, how do people find it? If you are looking for a fast SearXNG near you, how do you know which one is reliable right now?
The Solution: Relay
Relay is a federated instance directory. It provides:
1. A Live Registry
Every instance in the directory has:
- A URL and type (SearXNG, Invidious, etc.)
- Automatic health checks every 60 seconds
- Tracked uptime, response time, and reliability
- A priority score so users can pick the best instance
2. Automatic Health Monitoring
A background process pings each instance continuously. Results are public in the API. You can see at a glance which instances are up, which are slow, and which have been reliable over time.
3. Gossip-Based Federation
Relays talk to each other. When one relay discovers a new instance, it propagates through the mesh automatically. There is no central registry — the directory is whatever the mesh collectively knows about.
4. An Open API
Everything is accessible via HTTP JSON. You can query the directory, add your own instance, check federation status, and export the full dataset.
What Relay Is Not
- ❌ A proxy or VPN — instances are accessed directly
- ❌ A hosting platform — you bring your own server
- ❌ A monitoring service — health data is public and shared
- ❌ A centralized registry — the gossip mesh means no single point of control
Who Is It For?
- Users looking for reliable instances of self-hosted services
- Operators who want their instance to be discoverable
- Self-hosters who want to run their own relay and participate in the mesh