| .github/workflows | ||
| .vscode | ||
| android | ||
| assets | ||
| proton-bridge | ||
| scripts | ||
| server | ||
| .env.example | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| docker-compose.yml | ||
| LICENSE | ||
| NOTICE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
SUP (Signal Unified Push)
Privacy-preserving push notifications using Signal as transport.
What is SUP?
SUP is a UnifiedPush distributor that routes push notifications through Signal, allowing you to receive app notifications without exposing unique network fingerprints to your ISP or network observers. All notification traffic appears as regular Signal messages.
Architecture
SUP consists of three services that MUST run together on the same machine:
- sup-server (Bun/TypeScript): Receives webhooks, sends Signal messages via signal-cli
- protonmail-bridge (Official Proton): Decrypts ProtonMail emails, runs local IMAP server
- proton-bridge (Custom): Monitors IMAP, forwards to sup-server
All services communicate over a private Docker network with no external exposure except Signal protocol. Separating these services across multiple machines would expose plaintext IMAP traffic and compromise security.
Android App (Kotlin): Monitors Signal notifications, extracts UnifiedPush payloads, delivers to apps
Why?
Traditional push notification systems (ntfy, FCM) require persistent WebSocket connections or polling to specific servers, creating unique network fingerprints. SUP blends your notification traffic with regular Signal usage for better privacy.
Setup
⚠️ DOCKER COMPOSE REQUIRED: The services must be deployed together using docker compose. Running individual Dockerfiles separately is not supported and will compromise security.
Prerequisites
Installing Docker on Arch Linux
# Install Docker and Compose plugin
sudo pacman -S docker docker-buildx
# Start Docker service
sudo systemctl start docker
sudo systemctl enable docker
# Add your user to docker group (logout/login required)
sudo usermod -aG docker $USER
After adding yourself to the docker group, logout and login for it to take effect.
Quick Start with Docker Compose
Without ProtonMail (just UnifiedPush):
# Clone the repo
git clone https://github.com/lone-cloud/sup.git
cd sup
# Create .env file
cat > .env << 'EOF'
# Required: API key for securing your server
API_KEY=your-random-secret-key-here
# Optional: Enable verbose logging
VERBOSE=false
EOF
# Build and start SUP server only
docker compose up -d
# Link your Signal account (one-time setup)
# Visit http://localhost:8080/link and scan QR code with Signal app
With ProtonMail (UnifiedPush + email notifications):
# Same setup as above, then start with protonmail profile
docker compose --profile protonmail up -d
ProtonMail Integration (Optional)
To receive ProtonMail notifications via Signal:
-
Initialize ProtonMail Bridge (one-time setup):
docker compose run --rm protonmail-bridge init -
Login to ProtonMail:
- At the
>>>prompt, run:login - Enter your ProtonMail email
- Enter your ProtonMail password
- Enter your 2FA code
- At the
-
Get IMAP credentials:
- Run:
info - Copy the Username and Password shown
- Run:
exitto quit
- Run:
-
Add credentials to .env:
# Add these to your .env file BRIDGE_IMAP_USERNAME=your-email@proton.me BRIDGE_IMAP_PASSWORD=bridge-generated-password-from-info-command -
Start all services with ProtonMail:
docker compose --profile protonmail up -d
Your phone will now receive Signal notifications when ProtonMail receives new emails.
Checking Logs
# Without ProtonMail
docker compose logs -f
# With ProtonMail
docker compose --profile protonmail logs -f
# View specific service
docker compose logs -f sup-server
docker compose --profile protonmail logs -f proton-bridge
docker compose --profile protonmail logs -f protonmail-bridge
Stopping Services
# Without ProtonMail
docker compose down
# With ProtonMail
docker compose --profile protonmail down
# Stop and remove volumes (warning: deletes Signal/ProtonMail data)
docker compose --profile protonmail down -v
Development
bun install
bun dev
Visit http://localhost:8080/link to link your Signal account.
API Endpoints
UnifiedPush Protocol
POST /up/{app_id}- Register new endpointDELETE /up/{app_id}- Unregister endpointGET /up- Discovery endpointPOST /_matrix/push/v1/notify/{endpoint_id}- Push notification
Management
GET /health- Health checkGET /endpoints- List registered endpoints
How It Works
- Android app registers with server via
/up/{app_id} - Server creates a Signal group for the app
- Server returns UnifiedPush endpoint URL
- App shares endpoint with notification provider
- Provider sends notifications to endpoint
- Server forwards to Signal group
- Android app monitors Signal, extracts payloads, wakes apps
Android App
Download the latest APK from GitHub Releases.
Install via Obtainium: obtainium://add/https://github.com/lone-cloud/sup
Certificate Fingerprint for Obtainium verification:
0D:3C:99:15:0E:12:1A:DE:0D:AE:05:CB:16:46:5E:65:31:56:DC:D6:98:87:59:4E:79:B1:0D:AE:1E:56:F2:E8
Verify this fingerprint when installing via Obtainium to ensure authenticity.