Commit graph

5 commits

Author SHA1 Message Date
bd14b3c731 Add support for external sender
All checks were successful
continuous-integration/drone/push Build is passing
This commit allows using an external unix exporter to send the messages
instead of directly sending the messages to Telegram
2023-03-12 14:12:48 +01:00
d9c57f7441 Improve bot messages
All checks were successful
continuous-integration/drone/push Build is passing
Ref #13

This commit uses markdown formatting to improve the messages sent to
the Telegram bot.
2023-02-04 19:07:04 +01:00
51bc7cb3a0 Use logrus to handle logs
All checks were successful
continuous-integration/drone/push Build is passing
This commit adds the logrus module, and improves logs handling for the
entire program. Error logs are better displayed, and the log level can
be set from the configuration file.
2023-02-04 18:15:22 +01:00
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
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