Skip to content

starkdcc/weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

weather-cli

Terminal weather in one command. No API key. No config.

$ weather
╭─ Tokyo, JP ──────────────────────╮
│  ☀️  Clear sky                    │
│                                  │
│  Temperature   22.5°C (feels 21°C)│
│  Humidity      58%               │
│  Wind          8.4 km/h          │
│  Updated       14:32             │
╰──────────────────────────────────╯

Install

git clone https://github.com/starkdcc/weather-cli.git
cd weather-cli
pip install -r requirements.txt

Usage

python weather.py                    # current location
python weather.py Tokyo              # any city
python weather.py -f Paris           # 5-day forecast

How it works

  • Auto-detects your location via IP (ipapi.co)
  • Uses Open-Meteo for weather — no API key needed
  • Rich terminal output with emoji weather codes

Why

Because opening a browser to check if it's raining is insane.

License

MIT

About

Terminal weather in one command. No API key.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages