r/coolgithubprojects • • 18h ago

drip - scriptable notifications that drip from the notch

Post image

drip is a macOS CLI that shows scriptable notification cards from the MacBook notch. See it without installing: the demo at https://drip.jrnxf.co runs the real Swift engine, compiled to WebAssembly.

It draws its own card at the notch instead of going through Notification Center. A card can also ask a question, and your script gets the answer as the exit code:

drip warn "Deploy?" --yes Deploy --no Cancel && ./deploy.sh

That runs deploy.sh only if you click Deploy.

Two things I care about most:

It asks for no permissions. drip only uses public macOS APIs that don't need a privacy grant, so there's nothing to approve before your first card. It doesn't add a login item either, and nothing runs in the background unless you set that up yourself.

It doesn't decide when to notify you. You do. I didn't want to build something that only works for me and pushes my notification ethos on everyone else. That control comes from recipes: small scripts that show a card when something happens, like a long build finishing or an agent needing permission. The repo ships with a handful of recipes to start from. Treat them like dotfiles: copy one, change it, and it's yours. If you end up with one you like, open a PR.

Similar tools: terminal-notifier sends to Notification Center and the UI is quite bland, and the notch apps I found are built for coding agents only. drip is a plain CLI, so anything that can run a command can show a card.

2 Upvotes

0 comments sorted by