Skip to content

bitzesty/ipstash

Repository files navigation

ipstash

Stores the IP address of the vm/machine in a redis channel (ipstash), so that it can be used by other services.

Usage

Envriorment variables:

REDIS_URL = 'redis://localhost:6379'
IPSTASH_CHANNEL = 'ipstash'
IP_FETCH_URL = 'http://ipinfo.io/ip'
$ ipstash

Getting started

This project requires Go to be installed. On OS X with Homebrew you can just run brew install go.

Running it then should be as simple as:

$ make
$ ./bin/ipstash

Testing

make test

License

ipstash is Copyright © 2023 Bit Zesty. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About Bit Zesty

Bit Zesty

ipstash is maintained by Bit Zesty Limited. The names and logos for Bit Zesty are trademarks of Bit Zesty Limited.

See our other projects or hire us to design, develop, and support your product or service.