You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone do not want to use telegram or think it is too difficult to set up, just getting notifications (i.e., without the possibility of requesting the bot for info) is super easy with ntfy (github repo).
From the command line one can do
curl -d "Sooo easy\! 😀" ntfy.sh/mytopic
where mytopic can be whatever you want. Can be run directly from python, for example with the request or the subprocess library:
importrequestsrequests.post("https://ntfy.sh/mytopic", data="Sooo easy! 😀".encode(encoding='utf-8'))
## OR ##importsubprocesssubprocess.call(["curl", "-d", "Sooo easy! 😀", "ntfy.sh/mytopic"]) # Do not need to escape the "!" here.
Thus, this do not give any extra dependencies.
The text was updated successfully, but these errors were encountered:
If someone do not want to use telegram or think it is too difficult to set up, just getting notifications (i.e., without the possibility of requesting the bot for info) is super easy with ntfy (github repo).
From the command line one can do
curl -d "Sooo easy\! 😀" ntfy.sh/mytopic
where
mytopic
can be whatever you want. Can be run directly from python, for example with the request or the subprocess library:Thus, this do not give any extra dependencies.
The text was updated successfully, but these errors were encountered: