{"repo":"dschep/ntfy","free":true,"listed":false,"github":"https://github.com/dschep/ntfy","clone":"git clone https://github.com/dschep/ntfy.git","description":"🖥️📱🔔 A utility for sending notifications, on demand and when commands finish.","language":"Python","stars":4976,"topics":["push-notifications","notifications","linux","windows","macos","bash","zsh"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"About ntfy ntfy brings notification to your shell. It can automatically provide desktop notifications when long running commands finish or it can send push notifications to your phone when a specific command finishes. Confused? This video demonstrates some of this functionality: Quickstart Install The install technique in the quickstart is the suggested method of installation. It can be installed in a virtualenv, but with some caveats: Linux notifications require --system-site-packages for the virtualenv and OS X notifications don\\'t work at all. :penguin: NOTE: Linux Desktop Notifications require Python DBUS bindings. See here for more info. Shell integration ntfy has support for automatically sending notifications when long running commands finish in bash and zsh. In bash it emulates zsh\\'s preexec and precmd functionality with rcaloras/bash-preexec. To enable it add the following to your .bashrc or .zshrc : By default it will only send notifications for commands lasting longer than 10 seconds and if the terminal is focused. Terminal focus works on X11(Linux) and with Terminal.app and iTerm2 on MacOS. Both options can be configured via the --longer-than and --foreground-too options. To avoid unnecessary notifications when running interactive programs, programs listed in AUTO NTFY DONE IGNORE don\\'t generate notifications. For example: Extras ntfy has a few features that require extra dependencies. : - ntfy done -p $PID requires installing as pip install ntfy[pid] - emoji su","default_branch":null,"files":null,"tree":[],"storefront":"/r/dschep","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dschep/ntfy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}