Prism is a self-hosted notification gateway that receives HTTP requests and routes them through Signal groups or WebPush apps. Route notifications through Signal to avoid exposing unique network fingerprints, or forward them to your own WebPush apps for custom handling.
A Proton Mail Bridge is optionally available if you want to receive push notifications for incoming emails.
Note: The default Proton Mail Bridge image uses
shenxn/protonmail-bridge:buildwhich compiles from source and supports multiple architectures. For x86_64 systems, you can useshenxn/protonmail-bridge:latest(pre-built binary, smaller and faster). For ARM devices (Raspberry Pi), stick with:build.
To receive Proton Mail notifications via Signal:
- Initialize Proton Mail Bridge (one-time setup):
# Download docker-compose.yml
curl -L -O https://raw.githubusercontent.com/lone-cloud/prism/master/docker-compose.yml
docker compose run --rm protonmail-bridge init2.Login to Proton Mail Bridge:
- At the
>>>prompt, run:login - Enter your email
- Enter your password
- Enter your 2FA code
3.Get IMAP credentials:
- Run:
info - Copy the Username and Password shown
- Run:
exitto quit
4.Add credentials to .env:
# Add these to your .env file
PROTON_IMAP_USERNAME=bridge-username-from-info-command
PROTON_IMAP_PASSWORD=bridge-generated-password-from-info-command5.Start all services with Proton Mail:
docker compose --profile protonmail up -dYour phone will now receive Signal notifications when Proton Mail receives new emails.
Note that the bridge will first need to sync all of your old emails before you can start getting new email notifications which may take a while, but this is a one-time setup.
# Download docker-compose.yml
curl -L -O https://raw.githubusercontent.com/lone-cloud/prism/master/docker-compose.yml
# Download .env.example (optional)
curl -L -O https://raw.githubusercontent.com/lone-cloud/prism/master/.env.example
# Configure Prism server through environment variables (optional)
cp .env.example .env
nano .env
# Start Prism server
docker compose up -d
Visit http://localhost:8080 and link your Signal account (one-time setup):
Go to Settings → Linked Devices → Link New Device in Signal.
Once linked, you'll see the status dashboard:
With optional Proton Mail integration:
For local development, install Go and signal-cli:
git clone https://github.com/lone-cloud/prism.git
cd prism
# Install development tools and signal-cli
make install-tools
# Run locally
make devThen build and run with docker-compose.dev.yml:
docker compose --profile protonmail -f docker-compose.dev.yml up -dor just the proton-bridge:
docker compose -f docker-compose.dev.yml up protonmail-bridgeReceive Signal notifications when new emails arrive in your Proton Mail inbox.
Prism monitors a Proton Mail account via the local bridge and forwards email alerts through Signal. This relies on the same technology that a third-party email client like Thunderbird would be using to integrate with Proton Mail.
Add a rest notification configuration (eg. add to configuration.yaml) to Home Assistant like:
notify:
- platform: rest
name: Prism
resource: "http://<Your Prism server network IP>/Home Assistant"
method: POST
headers:
Authorization: !secret prism_api_keySince Home Assistant and Prism are both on your local network, HTTP is allowed automatically - no additional configuration needed.
Add your API_KEY to your secrets.yaml:
prism_api_key: "Bearer YOUR_API_KEY_HERE"Reboot your Home Assistant system and you'll then be able to send Signal notifications to yourself by using this notify prism action.
Send a notification to a registered app/topic. Compatible with ntfy format.
curl -X POST http://localhost:8080/my-app \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title": "Alert", "message": "Something happened"}'Or ntfy-style:
curl -X POST http://localhost:8080/my-app \
-H "Authorization: Bearer YOUR_API_KEY" \
-d "Simple message text"Register or update a WebPush subscription or plain webhook.
Encrypted WebPush (all crypto fields required):
curl -X POST http://localhost:8080/webpush/app \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"appName": "my-app",
"pushEndpoint": "https://updates.push.services.mozilla.org/...",
"p256dh": "base64-encoded-key",
"auth": "base64-encoded-auth",
"vapidPrivateKey": "base64-encoded-vapid-key"
}'Plain HTTP webhook (no encryption):
curl -X POST http://localhost:8080/webpush/app \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"appName": "my-app",
"pushEndpoint": "https://your-server.com/webhook"
}'Unregister a WebPush subscription (clears WebPush settings, reverts to Signal).
curl -X DELETE http://localhost:8080/webpush/app/my-app \
-H "Authorization: Bearer YOUR_API_KEY"The health of the system can be viewed in the same admin UI used for linking Signal. Prism uses basic access authentication - provide your API_KEY as the password (username can be anything).
For API-based monitoring, call /api/health which returns JSON:
{"uptime":"3s","signal":{"daemon":"running","linked":true},"protonMail":"connected"}Prism accepts notifications via HTTP POST requests and routes them based on your configured delivery method:
- Signal groups: Uses signal-cli to create a Signal group for each app and send notifications as messages
- WebPush: Supports both encrypted WebPush (with VAPID signing and payload encryption) and plain HTTP webhooks
- Encrypted WebPush: Full WebPush protocol with end-to-end encryption - requires
appName,pushEndpoint,p256dh,auth, andvapidPrivateKey - Plain webhooks: Simple JSON POST to any HTTP endpoint - only requires
appNameandpushEndpoint
- Encrypted WebPush: Full WebPush protocol with end-to-end encryption - requires
Each app can be independently configured to use either delivery method through the admin UI.
For the optional Proton Mail integration, Prism requires a server that runs Proton's official proton-bridge. Prism's docker compose process will run an image from protonmail-bridge-docker. Once authenticated, the communication between Prism and proton-bridge will be over IMAP.




