 Okay in the last video we were looking at notify.sh or NTFY which allows you to do push notifications to all your devices. We looked at using their server and I do promise showing you how to set up your own server in the future but I actually just wanted to go over some more stuff I didn't go over in the first video so let's jump right in. Here is their website again and if you didn't watch last I recommend watching the last video but real quick you can send and receive stuff using curl their app their web interface and but there's more so let's look real quick so I have the app installed on my device I click on it here let's go ahead and last time we talked about fixing battery optimization so you're going to turn off battery optimization for this that means that it's going to allow it to keep running in the background what you want to because you want to get your notifications shouldn't affect your battery that much and using this for all your push notifications allows you to have one service ring for all your push notifications rather than multiple services which is awesome let's go ahead and click fix now and you can see ones that are not optimized and you want it to be not optimized so let's go to all let's click here let's type in NTFY there it is and we will say don't optimize done okay we can click back until we're back in the app and so now it will definitely be running in the background you don't have to worry about it falling asleep let's go ahead and look at this so I'm subscribed to two things right now fbk and films like Chris just using them for testing something that we didn't look at the last one let me go here and let me go to films by chris let me type that properly and I'm going to minimize the app here and so again you can send a message here so I can say test send and it will show up here you can see on my desktop and on my mobile device I can go ahead and click on that or swipe it away let's go here and we hit this little up in the web interface we can set a title I can say new photo I can say message I can say photo of me and then I can send all that I can do tags I can do priorities and we can do click your clickable url we can force email attach url I want to look at here we can set delay so I guess you can set the message to go out later on but I'm gonna say attach a local file let's choose a picture here of me and I'm gonna say send and right there it comes through and it's on my desktop which doesn't show a preview of the picture but I can drag down here and look the photo is right there I can open it I can browse I can click on this it will just bring me to the application there it is and I can look at that photo so you can push out notifications that way great so let's go back to their website let's go back to their home page which again is ntfy.sh let's look at their github page again this is free and open source when we look at this let's make this full screen here real quick it's under an Apache 2 and a gpl license I haven't looked into what parts are under what I know the Apache license the Apache 2 license allows sub licensing which is different than re-licensing so I don't know how that works exactly and then there's also libraries that they use and resources they're under different licenses I also want to point out how many stars this has how many forks it has watched and then it's been around for a while so this is just like a fly by night this application has been around for a while and it is beautiful so yeah you can look through there there's places where you can contact them if there's issues and chat with other people and also get the latest probably I'm assuming that they probably have the apk there maybe and then desktop and server oh yeah look they have it set up for all different and now again we're going to go into a future video where we do a server but there's also a client we were using curl but if we go back to their webpage they have executable here and I look into the documentations I haven't messed with it yet I'm pretty sure it's the same binary file for the server and client don't quote me on that but I think you started up and say start as a server or start as a client but one thing you look at here is well if we were to click on APIs right it will tell you so let's say you don't like using the shell you prefer HTTP or JavaScript or go or Python or even PowerShell or PHP or to use their binary so there's curl for the command line there's using their application their binary for sending messages and receiving messages you can scroll through here and once you click on one of these options it changes the whole page so you can see how to do all these different things sending pictures and messages through the shell there using HTTP protocol JavaScript if you want to somehow do it inside I'm assuming a web page or is this Node.js I haven't even really looked at all the options I've only messed with command line options again so they have all these options so that's their API so very easy you can you could write your own application for this if you just know how to do you know basic HTTP posts and whatnot let's look at the documentation so again you come through here and they have lots of examples they have videos showing you how to do basic stuff and I just recommend really going through all of this there is documentation on installing and self-hosting again if you're really concerned about privacy you may want to set up your own host because again right now the way it works again as I said in the previous video your topic is basically like your access key so if you do something that someone's going to randomly guess someone anyone there's no usernames and passwords at least not by default I don't know if there's any options for that anywhere but it's kind of like when you have a service that has like YouTube you're watching this on YouTube or you might be right watching this on Odyssey I don't know you have options when you're posting a video for it to be private and then you can also post it as where so private you can share it but you're sharing it to someone with account they have to log into access it and then you have public where everyone can see it and then you have unlisted so this is kind of like unlisted if someone has the URL they can see it so you can make it a big long string that no one's going to be able to guess and again you're still trusting their servers are secure but again you can host your own I'm trying to think if there's anything else again installation I haven't done it yet for the server but it seems pretty simple there's binaries you download untar it copy it work needs to go make a directory and load the default configs edit them and then just start it up so again I haven't done that yet and there's other ways you can do it you can add in repositories I'm going to go over that in the the server side stuff they have docker stuff and then I guess the configuration files or YAML files which is how I believe how you say that which is kind of like a json but instead of using braces they use indentations which I'm not a huge fan of but it seems super simple look over their page there is a lot there to look over it is very very simple to use out of the box but it also does a lot of other complex stuff I think you can also customize it with colors you can do dark themes different colors for different notifications I also haven't seen it on their webpage but I glanced over another tutorial on another page where it looks like you can link it to other applications so if you have other applications that accept push notifications you can actually have this push the notifications to that which seems a little weird to me but I don't know about that anyway I do thank you for watching again I'm just excited about this application because I've wanted to do push notifications on my devices for so long on my mobile devices and every time you try to look up something about they again they always everything talks about firebase this and firebase that and I don't want to use firebase I want to do things myself and now super simple open source easy way to do it again I thank you for watching filmsbychrist.com that's Chris of the K again a patron of mine shared this with me so I thank Mr. Newby and if you want to be a patron there's a link in the description of this video patreon.com forward slash metal x1000 if you go to my webpage filmsbychrist.com again Chris with a K there's a support section I accept Libre pay no one's ever given me any money in Libre pay you could be the first I've been saying that for a long time there's also PayPal if you prefer that if you can't support financially thank you for watching that means a lot to me commenting subscribing liking and sharing those are all really important it means a lot to me when my videos get a lot of views so you're helping with that and that means a lot to me have a great day