Ntfy: A utility for sending notifications
github.com
github.com
Writing my first Go code was easier than packaging ntfy for Windows, FWIW.
There are similar problems with Ruby when people want to distribute executables. I remember I googled a solution that made a friend of mine happy (he had to deploy on multiple Windows machines, I don't remember what I suggested him to do) but still it's the wrong way to go. If creating a single executable is a hard requirement then yes, they are the wrong languages to solve your problem.
Packaging Python on Windows has always been tricky.
https://github.com/larsch/ocra is the Ruby equivalent.
If the software is open source, you can still change anything with your text editor and recompile the executable, usually with a single command (go build, IIRC.) Additionally, you can keep all the executables for all your versions and modifications.
Try to do that with Python, when the change you need is somewhere deep inside a library. At best you'll spend hours setting up multiple Virtualenvs; at worst it will just be impossible. Case in point, you can't use a Virtualenv for ntfy on OS X of you want desktop notifications (for whatever reason.)
Python, Ruby, and Node are becoming less popular for a reason.
(This doesn't seem to be documented specifically anywhwere, but it's implicit in the way bash's job control works.)
E.g. sleep 2; echo it works
Ntfy does many of these things too, for example A coworker had suggested the PID option so it has that too :)
I mostly use the shell-integration that automatically sends notifications for commands taking longer than 10 seconds (if the terminal isn't focused).
./long_running_script.sh && mail -s "Script Done!" number@tmomail.net
I've been testing things out like udp multicast and zyre.
mobile notifications are tricky, looks like one can use https://developers.google.com/web/updates/2015/03/push-notif..., but that still technically piggybacks over google cloud messaging.
When my subscription to PushBullet runs out I'll be experimenting with PushOver. It's Growl all over again, but not quite as good.
Edit: Ntfy looks like exactly what I want. I do really like the idea of notifications that stay within my LAN, or are under my direct control. Now that I have SSL on my home server, I should be able to use Chrome notifications to Android (but isn't GCM involved there somewhere anyway?)
Let's see if they accept a PR to list me as an additional backend :)
https://developer.android.com/studio/command-line/shell.html
EDIT: I think this actually does not answer your question. Sorry.
https://chrome.google.com/webstore/detail/vysor/gidgenkbbabo...
Anyone knows of something that does this? (Android)
Tmux has refresh interval so you could easily setup a script that prints the notification for a while and then clears it.
set -g status-right "#[fg=colour010]#(/path/to/your/script)#[fg=colour255]"