Skip to content

cykps/discord-ip-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord IP Notifier

Post global IP Address on Discord with Webhook when global ip changed.

Introduction

  1. Clone this repository
git clone https://github.com/cykps/discord-ip-notifier.git

cd discord-ip-notifier
  1. Create .env file 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 minutes

List of URLs that can be used as CHECKIP_URL: グローバルIPを確認できるサービスたち - Qiita

  1. Build & Run
cargo run

About

Post global IP Address on Discord with Webhook when global ip changed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages