https://github.com/piotrpdev/ddv6
Regularly send your IPv6 address to a Discord channel using a webhook
https://github.com/piotrpdev/ddv6
Last synced: 8 months ago
JSON representation
Regularly send your IPv6 address to a Discord channel using a webhook
- Host: GitHub
- URL: https://github.com/piotrpdev/ddv6
- Owner: piotrpdev
- License: mit
- Created: 2024-01-04T00:13:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-04T01:56:52.000Z (over 2 years ago)
- Last Synced: 2025-01-12T16:23:25.059Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DDv6
Regularly send your IPv6 address to a Discord channel using a webhook.
Gets public IPv4 and IPv6 addresses from [ipify](https://www.ipify.org/) using [curl](https://curl.se/).
## Usage
> [!NOTE]
> [*"IPv6 is only supported on Docker daemons running on Linux hosts."*](https://docs.docker.com/config/daemon/ipv6/)
```bash
INTERVAL=86400 \
WEBHOOK_URL=https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN \
sudo docker run --net=host -e INTERVAL=$INTERVAL -e WEBHOOK_URL=$WEBHOOK_URL piotrpdev/ddv6:latest
```
## Build image
```bash
docker build -t piotrpdev/ddv6 .
```