Skip to content

Latest commit

 

History

History

golang

ipWatch (golang)

The Golang version of ipWatch.

version golang hello

ipWatch keeps an eye on my external IP. If it changes then sends an email alert and optionally update CloudFlare DNS.

All pretty basic really.

There are two pieces for ipWatch. The ipWatch app and a server (simple cloud function) to send requests to for getting the current IP address.

Command Line Commands

use -h for help menus

Remote Function

See nodejs readme for setting up remote function.

THANK YOU

Thank you to these projects for their great work! I appreciate you.

Installation

Set the following environment variables by using a shell script or a .env file. There is a sample (.env.sample) as a reference.

ENDPOINT_CHK=https://example.com
POSTMARK_TOKEN=--token-value--
EMAIL_TO=
EMAIL_FROM=

Notice CloudFlare update not supported in Golang version, yet.

There will be executables for macOS, Linux (Flavors TBD), and 64-bit Windows