https://github.com/thimc/9weather
weather widget for 9front
https://github.com/thimc/9weather
9front gui openweathermap plan9 weather
Last synced: about 1 year ago
JSON representation
weather widget for 9front
- Host: GitHub
- URL: https://github.com/thimc/9weather
- Owner: thimc
- License: mit
- Created: 2023-04-23T17:05:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-16T09:45:41.000Z (over 1 year ago)
- Last Synced: 2025-03-25T13:46:21.096Z (about 1 year ago)
- Topics: 9front, gui, openweathermap, plan9, weather
- Language: C
- Homepage:
- Size: 39.1 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 9weather
weather widget for 9front that uses the [OpenWeatherMap API](https://openweathermap.org/).

## Keyboard shortcuts
q / Del to quit
## Usage
9weather [ -d seconds ] [ -i ] [ -z zip,country ] [ -k apikey ]
9weather retrieves weather data from OpenWeatherMap and
requires an API key for access. You can easily obtain a
free API key by registering at http://openweathermap.org/
By default, 9weather fetches weather data every 5 minutes.
This interval can be changed by setting the -d flag, fol-
lowed by the desired delay in seconds.
9weather normally displays the temperature in metric units,
to display in imperial units add the -i flag.
9weather uses the environment variable openweathermap to
obtain the API key and ZIP to determine the geolocation,
they both can be overwritten with -z and -k flag respec-
tively.
## License
MIT