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(`

ntfy Notification Setup

To enable ntfy notifications, you need the following:

How to get the ntfy URL and Token

  1. Install and set up your ntfy server (self-hosted or use https://ntfy.sh)

  2. Choose a topic name (e.g. alerts) and include it in the URL:
    https://<your-ntfy-server>/<your-topic>

  3. Create a user (if not already created)

  4. Generate a token for the user using the following command:

    bash
    ntfy token add --expires=30d --label="notifications" <username>
  5. List existing tokens to get the full token string:

    bash
    ntfy token list <username>
  6. Use the token as a bearer token when sending messages, either in the Authorization header or in your tool's configuration.

Example Token Management Commands

bash
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 token

More information at the ntfy docs

`,8)]))}const c=i(n,[["render",l]]);export{g as __pageData,c as default};