https://github.com/ansd/driving-time
A CLI and server displaying driving time based on live traffic data
https://github.com/ansd/driving-time
driving-cars google-maps-api traffic
Last synced: 4 months ago
JSON representation
A CLI and server displaying driving time based on live traffic data
- Host: GitHub
- URL: https://github.com/ansd/driving-time
- Owner: ansd
- License: mit
- Created: 2019-03-20T18:10:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T14:58:09.000Z (almost 6 years ago)
- Last Synced: 2025-01-21T01:25:41.902Z (5 months ago)
- Topics: driving-cars, google-maps-api, traffic
- Language: Go
- Homepage:
- Size: 821 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# driving-time
`driving-time` is a CLI (and server) displaying driving time based on live traffic data.
## Requirement
A Google Cloud Platform API key (see [here](https://developers.google.com/maps/documentation/distance-matrix/get-api-key) how to get one)
since the CLI queries the Google Maps Distance Matrix API.## Installation
Options:
1. Download the binary in https://github.com/ansd/driving-time/releases
1. Use Homebrew: see https://github.com/ansd/homebrew-tap
1. Build from source: `go get github.com/ansd/driving-time`## Usage
Create a config file by copying [driving-time.yml.template](driving-time.yml.template) to `driving-time.yml`.Start the server:
```
$ driving-time --config driving-time.yml serve
```
Print live traffic data on the command line:
