Skip to main content

ntfy-send

ntfy-send is a client application for notification service ntfy.sh.

Configuration

ntfy-send can be configured via a configuration file. It is recommended method of storing your credential informations, which simplifies obtaining and sending them to ntfy server.

All configuration options can be enclosed in backticks (`). When this is the case, the option is treated as a command whose output substitutes the configurration option.

Configuration files are stored in $XDG_CONFIG_HOME/ntfy-send/config.toml. If you don't have $XDG_CONFIG_HOME environment variale set, then it is stored in ~/.config/ntfy-send/config.toml. Below are documented all options:

# config.toml

# URL to the server
server = "https://ntfy.sh"

# Username and password can be automatically obtained each time they're
# required. This is done by passing commands which should echo credentials.
# For complex commands it's recommended to pot them in a separate script, due
# to problems with several levels of quote escaping

# Username and password can be passed in plain text. This isn't recommended.
username = "user"
password = "pass"

# Alternatively, ntfy-send can automatically run a command for username and
# password when they're enclosed in backticks (`):
username = """`gpg2 --decrypt pass.gpg | awk -F ":" '/user:/ { printf $2 }'`"""
password = """`gpg2 --decrypt pass.gpg | awk -F ":" '/password:/ { printf $2 }'`"""

Metadata

Release files for ntfy-send 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ntfy-send 0.4.1
File Size Uploaded
ntfy_send-0.4.1.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ntfy-send 0.4.1
File Interpreter ABI Platform
ntfy_send-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.3 kB

Release files / ntfy_send-0.4.1.tar.gz

Download URL ntfy_send-0.4.1.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
793912c03987445339f6ea3db2d8df7f8da0fb60624dbd838b18b078080fbe5c
BLAKE2b-256 checksum
How to use checksums
682c86645130b1654f1248de0ea209fd559a752925f63f5bb2baf8f95483e94d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/6.1.0-9-amd64

Release files / ntfy_send-0.4.1-py3-none-any.whl

Download URL ntfy_send-0.4.1-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a287c3072efaf43bb614e7530192c182a632b5a9df481d525080ebf747e80450
BLAKE2b-256 checksum
How to use checksums
265ae67c3bcf1e531ab1fd22a5b3af69728ba3516872097c075024bd23cd689d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/6.1.0-9-amd64

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page