Simple Go project to track current public IP and notify changes to a telegram bot
Find a file
Melora Hugues 54de3b84cd
All checks were successful
continuous-integration/drone/push Build is passing
Add link to Telegram
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
tracker Add link to Telegram 2023-01-25 20:42:43 +01:00
.drone.yml Add .drone-ci file 2023-01-05 19:04:58 +01:00
.gitignore Create initial Go module 2023-01-05 18:51:53 +01:00
LICENSE Initial commit 2023-01-05 09:49:25 +01:00
README.md Write initial README file 2023-01-05 18:51:39 +01:00

Public IP tracker

Build Status

Telegram bot that detects changes to the device's public IP. This is particularily useful when the device is handled by an ISP that does not provide a static public IP, such as a home device.

Features

Automatic public IP detection and monitoring

Upon startup, the current public IP is detected, and a status message is sent to a specific Telegram channel with the relevant information.

Insert example message here

When running as a daemon, the program automatically monitors the current public IP adress for changes. If the IP changes for some reason, then the new updated adress is sent to the specific Telegram channel.

Insert example message here

On-demand public IP

The relevant channel is monitored during the program execution. This allows the user to send a command to the bot in order to get the current public IP on-demand.

Insert example here