Skip to content

Notifies when a user's public IP address has updated.

Notifications You must be signed in to change notification settings

nickhstr/ipemail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ipemail

A simple program to notify when a user's public IP address has updated, using gmail to send messages.

Installation

$ git clone https://github.com/nickhstr/ipemail.git
$ cd ipemail
$ go install

Usage

Some environment variables need to be set, either as part of the execution of ipemail, or in a .env file.

.env file

By default, ipemail will look for a .env file in the same directory as where the command is called, or a path to a .env file can be specified with the environment variable ENV_FILE.

Example:

$ ENV_FILE=/home/me/ipemail/.env ipemail

And here's an example .env file:

[email protected]
EMAIL_FROM_USER=John Doe
EMAIL_FROM_PASSWORD=Password
[email protected]
LAST_IP_DIR=/home/me/go/src/github.com/nickhstr/ipemail
LAST_IP_FILE=ip_file.txt

About

Notifies when a user's public IP address has updated.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages