Send push notifications to your phone or desktop using PUT/POST
release | ||
.drone.yml | ||
.env.sample | ||
.gitignore | ||
abra.sh | ||
compose.smtp.yml | ||
compose.webpush.yml | ||
compose.yml | ||
README.md | ||
server.yml.tmpl |
ntfy
Send push notifications to your phone or desktop using PUT/POST
- Category: Apps
- Status: 0
- Image:
ntfy
, 4, upstream - Healthcheck: Yes
- Backups: Yes
- Email: Yes
- Tests: No
- SSO: No
Quick start
abra app new ntfy --secrets
abra app config ntfy.example.coop
abra app deploy ntfy.example.coop
For more, see docs.coopcloud.tech
.
User and access control
Follow the ntfy
documentation but prepend
any command with abra
, for instance:
# if the doc says
ntfy user list
# you run
abra app run ntfy.example.coop app ntfy user list
Webpush
To get notifications on browsers with the ntfy tab closed, generate the webpush keys:
ntfy webpush keys
Or if you don't have the ntfy
cli locally, after first deploy,
generate keys with:
abra app run ntfy.example.coop app ntfy webpush keys
Insert the secret:
abra app secret insert ntfy.example.coop webpush_private_key v1 "generated private key"
And uncomment the webpush env vars on config, adding the public key there, and set a sender too:
abra app config ntfy.example.coop
It should look like this:
SMTP_SENDER_FROM=ntfy@example.coop
WEBPUSH_ENABLED=1
COMPOSE_FILE="$COMPOSE_FILE:compose.webpush.yml"
WEBPUSH_PUBLIC_KEY=set public key here
SECRET_WEBPUSH_PRIVATE_KEY_VERSION=v1