dschep/ntfy

🖥️📱🔔 A utility for sending notifications, on demand and when commands finish.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 24 minutes ago
Added to GitGenius on September 13th, 2026
Created on December 17th, 2015
Open Issues & Pull Requests: 103 (+0)
GitHub issues: Enabled
Number of forks: 216
Total Stargazers: 4,982 (+0)
Total Subscribers: 75 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 14.4 days
Mean response time: 539.2 days
90th percentile: 2587.7 days
Tracked items: 7

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,677 days
Stale 30+ days: 4
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

ntfy is a command-line utility for sending notifications from your shell, both automatically when long-running commands finish and on demand to various notification backends.

The tool solves the problem of staying informed about command completion without constantly checking your terminal. It works by integrating with your shell through bash-preexec and zsh's native hooks to detect when commands start and finish, measuring their duration, and triggering notifications when they exceed a configurable threshold. It can send desktop notifications on Linux, macOS, and Windows, as well as push notifications to phones and chat services. By default it only notifies for commands lasting longer than ten seconds and respects terminal focus to avoid interrupting interactive work, with both behaviors configurable.

The tool suits developers and system administrators who run long-running tasks and want to be notified of completion without manual checking. It works well for anyone using bash or zsh on Linux, macOS, or Windows. The notification backends are modular: desktop notifications work out of the box on most systems, while push services like Pushover, Telegram, Slack, XMPP, Rocket.Chat, and Instapush require optional dependencies installed separately. An interactive program ignore list prevents unnecessary notifications from programs like text editors or pagers.

Development activity shows consistent maintenance with fixes and feature additions across multiple areas. The project accepts contributions addressing both core functionality and backend integrations. Work spans platform-specific concerns including terminal focus detection on X11 and macOS window managers. The codebase handles configuration management across Linux, macOS, and Windows with platform-specific paths and requirements, such as Python DBUS bindings for Linux desktop notifications.