1.0.3 • Published 8 years ago

tz-bounce v1.0.3

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
8 years ago

tz-bounce

Node.js based timezone bounce server. Uses the public IP to reply a matched location and timezone.

Installation

cd mysites
git clone https://github.com/StefanHamminga/tz-bounce.git
cd tz-bounce
npm install

Client usage

curl https://prjct.net/tzbounce

replies a YAML formatted message containing matched information:

Api: tz-bounce yaml v1.0.0
PublicIP: 14.200.66.162
Timezone: Australia/Sydney
Location:
        Country: AU
        Region: 02
        City: Bondi
        Metro: null
        Latitude: -33.8939
        Longitude: 151.2498

Automatic timezone selection using NetworkManager

The client.sh tool in the repository can be placed in /etc/NetworkManager/dispatcher.d/ to update the timezone upon connecting to a network.

License & repository

This project is available on GitHub and npm

Copyright 2015 Stefan Hamminga - prjct.net

License: GPL v3.0. The license text is included in the repository.

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago