Skip to content

Xithrius/weather-tui

Repository files navigation

Weather in the terminal

CI pre-commit.ci status Lines of code Crate Status

image

Keybinds

Key Description
Esc / q Quit out of the entire application once in the base chat view.
Ctrl + r Refresh the data, making a new API request.
Ctrl + p Manually trigger a panic, so the application crashes.

Setup

  1. Make sure rustup is installed, and ~/.cargo/bin is in your PATH environment variable.
  2. Install weather-tui through cargo install weather-tui.
  3. Generate an API key from openweathermap. What you name the key will not affect this application.
  4. Run wt, and the application will run first-time setup, generating a config at the following locations across different operating systems: - Linux/MacOS: ~/.config/twt/config.toml - Windows: %appdata%\twt\config.toml
  5. At said config locations, fill in api_key with your api key from step (3), and area with the location you'd like to grab data from, such as London. The default config can be seen here

If you have any problems, do not hesitate to submit an issue.

About

Getting weather in the terminal.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Sponsor this project