8000 GitHub - venqoi/thundery: thundery is a weather fetching cli based off rainy
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

venqoi/thundery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thundery

Thundery is a command-line application that fetches and displays weather information from the OpenWeatherMap API.

thundery
87F0

Thundery's idea, structure and design is based off Rainy but writen in Rust instead of Python making it 25% faster!!

thunder vs rainy

Installation

From source:

  1. Clone the repository:

    git clone https://github.com/loefey/thundery.git
    cd thundery
  2. Build the project using Cargo:

    cargo build --release

I suggest running cargo install --path . to install thundery instead of just building it

Package managers:

AUR: Thundery is on the AUR! You can now use your favourite AUR helper to download Thundery.

https://aur.archlinux.org/packages/thundery

Configuration

The application uses a configuration file located at ~/.config/thundery/thundery.toml (or C:\Users\<username>\AppData\Roaming\thundery\thundery.toml on Windows). If the configuration file does not exist, a default one will be created.

Configuration Options

  • api_key: Your OpenWeatherMap API key.
  • city: The city for which to fetch weather data.
  • units: Units for temperature and wind speed (metric or imperial).
  • timeplus: Hours to add to the UTC timezone, you can find your timezone here https://www.timeanddate.com/.
  • timeminus: Hours to subtract from the UTC timezone, you can find your timezone here https://www.timeanddate.com/.
  • showcityname: Whether to display the city name (true or false).
  • showdate: Whether to display the current date (true or false).
  • timeformat: Time format for sunrise and sunset times (24 or 12).
  • use_colors: Enables and disabled text colors (true or false).

Example configuration:

api_key = "your_api_key"
city = "London, GB"
units = "metric"
timeplus = 0
timeminus = 0
showcityname = true
showdate = true
timeformat = "24"
use_colors = false

About

thundery is a weather fetching cli based off rainy

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0