Skip to content

Shuvam586/tenki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenki 天気

Tenki is a command-line tool for visualizing weather conditions. The name "Tenki" comes from the Japanese word for "weather".

tenki example

Getting Started

  1. Clone the Repository

    git clone https://github.com/shuvam586/tenki.git
  2. Install Dependencies

    pip install -r requirements.txt
  3. API Key
    Generate an API key from OpenWeather and save it in a .env file as api_key

  4. Set alias
    Create an alias in your .bashrc

    alias weather="python3 /path/to/tenki/main.py"

    or if you are using powershell:

    'function tenki { python3 /path/to/tenki/main.py } Set-Alias weather tenki' | Out-File -Append -Encoding utf8 $PROFILE
  5. Customization
    You can modify the location and units in config.py.
    Feel free to customize the script and ASCII art as you like.

About

Tenki is a command-line tool for visualizing weather conditions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages