https://github.com/tlugger/won
A small CLI tool for getting live weather forecasts straight to your terminal
https://github.com/tlugger/won
cli darksky-api forecast golang weather
Last synced: 6 months ago
JSON representation
A small CLI tool for getting live weather forecasts straight to your terminal
- Host: GitHub
- URL: https://github.com/tlugger/won
- Owner: tlugger
- Created: 2018-10-04T03:12:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-02T04:40:15.000Z (almost 7 years ago)
- Last Synced: 2024-06-23T09:42:01.045Z (about 2 years ago)
- Topics: cli, darksky-api, forecast, golang, weather
- Language: Go
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather or not
A small CLI tool for getting live weather forecasts straight to your terminal
## Installation
Clone this repo
```
git clone https://github.com/tlugger/won
cd won
```
Copy weather-or-not env file
```
cp .wonenv.example .wonenv
```
Copy your Dark Sky API Key, Latitude, and Longitude into .wonenv
## Run
Get current weather summary and Temperature
_Compile then run_
```
go build won.go
./won
```
_Only run_
```
go run won.go
```
## Install
_Add GOBIN to your path_
```
export PATH=$PATH:$GOPATH/bin
```
_Install won to your GOPATH_
```
go install
```
_Run won!_
```
$ won
Current condition: Flurries
Current temperature: 29.97°F
```