Host your own NTFY Server with Linode: ntck.co/linode - you get a $100 Credit good for 60 days as a new user! 🔥🔥Like my videos? Consider joining NetworkChuck Academy: ntck.co/NCAcademy ☕☕Try my coffee: NetworkChuck.coffee VIDEO DOCS and LINKS: ntck.co/ntfync In this video, we'll be exploring the amazing notification tool called NTFY (or notify). With NTFY, you can get notifications for almost anything you want, from long-running commands to battery levels. It's free, open-source, and can be self-hosted, making it a powerful tool for sysadmins and power users alike. We'll start by showing you how to install NTFY on Linode, one of our favorite cloud providers, or on-prem using Docker, a Raspberry Pi, or a Cloudflare tunnel. We'll also show you how to set up the free NTFY app for Android or iPhone to receive notifications. Once you've got NTFY up and running, we'll show you some fun use cases, including how to get notified when a long-running command finishes, when your website goes down, or when your battery is low. We'll also show you how to set up a cron job for a daily reminder or a birthday reminder. If you're a sysadmin or power user looking for a notification tool that can do almost anything, then NTFY is the tool for you. So, join us and learn how to get notified of everything with NTFY! **Sponsored by Linnode, Cloud Computing From Akamai
@@syedibrahimkhalil786I am using this tool from a long time in my Security Operation Centre. I can easily push certain alerts like windows wrong password or usb device connected or specific alerts as push notification. This is really handy.
Little command line kung fu for those who dont know...if you forgot to put sudo on a command..instead of retyping the command just type "sudo !!" And the last command will be repeated with sudo in the beginning. The two exclaimation marks (!!) will repeat the last command with whatever you typed in the beginning. Very usefull trick, mostly for when you forgot sudo.
Yes. More precisely, !! is shortcut for !-1, where 1 is the number of commands ago that you want to repeat. !386 would run the command number 386 in your history. That can be highly useful as well. "history". Find the command you want to repeat and !number to run it.
@@MarkoVukovic0: Yes, I love it! This is the benefit of a system having had 50 years to mature. It has enormous amounts of useful little things and always something new to learn. :) Did you know that if you press ctrl+xe then you can write your command into your default editor to make it easier to read and edit and then when you save and close, it will be run as a command? Very useful, particularly on dangerous commands!
@@jeschinstad another one I didn't know, wow, thanks! I've been using Linux for years but never bothered to look into these amazing shortcuts! Thanks again! Do you use a terminal multiplexer? I am enjoying Byobu after having used Screen for many years.
Thank You Chuck ! A year ago, when I first saw Your channel, You became my inspiration to change my life. I changed my career and since June 2023 I have been working in IT :) 😎 Great channel keep it up :) You're doing a great job!
Thanks Chuck. . Also, guyz. You can add " --restart always" while running the docker container so even after system reboot ur docker container spins up again and your notification never stops.
Oh that's so cool to see you do a video on this tool! I have been using it for some time now and got it introduced at my workplace. I work at the ER of a local hospital and we use it to sent push messages to other nearby hospitals (and receive them) when it's getting very busy somewhere so it is likely more patients will be coming towards us as they are running out of capacity for example. Really useful and so easy to use even doctors can work with it haha. Besides that I also use it for my homelab (in another channel obviously haha) and for example to sent commands to control my smart home. I also use it with tasker which lets you do fun stuff like request the location of your phone or the battery levels and get notified when they are low. Truly the possibilities are endless and its really easy to setup and get going. The developer did a great job on writing splendid documentation for his tool as well. I'm really grateful for the person that made this and it's awesome to see a (relatively?) big TH-camr give him some well-deserved recognition for his efforts! Great video
@QSC0P3 You had me at "run it as a portal so that you can chat to chatGPT". (I've been obsessed with ChatGPT lately and have been using it help me create code and scripts).
I just set up my own home server. Small tip: If you are already hosting something on port 80 on your home server or you just want to use a different port instead of doing "80:80", do [PORT]:80. Where [PORT] is the port number you choose. Pretty slick notification service. Thanks for sharing and thanks for the easy to follow tutorial!
if you do "docker run ---name ntfy p 80:80 -itd binwiederhier/ntfy serve" it'll name the container and you won't have to copy paste the ID. You can also add --restart always to it, and it'll always boot up with your server.
I Really want to thank you for renewing my excitement for tech and for learning again. I pretty much gave up long ago and got buried in the slog of 9-5 and felt like I was drowning a bit. Great content, amazing presentation, and just all around fantastic.
I watched this months ago but just now had a migration project where I have had a chance to use it! this has made my life SO MUCH better these last days! Thanks a lot Chuck. Always spreading awesome content.
German dude here, "binwiederhier" is in deed german and translates to "i am here again". So basicly "bin wieder hier" on your channel, enjoying nice dockerized tools to add to my digital home-fortress. Thanks for your vids, keep it up ;) Also as a side note: Due to the upcoming python for excel you could even notify from excel sheets if certain rules are met (for example some values in cells reach certain limits)
Amazing video!! I used ntfy to send me a message on my phone when someone is at the door. I built an IP camera, hooked it up to motion eye. Luckily motion eye has a feature where you can run a command when motion is detected. But it works a dream. Thanks Chuck!
Wow, I've been wanting something like this for so long. This is the first project you've led me to that had running within the hour of learning about it.
I have never been more excited, charmed, and motivated by a video I intend to never use. Chuck, your energy is infectious. Now if only your knowledge were so as well.
an interesting thing is as this uses simple post requests, I can use something like this in modded minecraft since some mods add computers that can do this sort of thing. I think it would be very useful for seeing when a crafting recipie is finished since in some modpacks it can take quite a while to do so
Fascinating. I did something similar in the ancient past, when XMPP was the next big thing. I would send notifications as chat messages. It's very useful to have things like this, but the really old fashioned way of doing this is through email. Having your system being notify you of things via mail is very useful and perhaps more generally useful since you can generate as much descriptive text as you like. But fun is always fun! :)
Thank you for making this video. I took you advise and signed up for a Linode server. The good news is I now have a "go to" place for Linux servers. The bad news, for the folks at Linode, is I am a complete novice/newbie with Linux. I didn't know to "Harden" the Linode and it became spammer candy. I received policy violations within hours of signing up. Sorry bout that, my bad. Huge plug for the Linode folks. They were very gracious I also did the Portainer thing which is awesome. Bottom line, Linux yea, Docker, yea, Portainer yea, and NTFY yea. Good day in the neighborhood.
Your videos have always kept me up-to-date with the latest technologies used within the IT world; and they taught me a lot so far. I've always had that passion for IT and your videos have really made it more fun for me to get around new technologies. Keep up the awesome work man. You've always made good quality content, just wanted to show my appreciation for the effort you're putting into making those videos
This is awesome. I have recently set up Frigate NVR as a self hosted CCTV solution, but currently the push notifications are sent through Home Assistant which I have no use of apart from this. It's a fairly bloated way of getting these notifications, and NFTY might just be the tool I need to replace it!
17:00 i had no clue you can do terinary operators in terminal, nice one. also of course ntfy is AMAZING, thank you for popping up in my suggested video and thank you to the devs/maintainers of the software! deffo going to set it up on my rpi
This video just popped right when I needed it. Last week I was thinking about setting up notifications when things are done in the cli for example running ansible playbooks take a while sometimes. Ntfy is the perfect solution, great project. And thanks for the tutorial Chuck!
@@bambo5243 users of my tools can be alerted by notifications instead of emails with the results of the tools... i get notification when a user logged in with a wrong password... I get notifications if anything went wrong on one of the API call... and so on... it's amazin
Bioinformatic pipelines that run for ages might be able to use this. Sometimes it takes multiple days to run them. This might just be a gamechanger to immediately become productive again when the pipeline has finished running (at least when running locally!)
They make little water/moisture sensors. If someone is taking care of your dogs, you could have one of those sensors under the lip of their water bowl. You can ask your dogsitter to check the water if you get an alert.
TL//DR: use @- as the string for the -d argument and curl will read the piped stdin and send it as data `man curl` tells us that the -d (or any --data-, ie: --data-raw) flag accepts @filename as an indicator that the argument is a path to a file to be read. Using - as your filename is shorthand for /dev/stdin in many Posix and Gnu tools. If what you want to read is the error output, you can use @/dev/stderr in the curl command or replace your pipe | with 2| which is a nomenclature for fd2. And you might now be thinking, a simple pipe | is shorthand for 1| because fd1 is /dev/stderr (you are very clever, I like how you think).
I dont remember you really mentioning it but it has a web interface. The web ui can get notifications in the browser as long as its open in a tab. Also for those that didnt catch it he was running on port 80. If you have ngix proxy manager or some other similar service you will need to change the first one in the command 80:80 so it would be 8888:80 in my case.
Thanks I really needed something like this for my automation programs originally I was going to make a python script that sends me an email to notify me but it seemed like a lot of work, but now imma implement ntfy on my scripts😃
When you execute `docker run` commands, if you add ` --name=yourcontainer name`, then you can use your container name anywhere that you would have previously used a container ID, negating the need to `docker ps` and copy the ID each time you want to manage a container. This is also advisable because as your container collection grows, it gets more and more unwieldy to depend on the ID for ad-hoc operations like that.
Hmm, I wonder if I could use this to have my Reolink cameras send me a notification when they detect motion, complete with the attached picture. They supposedly have push notification support built in but it's never worked. Previously had to use a janky setup where the NVR sends an email and that gets picked up by PushOver who then sends me a notification but some times there can be a delay, the picture doesn't send, etc... Now that I have my cameras isolated from the Internet, doing it locally would be nice and using something like a Cloudflare tunnel to have it only send the notifications over the Internet when out of the house, thus keeping the cameras themselves internet isolated, would be nice.
dang...I want to be like you. been a subscriber for a while, but I need to go back and watch your older stuff. anyhow, keep the videos coming, and thanks.
OMG, that caffeine had you rolling fast. I would literally have to slow the speed of the video and still have to pause and rewatch just to stay up with your moves. I thought I had skills, your a madman. Props! Do I need notifications, not as much as you seem to. :) Thanks for the video, I love learning stuff.
Ive wanted to be avle to do this for years on so many coding projects but didnt want to write a mobile app to receive messages from my python programs. This tool is so perfect
I use it as a minimal-messaging-bus! I can subscribe to a topic and execute a script, everytime a message gets pushed into the topic. The message gets passed to the script and the values can be used. You can send JSON valid messages and pass metadata around. I love NTFY
Thanks, so many times I've been doing something thinking a noification would be nice to have, or abused monitoring servers like PRTG where a script wrote results to a txt file, which I monitored with a PRTG sensor. The downside is I need to setup the sensor, notifications and user / notification accounts in the monitoring server, this does not need any of that. Definately going to play around with this, I feel I'm going to need this in the future for some out of the box type solution.
love this vid, thanks again! Had to restart my linode instance and had to go back here to reference the docker commands to bring back up my nifty server again. This time I captured them in my notepad ;)
Its been years since I have been using something like this, I have two aliases that either sends alerts or notifications depending on what on the nature of the notification on Telegram. For example if a service is down, I get an alert. If a Linux ISO has just finished downloading it sends a notification. But this also looks like a nice project.
Since I haven't seen a comment about it, I'll just add my 2 cents. Yes, it is german (the binwiederhier part of the name), and it means "am here again". No, this is not a german compound word, it is just smushed together. It would normally be written as "bin wieder hier". The switched word order is because of german grammar rules. "bin" = "am", "wieder" = "again", "hier" = "here". And when it comes to pronunciation, it's amlost the same, but "wieder" is pronounced something like "veeder".
no automatic pushes on iOS 16.6 only manual update withing app by pulling from top down. also i couldn't see any clear instruction in the documentation on show to secure it from being publicly accusable, maybe you can do a part 2 on that?
I always get a chuckle out of hearing young guys "pronounce" 'sudo' .... I'm sure you know this command stands for "Super User Do" .... so, with limited phonetic symbols available, I have always pronounced this as 'sue-du' or 'soo-doo'. Since I tend to mentally expand abreviations, it just sounds wrong to hear 'sue-doe' or 'sue-doh'. Seriously though, NTFY is a great tool. Something I had not known about. Great description of how to set it up. Thank you. I really do enjoy your detailed setup videos on different tools you create.
Hi. What is 45 disks. The HPE Apollo G10 device is smaller and more efficient - this is what I currently use. They have a blaid server with 2 HDDs per system, and 60 HDDs with 3.5 inch bays are available for use. Take a look at this construction.
4:08 yes it is in german =) Thanks a lot for new stuff. By the way a few days ago i wrote a python script which each day send me motivation text. I used for notification pushbullet.
im planning on making a home server to play around with game hosting and a load of other things, this sounds like it would be great to monitor the servers and send notifications to me if they ever go down while my friends are playing, using cloudflare tunnel to ssh into the server securely with a laptop and restart it remotely. this video has everything im looking for explained in one video (locally hosted tunneling, notification, and monitoring) unless im misinterpreting things but i guess il find out
I set up a script that takes a picture with the front camera (using fswebcam) upon login and then sends a push notification with the time, date and picture of whoever logged in. Fantastic physical detective control
How cool is that WOW, but i think its too complicated to most people, as for me "kde connect" is best solution for house, simple install add device and thats it. Thanks for video!
I would use this notified application to tell me when a filesystem has reached a certain threshold, meaning say 80% capacity due to say for example, nix generations that have not been garbage collected and are not needed or snapshots from snapper running on a B Tree Fike System. In fact, I've been looking for this Fike System capacity threshold notifier for a couple weeks now. Great video. Great little tool.
I used to use Signal for notifications from a Home Assistant Add-On until I accidentally broke it and can't get to work anymore with the junk number I bound 😅 but it worked perfectly when i had it functioning. 5G or Wifi, didn't matter, i received end to end encrypted messages when my garage door would open or close, it was awesome
On iOS I was not receiving push notifications for a while after messing with the configs. I did everything correctly with the upstream-base-url for push. What I needed to do on my iOS app was delete the existing subscription, and re-subscribe again. Hopefully this saves someone else some time!
I've not tried the exit status of ping in many many years. The wildest thing I've learned from this video, if it works, is there are ping versions out there that might exit nowadays with a valid 1 or 0 depending if the address pings. I've always written wrappers around ping commands due to all the weird things ping will do like "network unreachable" or routing errors for the icmp would let ping exit with a good status. I think I usually just ended up grepping for 100% good and also had to rule out any network weirdness to get a reliable ping/up test.
***VIDEO REQUEST*** So, I am a tech nerd in denial for so long. I missed out on how to do so much. I have always known there were certain things that could happen to change my life, I just didnt know how. On my search, I found you. I adore you and all you do; but never try any of it because I am now old and tech has gotten so... high tech, lol. If you were a non-IT master, and didnt know where to start, AND you have only old tech; what do you think would be the best way to start building so you could do all the cool things Network Chuck can?
Host your own NTFY Server with Linode: ntck.co/linode - you get a $100 Credit good for 60 days as a new user!
🔥🔥Like my videos? Consider joining NetworkChuck Academy: ntck.co/NCAcademy
☕☕Try my coffee: NetworkChuck.coffee
VIDEO DOCS and LINKS: ntck.co/ntfync
In this video, we'll be exploring the amazing notification tool called NTFY (or notify). With NTFY, you can get notifications for almost anything you want, from long-running commands to battery levels. It's free, open-source, and can be self-hosted, making it a powerful tool for sysadmins and power users alike.
We'll start by showing you how to install NTFY on Linode, one of our favorite cloud providers, or on-prem using Docker, a Raspberry Pi, or a Cloudflare tunnel. We'll also show you how to set up the free NTFY app for Android or iPhone to receive notifications.
Once you've got NTFY up and running, we'll show you some fun use cases, including how to get notified when a long-running command finishes, when your website goes down, or when your battery is low. We'll also show you how to set up a cron job for a daily reminder or a birthday reminder.
If you're a sysadmin or power user looking for a notification tool that can do almost anything, then NTFY is the tool for you. So, join us and learn how to get notified of everything with NTFY!
**Sponsored by Linnode, Cloud Computing From Akamai
Love the videos. - can you update on that status of your nwc course site? I’ve sent several emails to support with no response.
this is an instant notification system, minus ssh, for headless hacking gadgets
also for an 'im still alive" recurring message to track when a remote device goes down
please NetworkChuck whats the background music i love it
Your drinking so much of coffee ☕
ntfy maintainer here. Thanks for this video, dude! Happy to answer questions. (Maybe delayed though as I am travelling internationally tmr)
why are you so awsome??
Awesome, could you let us know about security based use cases?
So if i have multiple devices can i send a message to a specific device?
@@syedibrahimkhalil786I am using this tool from a long time in my Security Operation Centre. I can easily push certain alerts like windows wrong password or usb device connected or specific alerts as push notification. This is really handy.
@@donciak 😂 Thanks for the kind words.
Little command line kung fu for those who dont know...if you forgot to put sudo on a command..instead of retyping the command just type "sudo !!" And the last command will be repeated with sudo in the beginning. The two exclaimation marks (!!) will repeat the last command with whatever you typed in the beginning. Very usefull trick, mostly for when you forgot sudo.
Great trick, thanks for that!
Yes. More precisely, !! is shortcut for !-1, where 1 is the number of commands ago that you want to repeat. !386 would run the command number 386 in your history. That can be highly useful as well. "history". Find the command you want to repeat and !number to run it.
@@jeschinstad learning something new every day, that's really powerful. Thanks!
@@MarkoVukovic0: Yes, I love it! This is the benefit of a system having had 50 years to mature. It has enormous amounts of useful little things and always something new to learn. :) Did you know that if you press ctrl+xe then you can write your command into your default editor to make it easier to read and edit and then when you save and close, it will be run as a command? Very useful, particularly on dangerous commands!
@@jeschinstad another one I didn't know, wow, thanks! I've been using Linux for years but never bothered to look into these amazing shortcuts! Thanks again! Do you use a terminal multiplexer? I am enjoying Byobu after having used Screen for many years.
Even when you don't really want to use the software or project ... You still want to watch the video because it is so entertaining!
Thank You Chuck !
A year ago, when I first saw Your channel, You became my inspiration to change my life.
I changed my career and since June 2023 I have been working in IT :)
😎
Great channel keep it up :)
You're doing a great job!
Thanks Chuck.
.
Also, guyz.
You can add " --restart always" while running the docker container so even after system reboot ur docker container spins up again and your notification never stops.
Oh that's so cool to see you do a video on this tool!
I have been using it for some time now and got it introduced at my workplace. I work at the ER of a local hospital and we use it to sent push messages to other nearby hospitals (and receive them) when it's getting very busy somewhere so it is likely more patients will be coming towards us as they are running out of capacity for example.
Really useful and so easy to use even doctors can work with it haha. Besides that I also use it for my homelab (in another channel obviously haha) and for example to sent commands to control my smart home. I also use it with tasker which lets you do fun stuff like request the location of your phone or the battery levels and get notified when they are low. Truly the possibilities are endless and its really easy to setup and get going. The developer did a great job on writing splendid documentation for his tool as well.
I'm really grateful for the person that made this and it's awesome to see a (relatively?) big TH-camr give him some well-deserved recognition for his efforts! Great video
wym relatively this man has 3.26 million subscribers lmao
I have absolutely no need for this though.
Its crazy how late Chuck gets to the game. Like he waits for everyone else and copy them lol
@QSC0P3 You had me at "run it as a portal so that you can chat to chatGPT".
(I've been obsessed with ChatGPT lately and have been using it help me create code and scripts).
@@JosephLopes-x1t oh yeah scrap the relatively haha that's prettig damn big nvm
I just set up my own home server. Small tip: If you are already hosting something on port 80 on your home server or you just want to use a different port instead of doing "80:80", do [PORT]:80. Where [PORT] is the port number you choose. Pretty slick notification service. Thanks for sharing and thanks for the easy to follow tutorial!
23 minutes of video gives 23 weeks of study to fully understand everything hahaha really love you
lol
For anyone asking: binwiederhier, German for „(ich) bin wieder hier“ means "I am back again" and can be pronounced like "bin vida here" :-) Grüße! 😊
Mann, da wollt ich aufgeregt ne Antwort tippen und dann war jemand acht Monate schneller. :P
@@emerelle3535 😇👍
if you do "docker run ---name ntfy p 80:80 -itd binwiederhier/ntfy serve" it'll name the container and you won't have to copy paste the ID. You can also add --restart always to it, and it'll always boot up with your server.
thanks for this
I Really want to thank you for renewing my excitement for tech and for learning again. I pretty much gave up long ago and got buried in the slog of 9-5 and felt like I was drowning a bit.
Great content, amazing presentation, and just all around fantastic.
Same. Burned out some time ago but I'm finding my way back to being excited about tech because of people like him.
I watched this months ago but just now had a migration project where I have had a chance to use it! this has made my life SO MUCH better these last days! Thanks a lot Chuck. Always spreading awesome content.
Always wanted to write a cool comment
I completely agree with your statement and thats honestly such a cool idea
this is a cool comment
Oh well. Better luck next time.
@@awakenotwoke1973 shut
🧊 🧊 🧊
Set this up because of this video and I love it. Get notified every morning on whether or not my backups failed or were successful.
German dude here, "binwiederhier" is in deed german and translates to "i am here again". So basicly "bin wieder hier" on your channel, enjoying nice dockerized tools to add to my digital home-fortress. Thanks for your vids, keep it up ;)
Also as a side note: Due to the upcoming python for excel you could even notify from excel sheets if certain rules are met (for example some values in cells reach certain limits)
Probably already works with a VBA Shell command
came here for the topic. walked away with exactly what I was needing before with cloudflare tunnels. thanks man. really enjoy your content
Amazing video!! I used ntfy to send me a message on my phone when someone is at the door. I built an IP camera, hooked it up to motion eye. Luckily motion eye has a feature where you can run a command when motion is detected. But it works a dream. Thanks Chuck!
💯
That is cool.
Wow, I've been wanting something like this for so long. This is the first project you've led me to that had running within the hour of learning about it.
I have never been more excited, charmed, and motivated by a video I intend to never use. Chuck, your energy is infectious. Now if only your knowledge were so as well.
Your videos have always kept me up to date with Linode. Thats literally all Ive learned. Linode., You need LINODE for everything.
an interesting thing is as this uses simple post requests, I can use something like this in modded minecraft since some mods add computers that can do this sort of thing. I think it would be very useful for seeing when a crafting recipie is finished since in some modpacks it can take quite a while to do so
That would be a cool use case! Curious how you’d implement.
computercraft/cc tweaked?
you can request a bulk craft with create mod mechanical crafters and have it send you a push notification when it's done
@@Markyrosonlua, cc adds http module so not that hard to send the request
Imagine a system where you can send commands to a computer in-game from your IRL phone!
Craft me x64 crafting tables
Fascinating. I did something similar in the ancient past, when XMPP was the next big thing. I would send notifications as chat messages. It's very useful to have things like this, but the really old fashioned way of doing this is through email. Having your system being notify you of things via mail is very useful and perhaps more generally useful since you can generate as much descriptive text as you like. But fun is always fun! :)
i love this channel because it keeps me up to date with all the new tools that pay Chuck to get excited about
Thank you for making this video. I took you advise and signed up for a Linode server. The good news is I now have a "go to" place for Linux servers. The bad news, for the folks at Linode, is I am a complete novice/newbie with Linux. I didn't know to "Harden" the Linode and it became spammer candy. I received policy violations within hours of signing up. Sorry bout that, my bad.
Huge plug for the Linode folks. They were very gracious I also did the Portainer thing which is awesome.
Bottom line, Linux yea, Docker, yea, Portainer yea, and NTFY yea. Good day in the neighborhood.
Your videos have always kept me up-to-date with the latest technologies used within the IT world; and they taught me a lot so far.
I've always had that passion for IT and your videos have really made it more fun for me to get around new technologies. Keep up the awesome work man.
You've always made good quality content, just wanted to show my appreciation for the effort you're putting into making those videos
This is awesome. I have recently set up Frigate NVR as a self hosted CCTV solution, but currently the push notifications are sent through Home Assistant which I have no use of apart from this. It's a fairly bloated way of getting these notifications, and NFTY might just be the tool I need to replace it!
SHENANIGANS 🤩
17:00 i had no clue you can do terinary operators in terminal, nice one. also of course ntfy is AMAZING, thank you for popping up in my suggested video and thank you to the devs/maintainers of the software! deffo going to set it up on my rpi
This video just popped right when I needed it. Last week I was thinking about setting up notifications when things are done in the cli for example running ansible playbooks take a while sometimes. Ntfy is the perfect solution, great project. And thanks for the tutorial Chuck!
that's insane! I'm adding that in my work flow as of today and will share it in our next team meeting!
how are you planning to implement it? i dont rly get for what i would use it
@@bambo5243 users of my tools can be alerted by notifications instead of emails with the results of the tools... i get notification when a user logged in with a wrong password... I get notifications if anything went wrong on one of the API call... and so on... it's amazin
"Bin wieder hier" means "(I) am again here"
Thank you for the video! I'm drinking coffee right now 😊❤
Bioinformatic pipelines that run for ages might be able to use this. Sometimes it takes multiple days to run them. This might just be a gamechanger to immediately become productive again when the pipeline has finished running (at least when running locally!)
THE FIRE ALARM BELL FROM GHOSTBUSTERS IS WHAT YOU WANT
They make little water/moisture sensors. If someone is taking care of your dogs, you could have one of those sensors under the lip of their water bowl. You can ask your dogsitter to check the water if you get an alert.
TL//DR: use @- as the string for the -d argument and curl will read the piped stdin and send it as data
`man curl` tells us that the -d (or any --data-, ie: --data-raw) flag accepts @filename as an indicator that the argument is a path to a file to be read. Using - as your filename is shorthand for /dev/stdin in many Posix and Gnu tools. If what you want to read is the error output, you can use @/dev/stderr in the curl command or replace your pipe | with 2| which is a nomenclature for fd2. And you might now be thinking, a simple pipe | is shorthand for 1| because fd1 is /dev/stderr (you are very clever, I like how you think).
why didn't anyone tell me about 2| until now!?
I dont remember you really mentioning it but it has a web interface. The web ui can get notifications in the browser as long as its open in a tab.
Also for those that didnt catch it he was running on port 80. If you have ngix proxy manager or some other similar service you will need to change the first one in the command 80:80 so it would be 8888:80 in my case.
Thanks I really needed something like this for my automation programs originally I was going to make a python script that sends me an email to notify me but it seemed like a lot of work, but now imma implement ntfy on my scripts😃
When you execute `docker run` commands, if you add ` --name=yourcontainer name`, then you can use your container name anywhere that you would have previously used a container ID, negating the need to `docker ps` and copy the ID each time you want to manage a container. This is also advisable because as your container collection grows, it gets more and more unwieldy to depend on the ID for ad-hoc operations like that.
Fun fact: The container binwiederhier is German "Bin wieder hier" and it's slang for "I'm here again"
I have a hunch it's related to the book and film Er ist wieder da.
"bin wieder hier" is actually german for "I'm back here again".
Looks like a pretty mighty tool, thank you for telling!
Hmm, I wonder if I could use this to have my Reolink cameras send me a notification when they detect motion, complete with the attached picture. They supposedly have push notification support built in but it's never worked.
Previously had to use a janky setup where the NVR sends an email and that gets picked up by PushOver who then sends me a notification but some times there can be a delay, the picture doesn't send, etc...
Now that I have my cameras isolated from the Internet, doing it locally would be nice and using something like a Cloudflare tunnel to have it only send the notifications over the Internet when out of the house, thus keeping the cameras themselves internet isolated, would be nice.
I image that should be absolutely possible
dang...I want to be like you. been a subscriber for a while, but I need to go back and watch your older stuff. anyhow, keep the videos coming, and thanks.
I am thinking of using it to communicate better with my wife. That way I get a word in.
OMG, that caffeine had you rolling fast. I would literally have to slow the speed of the video and still have to pause and rewatch just to stay up with your moves. I thought I had skills, your a madman. Props! Do I need notifications, not as much as you seem to. :) Thanks for the video, I love learning stuff.
First. Love to see new content from Chuck. 😊
Whenever I see one of your videos I dont know why out of nowhere I feel like going to a starbucks with my laptop and be all creative
What a powerful tool ❤
Ive wanted to be avle to do this for years on so many coding projects but didnt want to write a mobile app to receive messages from my python programs. This tool is so perfect
You could also use python to send a post message to the telegram api to get notifications on your phone.
Amazing 😮
I use it as a minimal-messaging-bus! I can subscribe to a topic and execute a script, everytime a message gets pushed into the topic.
The message gets passed to the script and the values can be used.
You can send JSON valid messages and pass metadata around.
I love NTFY
These tutorials always make me smile and they’re so dang useful!!!
Thanks, so many times I've been doing something thinking a noification would be nice to have, or abused monitoring servers like PRTG where a script wrote results to a txt file, which I monitored with a PRTG sensor. The downside is I need to setup the sensor, notifications and user / notification accounts in the monitoring server, this does not need any of that. Definately going to play around with this, I feel I'm going to need this in the future for some out of the box type solution.
i will have the smartest squirrels in IT by the time im done watching your CCNA series. got 3 baby squirrels on the desk in my office.
love this vid, thanks again! Had to restart my linode instance and had to go back here to reference the docker commands to bring back up my nifty server again. This time I captured them in my notepad ;)
Its been years since I have been using something like this, I have two aliases that either sends alerts or notifications depending on what on the nature of the notification on Telegram. For example if a service is down, I get an alert. If a Linux ISO has just finished downloading it sends a notification. But this also looks like a nice project.
X2
You're an amazing teacher!!! I'm definitely subscribing !
this is actually very good i now use it to alert me when an ML model is done training or a large dataset is done pre-processing, saves a lot of time.
I've been with ntfy since the beginning.
Got to say chuck, videos with that background music are something else. This is great 😝😎
Hey, Chuck, yes that is German: "Bin wieder hier!" means " I am back again"! Great content! Keep it up!!! Cheers, Sven
Since I haven't seen a comment about it, I'll just add my 2 cents. Yes, it is german (the binwiederhier part of the name), and it means "am here again". No, this is not a german compound word, it is just smushed together. It would normally be written as "bin wieder hier". The switched word order is because of german grammar rules.
"bin" = "am", "wieder" = "again", "hier" = "here". And when it comes to pronunciation, it's amlost the same, but "wieder" is pronounced something like "veeder".
Mr. Chuck You're awesome!!! Thanks for the content... Once again. You're awesome!!!
no automatic pushes on iOS 16.6 only manual update withing app by pulling from top down. also i couldn't see any clear instruction in the documentation on show to secure it from being publicly accusable, maybe you can do a part 2 on that?
Just stumbled upon your channel, the music in the background is amazing!
Love this notifcation service. Wish you'd have gone into the user setups a bit more. But you at least pointed us in the right direction
Thanks to you I now know about notify-send, it's not as powerful but it gets job done. Thanks. 👍
I always get a chuckle out of hearing young guys "pronounce" 'sudo' .... I'm sure you know this command stands for "Super User Do" .... so, with limited phonetic symbols available, I have always pronounced this as 'sue-du' or 'soo-doo'. Since I tend to mentally expand abreviations, it just sounds wrong to hear 'sue-doe' or 'sue-doh'.
Seriously though, NTFY is a great tool. Something I had not known about. Great description of how to set it up. Thank you. I really do enjoy your detailed setup videos on different tools you create.
Hi, I'm here because Claude AI said I'd like this channel.
Thank you Chuck, you open a new world for me with ntfy!
but on Android it is a battery-killer
Hi. What is 45 disks. The HPE Apollo G10 device is smaller and more efficient - this is what I currently use.
They have a blaid server with 2 HDDs per system, and 60 HDDs with 3.5 inch bays are available for use. Take a look at this construction.
4:08 yes it is in german =) Thanks a lot for new stuff. By the way a few days ago i wrote a python script which each day send me motivation text. I used for notification pushbullet.
Now that's what I am talking about! Good video Chuck! Keep it coming
You have no idea how much Anxiety this is gonna save me, Thank You very much for this video, Also much thanks to the creator of the tool.
Love the self hosted solutions. Thank you!
Been waiting to receive a notification from this channel❤
You are the best sir, you give us tools we actually need.
wow this is probably the first time i knew something that you didnt already know
Awesome, especially the added bonus of a CloudFlareD Tunnel.
Thanks especially for the iOS configuration part! I initially struggled there and thought I was doomed to not get pushes!
I deleted the #, but I still can't get the push. Do you have any suggestions?
im planning on making a home server to play around with game hosting and a load of other things, this sounds like it would be great to monitor the servers and send notifications to me if they ever go down while my friends are playing, using cloudflare tunnel to ssh into the server securely with a laptop and restart it remotely. this video has everything im looking for explained in one video (locally hosted tunneling, notification, and monitoring) unless im misinterpreting things but i guess il find out
I set up a script that takes a picture with the front camera (using fswebcam) upon login and then sends a push notification with the time, date and picture of whoever logged in. Fantastic physical detective control
Even though I have no idea what all that text means, I enjoyed the video. Thanks for popping up on my feed ❤
How cool is that WOW, but i think its too complicated to most people, as for me "kde connect" is best solution for house, simple install add device and thats it. Thanks for video!
Great video once again.... Btw, since you asked the "binwiederhier" container is indeed German and it means: "I am here again".
Yo chuck thanks bro for the info...really helped me out this passed week a ton or more actually. Keep it up ❤🇿🇦 love from south africa
I would use this notified application to tell me when a filesystem has reached a certain threshold, meaning say 80% capacity due to say for example, nix generations that have not been garbage collected and are not needed or snapshots from snapper running on a B Tree Fike System.
In fact, I've been looking for this Fike System capacity threshold notifier for a couple weeks now.
Great video. Great little tool.
I used to use Signal for notifications from a Home Assistant Add-On until I accidentally broke it and can't get to work anymore with the junk number I bound 😅 but it worked perfectly when i had it functioning. 5G or Wifi, didn't matter, i received end to end encrypted messages when my garage door would open or close, it was awesome
On iOS I was not receiving push notifications for a while after messing with the configs. I did everything correctly with the upstream-base-url for push. What I needed to do on my iOS app was delete the existing subscription, and re-subscribe again. Hopefully this saves someone else some time!
I've not tried the exit status of ping in many many years. The wildest thing I've learned from this video, if it works, is there are ping versions out there that might exit nowadays with a valid 1 or 0 depending if the address pings.
I've always written wrappers around ping commands due to all the weird things ping will do like "network unreachable" or routing errors for the icmp would let ping exit with a good status. I think I usually just ended up grepping for 100% good and also had to rule out any network weirdness to get a reliable ping/up test.
Awesome video. I actually registered to Linode and set this up to play with, this is wonderful (and Linode is pretty cool too). Thanks for the video!
I'd probably use Podman instead of Docker these days. The neat thing about it is it's almost plug and play for your existing docker stuff.
Been waiting for you to cover this one, Nice one.. :)
Quite strong. Seems like you could use it as a form of communication as well.
Ntfy is just what I needed! Thanks for another great video.
I’m glad we’ve finally caught back up with 2005 and have a Growl-type solution again.
Oh boy, has computer technology come a long way.
Don't know about notifications, but you have a beautiful family
Great idea! I can use this concept with Home Assistant since I already use that app.
Great video chuck, but you may enjoy sudo!! To rerun a failed command, you know so you don’t have to retype everything 😊
***VIDEO REQUEST*** So, I am a tech nerd in denial for so long. I missed out on how to do so much. I have always known there were certain things that could happen to change my life, I just didnt know how. On my search, I found you. I adore you and all you do; but never try any of it because I am now old and tech has gotten so... high tech, lol. If you were a non-IT master, and didnt know where to start, AND you have only old tech; what do you think would be the best way to start building so you could do all the cool things Network Chuck can?
Thank you for using nano like a rational human being