NTFY(1)

πŸ“¦
version 2.27.0 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

✨ NTFY(1) ✨ β€” like, the manual page for ntfy πŸ’Œ

okay bestie, sit down, hydrate, and let me tell you about ntfy β€” it's a User Command and it's literally pronounced "notify", which, yes, is the whole vibe. πŸ’…


🌸 NAME 🌸

ntfy β€” a simple pub-sub notification service, and honestly? iconic.


πŸŽ€ SYNOPSIS πŸŽ€

ntfy [OPTIONS]
ntfy <COMMAND> [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

ntfy β€” say it with me: "notify" πŸ’– β€” is a simple HTTP-based pub-sub notification service. With ntfy, you can send notifications to your phone or desktop via scripts from literally any computer. any. computer. no cap. ✨


πŸ‘‘ COMMANDS πŸ‘‘

This program provides both the client and server commands for ntfy, because it's a multitasking main character. Both can be run as services but are usually disabled. 🫢

For command-specific options, run ntfy <command> --help β€” go on, it's free and it slaps.

πŸ’Œ CLIENT COMMANDS πŸ’Œ

  • publish [OPTIONS] <topic> [message] β€” Send a message via a ntfy server to a topic. so simple. so clean. aliases: send trigger pub
  • subscribe [OPTIONS] <[SERVER/]topic> [EXECUTE_COMMAND]
  • subscribe [OPTIONS] --from-config β€” Subscribe to a topic which could be on a different server. If an optional command argument is passed, it will be executed when a message arrives. The second form can subscribe to multiple topics from config file. multitasking queen behavior. 🧚 aliases: sub

πŸ–₯️ SERVER COMMANDS πŸ–₯️

These are server-only commands, with the exception of serve (she's the people's princess πŸ‘‘). They will directly manage the user.db as defined in the server config file server.yml. They require a properly defined auth-file. no auth-file, no entry, sorry bestie. πŸ™ˆ

  • access [USERNAME [TOPIC [PERMISSION]]] β€” Show the access control list, as well as change it, depending on how it is called. PERMISSION can be one of the following:
    • read-write (alias: rw)
    • read-only (aliases: read, ro)
    • write-only (aliases: write, wo)
    • deny (alias: none)

Please also refer to the related command user.

  • serve
  • serve --listen-http :8080 β€” Run the ntfy server in the foreground (default port 80)
  • tier [list|add|change|remove] [OPTIONS] β€” Manage/show tiers. The command allows you to add/remove/change tiers in the ntfy user database. Tiers are used to grant users higher limits, such as daily message limits, attachment size, or make it possible for users to reserve topics. upgrading your faves, fr fr. ⭐
  • token <list|add|remove> [OPTIONS] β€” List, add or delete user tokens which can be used publish, subscribe, or perform any other user-specific tasks. Tokens have full access, and can perform any task a user can do. They are meant to be used to avoid spreading the password to various places. periodt. πŸ”₯
  • user [list|add|remove|change-pass|change-role] [OPTIONS] β€” List/add/remove/change users in the ntfy user database, as well as change passwords or roles. Please also refer to the related command access.

βš™οΈ GLOBAL OPTIONS βš™οΈ

  • --help, -h β€” Shows a list of commands or help for one command.

Try 'ntfy COMMAND --help' or https://ntfy.sh/docs/ for more information.

  • --debug, -d β€” enable debug logging (default: false) [$NTFY_DEBUG]
  • --trace β€” enable tracing (very verbose, be careful) (default: false) [$NTFY_TRACE]
okay this one is very verbose. like, it will not shut up. be careful bestie, I'm so serious. 😭
  • --no-log-dates, --no_log_dates β€” disable the date/time prefix (default: false) [$NTFY_NO_LOG_DATES]
  • --log-level value, --log_level value β€” set log level (default: "INFO") [$NTFY_LOG_LEVEL]
  • --log-level-overrides value, --log_level_overrides value β€” set log level overrides [$NTFY_LOG_LEVEL_OVERRIDES]
  • --log-format value, --log_format value β€” set log format (default: "text") [$NTFY_LOG_FORMAT]
  • --log-file value, --log_file value β€” set log file, default is STDOUT [$NTFY_LOG_FILE]

πŸ’€ ISSUES πŸ’€

To report a bug, open an issue on GitHub: https://github.com/binwiederhier/ntfy/issues

If you want to chat, simply join the Discord server (https://discord.gg/cT7ECsZj9w) or the Matrix room (https://matrix.to/#/#ntfy:matrix.org). come hang out, we don't bite 🫢


Copyright Β© 2022 Philipp C. Heckel, licensed under Apache License 2.0 & GPLv2


πŸ“ AUTHOR πŸ“

Man page written for debian by Ahmad Khalifa.


and that's the whole page, bestie πŸ’– this was ntfy(1) from December 2024, and if you got this far you deserve a little treat πŸŽ€ slay, go send some notifications βœ¨πŸ’…

πŸ“¦ where this page comes from