Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/justxuewei/ip-monitor

Monitor your IP changes and push notifications via ServerChan to let you know.
https://github.com/justxuewei/ip-monitor

Last synced: 21 days ago
JSON representation

Monitor your IP changes and push notifications via ServerChan to let you know.

Awesome Lists containing this project

README

        

# IP Monitor

IP Monitor is an application running on Linux to monitor your IP changes. It is
a DDNS-like way. If your IPs are changed, the application will push a message to
let you know via [ServerChan](https://sct.ftqq.com/).

The application runs with crontab to make all functionalities work. Here's a
typical example that checks IPs in every 5 minutes.

```bash
$ go build -o ipmonitor cmd/main.go
$ sudo mv ipmonitor /usr/local/bin
$ crontab -e
# insert a new line:
# */5 * * * * ipmonitor --key={sendkey} --name={server name (optional)} --heartbeat=true --devices={links (optional, e.g. "lo,enp0")}
```