11 ms·
Ntfy: A utility for sending notifications
- _RPM 10y agoHow did you get your phones display on your desktop?
- snehesht 10y agoI'm not the author but If I have to guess, author must have recorded the phone screen ( using something similar to https://play.google.com/store/apps/details?id=com.hecorat.screenrecorder.free https://play.google.com/store/apps/details?id=com.hecorat.sc... ) and desktop screen, overlapped the phone screen video onto the desktop using video overlay feature during post production.
- chrisper 10y agoYou can use adb to screenrecord. (I have never tried it though) https://developer.android.com/studio/command-line/shell.html https://developer.android.com/studio/command-line/shell.html EDIT: I think this actually does not answer your question. Sorry.
- rsaworks 10y agoYou can use Vysor which mirrors android screen on desktop. https://chrome.google.com/webstore/detail/vysor/gidgenkbbabolejbgbpnhbimgjbffefm?hl=en-US https://chrome.google.com/webstore/detail/vysor/gidgenkbbabo...
- bcook 10y agoAre you sure that's his phone and not Android Studio's Android Emulator (https://developer.android.com/studio/run/emulator.html https://developer.android.com/studio/run/emulator.html)?
- dschep 10y agoThat was my Nexus 5x. The computer was a VM tho.
- dschep 10y agoI didn't. Recorded videos on both the phone and the computer(a VM actually), then put it together with.. I don't remember what. Some video editor available in the Ubuntu repos.
- justinsaccount 10y agoNeat, I've been working on a similar tool, but I've been trying to make it not require a 3rd party service for cross machine notifications. 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-notifications-on-the-open-web https://developers.google.com/web/updates/2015/03/push-notif..., but that still technically piggybacks over google cloud messaging.
- voltagex_ 10y agoThe problem I have with that is I then have to run yet another app on my phone. I want to run less apps, not more (especially on Android, where running an app seems to mean it can use any amount of battery it wants). 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?)
- danudey 10y agoIt adds another dependency, but you could always try Avahi/Zeroconf. Good for service discovery on a local network.
- dschep 10y agoI ran into this the other day but had trouble getting the server to run: https://f-droid.org/repository/browse/?fdfilter=notification&fdid=org.androidpn.client https://f-droid.org/repository/browse/?fdfilter=notification...
- hossbeast 10y agoI was hoping to see a framework for getting notifications in the shell, like in the screen / tmux status bar.
- snehesht 10y agoYou could try a script that receives notifications and then prints them inside the status bar. 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]"
- qznc 10y agoYou could use "wall", but that is not limited to a status bar and just prints in the terminal.
- dapithor 10y agoYou can already do this with `write` which is in most linux distro's. Make sure `mesg` is set to y then test with `echo "hello" | write <username>`. `Wall` messages all logged in users and I wouldn't recommend that approach.
- y0ssar1an 10y agoThis already exists. It's called noti. It's cross-platform, supports most of the same backends, and can send Slack notifications (which ntfy can't). It also has an awesome API. You can put `noti` at the start of a command or `;noti` at the end, which is what I always do. I never remember to set the notification until after I've typed the command. If you forget to set the notification and the command is already running, you can call `noti -pwatch <pid>` and set notifications after the fact. It's very well thought out. https://github.com/variadico/noti https://github.com/variadico/noti
- deleted 10y ago[deleted]
- buster 10y agoApart the fact that you sound like an advertisement for another software it takes just a few seconds to see that noti doesn't work on windows or with telegram for example. Not supporting a major OS is a big deal.
- dmos62 10y agoOnly if you are using that major platform.
- buster 10y agoI don't use Windows, but Linux.
- voltagex_ 10y agoI'm adding very basic Windows 10 (because notifications are ~50 lines there, many many more on older platforms) support. Writing my first Go code was easier than packaging ntfy for Windows, FWIW.
- sneak 10y agoTelegram is dangerous snake oil, and its use should be discouraged.
- heydonovan 10y agoI've always just used mail to send a text for notification: ./long_running_script.sh && mail -s "Script Done!" number@tmomail.net
- posixpwn 10y agoThe fact that it doesn't support major OS is a bummer
- dschep 10y agoHow so? It runs on Mac OS, Linux and Windows.
- tymm 10y agoFunny to see this on HN since I just released an Android App called Simplepush (https://simplepush.io https://simplepush.io) which qualifies for what Ntfy calls a backend. Let's see if they accept a PR to list me as an additional backend :)
- dschep 10y agoYup! I'll review it when I'm not sleepy :)
- captn3m0 10y agoI am looking for a tool that sends me webhooks for events that happen on my phone. (Idea is to pre-process SMS message that I get and show me priority notifications via Chrome or other means). Anyone knows of something that does this? (Android)
- tymm 10y agoI think pushbullet does that.
- mxuribe 10y agoSeems pretty cool!
- dtjohnnymonkey 10y agoOn OS X I usually do 'cmd && say "files done" || say error'