No description
Find a file
Tim Hårek Andreassen eda33958a8
docs: Add contributing
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-10-03 16:27:37 +02:00
cmd feat: Add flag for opening result in web-browser 2024-10-03 16:05:18 +02:00
internal fix: Allow spaces in query 2024-09-29 21:49:23 +02:00
yr feat: Add flag for opening result in web-browser 2024-10-03 16:05:18 +02:00
CONTRIBUTING.md docs: Add contributing 2024-10-03 16:27:37 +02:00
go.mod feat: Add flag for opening result in web-browser 2024-10-03 16:05:18 +02:00
go.sum feat: Add flag for opening result in web-browser 2024-10-03 16:05:18 +02:00
justfile feat: Add flag for opening result in web-browser 2024-10-03 16:05:18 +02:00
LICENSE.md chore: Add license 2024-09-29 19:21:46 +02:00
main.go feat: Add Cobra cli 2024-09-29 19:20:59 +02:00
README.md docs: Add contributing 2024-10-03 16:27:37 +02:00

yr

Get the weather delivered to your command-line.

The project uses Meteorologisk institutt's public API, LocationForecast, and OpenStreetMap's Nominatim API.

Usage

# Get help
yr --help

# Current forecast for location
yr now bergen

# Or with a space
yr now "new york"

# Forecast for multiple hours
yr forecast "new york"

# Forecast for next 5 hours
yr forecast "new york" -i 5

# Open forecast in your web browser
yr forecast "new york" --web

# Open now in your web browser
yr now "new york" --web

Contributing

Anyone can contribute to yr. Please refer to the contribution guidelines.

Send patches to the mailing list, report bugs on the issue tracker.