Simple Go project to track current public IP and notify changes to a telegram bot
Find a file
Melora Hugues 568aaa9f8c
All checks were successful
continuous-integration/drone/push Build is passing
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-25 21:06:00 +01:00
tracker Add publig IP getter 2023-01-25 21:06:00 +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