Skip to content
/ nchook Public
forked from Who23/nchook

🪝 A hook into MacOS's notification center.

License

Notifications You must be signed in to change notification settings

BBleae/nchook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nchook

A hook into macOS's notification center, to run a script when a notification sent.

On a notification being sent, the hook script is triggered which sends the app, title, body, and time of the notification o a listening netcat server

Installation

With homebrew: brew install who23/formulae/nchook

Usage

Start the nchook daemon with brew services start nchook

Create or symlink an executable file at ~/.config/nchook/nchook_script. This script will be run as nchook_script APP TITLE BODY TIME. Note that TIME is a unix timestamp in seconds.

About

🪝 A hook into MacOS's notification center.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%