Post global IP Address on Discord with Webhook when global ip changed.
- Clone this repository
git clone https://github.com/cykps/discord-ip-notifier.git
cd discord-ip-notifier
- Create
.envfile in the current directory or parents.
DISCORD_WEBHOOK_URL="{Your Discord Webhook URL}" #include 'http(s)://'
CHECKIP_URL="https://checkip.amazonaws.com/" #include 'http(s)://'
LOG_FILE_NAME="discord-ip-notifier.log"
INTERVAL_MIN=20 #interval minutesList of URLs that can be used as CHECKIP_URL: グローバルIPを確認できるサービスたち - Qiita
- Build & Run
cargo run