Skip to content
NesarisPublic

About

Zero-dependency Node.js edge and control layer for the Nesaris Hub.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Relay

Banner — Relay

Relay

Self-hosted reverse proxy with a UI: one name per service, served over HTTPS or a Cloudflare Tunnel, with health checks and Telegram alerts.

Stars License Node.js 24 Zero npm dependencies Docker Self-hosted Caddy

Full documentation · Nesaris Network

Why Relay?

Exposing homelab services cleanly usually means hand-editing proxy configs and DNS. Relay gives every service its own name and certificate from a web UI — and when used with the Hub, publishes each new service automatically.

Features

  • One name per service, HTTPS (Let's Encrypt via Cloudflare DNS) or Cloudflare Tunnel.
  • Health of every target and Telegram alerts when one goes down.
  • Local DNS — every name in your local zone (home.arpa) resolves to the Relay host.
  • Hardened — Caddy built from source on an empty image, no root, no capabilities; admin API on a Unix socket only.
  • Hub integration — adds a Connections page to the Hub and publishes every service the Hub installs.

Screenshots

Routes and their health
Routes and their health
Connected services
Connected services
Settings: domains, Cloudflare, Telegram
Settings: domains, Cloudflare, Telegram

Quick start

git clone https://github.com/Nesaris/Relay && cd Relay
cp .env.example .env    # RELAY_IP, RELAY_HUB_TOKEN (or empty without the Hub)
mkdir -p secrets && openssl rand -base64 32 > secrets/socle_cle && : > secrets/socle_cle_ancienne
sudo chown 10001:10001 secrets/socle_cle secrets/socle_cle_ancienne && sudo chmod 400 secrets/socle_cle secrets/socle_cle_ancienne
docker compose up -d --build
docker compose logs relay | grep "Jeton d'installation"   # one-time setup token

Full documentation (configuration, backups, key rotation, reverse proxy, upgrades) is in README.fr.md.

Part of Nesaris Network

Relay is one of the self-hosted tools of Nesaris Network. Every service shares the same hardened core (accounts, passkeys, TOTP, audit log, encrypted secrets), runs on Node.js 24 with zero npm dependencies, and can be installed in one click from the Nesaris Hub.

Other projects: Hub · MapMyLAN · NexArc · ProxLab · Vigie · Nesmail · Synapse · Dialekt

Contributing

Issues and pull requests are welcome. If Relay is useful to you, a ⭐ helps a lot — it's how other people find the project.

License

MIT — made by CodeX64.

About

Zero-dependency Node.js edge and control layer for the Nesaris Hub.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages