rumba@lemmy.zip 1 week ago
I’m running NTFY at my house in a container.
Then I have a cloudflare container that gives me HTTPS through a tunnel to that NTFS
In my scenario I would probably just spin up my own container, write a little application in Python or maybe NodeJS that subscribes to an NTFY topic and makes web calls based on the data that comes in.
This is actually a simple enough thing you could ask and AI to help you with the exact code. There’s no harm in using it as a learning tool.
N0x0n@lemmy.ml 1 week ago
Hey thanks for your answer ! Yeah probably AI would be a good fit in this little scenario but I don’t have the necessary credits to ask something like this. However yesterday, I found out about postgREST and while this is totally out of my league (never touched a database in my life…) Spinning up the docker container with my own domain was easy enough :).
Their tutorial 0 - Get it running was easy to follow for a simple database and even tho it took me the whole day to make it work to my liking. After a lot of trial and error, it does updated my Glance instance with my script’s error message ! *Yeahhhhhi !!
While this isn’t a direct native link to NTFY, it does work and is simple enough to keep it up. But adding a bit more complexity to it and everything falls apart… Not sure if I will diver deeper in that rabbit hole right now, because working with databases is a whole world on it’s own and have why to many other project on hold right now…
rumba@lemmy.zip 1 week ago
I’m glad to hear you got it worked out.
You can use copilot for free, you don’t have to install anything just creating an account, you can do it in a vanilla browser They don’t even really get that much good information off of you.
For learning something that you’ve never done before it’s honestly pretty damn good of all the horrible things AI is used for this is one of the least detrimental.
Just remember if you do use it for anything don’t just copy and paste willy-nilly read it, use it to understand things. Some of the data it’s trained on are jokes telling people to delete their hard drives.
N0x0n@lemmy.ml 1 week ago
Thanks for the pointer !
Haha yeah ! I Always try to understand a command before I copy/past anyway, especially since I learned there can be hidden code execution when copy/pasting… Kinda scary shit !