import{_ as i,c as t,o as a,ag as e}from"./chunks/framework.DPDPlp3K.js";const g=JSON.parse('{"title":"ntfy Notification Setup","description":"","frontmatter":{},"headers":[],"relativePath":"notifications/Ntfy.md","filePath":"notifications/Ntfy.md","lastUpdated":1745963518000}'),n={name:"notifications/Ntfy.md"};function l(h,s,o,p,k,r){return a(),t("div",null,s[0]||(s[0]=[e(`
To enable ntfy notifications, you need the following:
ntfy URL
The base URL of your ntfy server including the topic (e.g., https://ntfy.example.com/alerts)
ntfy Token
An access token for authentication, generated per user
Install and set up your ntfy server (self-hosted or use https://ntfy.sh)
Choose a topic name (e.g. alerts) and include it in the URL:https://<your-ntfy-server>/<your-topic>
Create a user (if not already created)
Generate a token for the user using the following command:
ntfy token add --expires=30d --label="notifications" <username>List existing tokens to get the full token string:
ntfy token list <username>Use the token as a bearer token when sending messages, either in the Authorization header or in your tool's configuration.
ntfy token list # Show all tokens
ntfy token list alice # Show tokens for user 'alice'
ntfy token add alice # Create token for user 'alice' (never expires)
ntfy token add --expires=2d bob # Create token for 'bob', expires in 2 days
ntfy token remove alice tk_... # Delete a tokenMore information at the ntfy docs
`,8)]))}const c=i(n,[["render",l]]);export{g as __pageData,c as default};