weatherornot - Retro Weather CLI

2 min read Original article ↗

$ weatherornot "San Francisco,CA"

  San Francisco, US
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

╭─ Current Weather ──────────────────────╮
│ ⛅  Partly Cloudy                      │
│                                        │
│ Temperature:  62.5°F (feels like 60°F) │
│ Humidity:     78%                      │
│ Wind:         12.3 mph                 │
│ Pressure:     1013 hPa                 │
│ Clouds:       40%                      │
│ Visibility:   10.0 km                  │
╰────────────────────────────────────────╯

Temperature Trend (Next 12 Hours)
68.00 ┤     ╭╮                            
67.00 ┤    ╭╯╰╮                           
66.00 ┤   ╭╯  ╰╮                          
65.00 ┤  ╭╯    ╰╮                         
64.00 ┼╮╭╯      ╰╮                        
63.00 ┤╰╯        ╰─╮                      
62.00 ┤             ╰─╮                   
61.00 ┤               ╰───                

>> FEATURES

📊

ASCII Charts

Beautiful temperature trends rendered in pure ASCII art

🎨

Dual Modes

Neofetch-style or widget-style displays

Favorites

Save your favorite locations for quick access

🌍

Flexible Input

ZIP codes, city names, or coordinates

🔮

Forecasts

Current, hourly, and 5-day forecasts

💻

Cross-Platform

Linux, macOS, Windows, FreeBSD

>> INSTALLATION

Via Homebrew (macOS/Linux)

$ brew tap james-see/tap
$ brew install weatherornot

Via go install

$ go install github.com/james-see/weatherornot/cmd/weatherornot@latest

Download Binary

Available for: Linux • macOS • Windows • FreeBSD

Build from Source

$ git clone https://github.com/james-see/weatherornot.git
$ cd weatherornot
$ go build -o weatherornot cmd/weatherornot/main.go

>> QUICK START

2

Initialize Config

$ weatherornot config init

3

Get Weather!

$ weatherornot 90210
$ weatherornot "Tokyo,JP"
$ weatherornot "40.7128,-74.0060"

>> EXAMPLES

Neofetch Mode

$ weatherornot --mode neofetch "London,GB"

Use Favorites

$ weatherornot -f home

Metric Units

$ weatherornot --units metric "Paris,FR"

Disable Colors

$ weatherornot --no-color