Commit graph

3 commits

Author SHA1 Message Date
3a1bb20a1f Add monitoring of the current public IP
All checks were successful
continuous-integration/drone/push Build is passing
Ref #4

This commit adds an active monitoring of the current public IP. If a
change is detected, then a message is sent to the given Telegram
channel. Add a few tests for the main monitoring logic.
2023-01-28 14:29:39 +01:00
3948c8e7b4 Add publig IP getter
Ref #3

This commit uses a GET query to ifconfig.me in order to get the current
public IP. It also modifies the initialization message to send the
current public IP to the Telegram channel instead of a simple message.
2023-01-27 18:01:37 +01:00
54de3b84cd Add link to Telegram
All checks were successful
continuous-integration/drone/push Build is passing
Ref #2

This commit adds a link to a Go Telegram API to send messages to a given
telegram channel provided with a JSON config file. At the moment the
program sends a simple status message to the bot when starting up, but
this allows testing whether the link to Telegram is correctly working.
2023-01-25 20:42:43 +01:00