# Sphinx Relay

Sphinx Relay is a self-hosted Node.js backend for the Sphinx mobile chat app, routing end-to-end encrypted messages over the Bitcoin Lightning Network. It is open source and self-hosted, installable on Docker Hub and Umbrel.

Canonical page: https://ourlocalhost.com/app/3521/sphinx-relay

## Description

Sphinx Relay is a self-hosted Node.js backend for the Sphinx mobile chat app, routing end-to-end encrypted messages over the Bitcoin Lightning Network. It stores user data such as aliases, messages, invites, and media keys locally, making it ideal for homelab users who want private, decentralised communication without relying on centralised servers.

## Platform availability

Available on 1 of 10 platforms: Umbrel.

## Health score

28/100 (Low), based on 5 of 5 factors.
- Maintained: 0 (last commit 858 days ago)
- Popular: 48 (247 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 80 (1 GB minimum RAM, runs on ARM)
- Security check: 10 (3 serious findings, 18 minor, CI, tests)

## Security check

3 serious findings: A private key is committed in the source code; A private key is committed in the source code; Uses @babel/traverse 7.22.8, which has a known critical vulnerability.
Automated checks on commit ebcc2e0, 5 Nov 2026. Not an audit.

## Links

- GitHub: https://github.com/stakwork/sphinx-relay
- Official website: https://sphinx.chat
- Documentation: https://tribes.sphinx.chat
- Docker Hub: https://hub.docker.com/r/sphinxlightning/sphinx-relay
- Umbrel: https://apps.umbrel.com/app/sphinx-relay

## Common questions

### What setup difficulty have Umbrel users reported for Sphinx Relay?

They have reported that getting Sphinx Relay working is not obvious, even though secure chat and data custody are appealing.

### Does enabling port forwarding guarantee that the Sphinx app can reach an Umbrel Sphinx Relay?

In one report, enabling port forwarding did not allow the Sphinx app to reach the Umbrel node with Sphinx Relay installed.

### Do Sphinx Relay nodes communicate outside the Lightning Network?

No; communication between Relay nodes takes place entirely on the Lightning Network.

---
Source: Our Local Host (https://ourlocalhost.com/app/3521/sphinx-relay), the self-hosted and open-source app directory.
