1 unstable release

0.1.0 Sep 6, 2022

#4 in #quit

MIT/Apache

29KB
666 lines

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.

Dependencies

~13–28MB
~422K SLoC