https://github.com/cykps/discord-ip-notifier
Post global IP Address on Discord with Webhook when global ip changed.
https://github.com/cykps/discord-ip-notifier
discord home-server rust
Last synced: 6 months ago
JSON representation
Post global IP Address on Discord with Webhook when global ip changed.
- Host: GitHub
- URL: https://github.com/cykps/discord-ip-notifier
- Owner: cykps
- License: mit
- Created: 2024-02-29T10:28:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-01T03:07:43.000Z (over 1 year ago)
- Last Synced: 2025-02-07T17:45:05.627Z (8 months ago)
- Topics: discord, home-server, rust
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.gitcd discord-ip-notifier
```2. Create `.env` file in the current directory or parents.
```Dotenv
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](https://qiita.com/fruscianteee/items/7fe2b2663d670e34d143)3. Build & Run
```
cargo run
```