weather-tui

Crates.ioweather-tui
lib.rsweather-tui
version0.1.0
sourcesrc
created_at2022-09-06 03:27:09.423319
updated_at2022-09-06 03:27:09.423319
descriptionWeather in the terminal.
homepagehttps://github.com/Xithrius/weather-tui
repositoryhttps://github.com/Xithrius/weather-tui
max_upload_size
id659250
size90,506
(Xithrius)

documentation

https://github.com/Xithrius/weather-tui

README

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.

Commit count: 32

cargo fmt