Skip to content

Commit cf4d9f8

Browse files
committed
Add commands
1 parent 26f5a7d commit cf4d9f8

1 file changed

Lines changed: 119 additions & 0 deletions

File tree

assets/commands/weathr.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# TAGLINE
2+
3+
Terminal weather app with ASCII animations
4+
5+
# TLDR
6+
7+
**Display current weather** for your location (auto-detected via IP)
8+
9+
```weathr```
10+
11+
**Use imperial units** (Fahrenheit, mph, inches)
12+
13+
```weathr --imperial```
14+
15+
**Simulate a specific weather condition**
16+
17+
```weathr --simulate [rain|snow|thunderstorm|fog|clear|...]```
18+
19+
**Simulate nighttime** weather
20+
21+
```weathr --simulate [condition] --night```
22+
23+
**Hide the status HUD** and show only the animation
24+
25+
```weathr --hide-hud```
26+
27+
**Add falling leaves** effect
28+
29+
```weathr --leaves```
30+
31+
# SYNOPSIS
32+
33+
**weathr** [**--imperial** | **--metric**] [**--simulate** _condition_] [**--night**] [**--leaves**] [**--auto-location**] [**--hide-location**] [**--hide-hud**] [**--silent**]
34+
35+
# PARAMETERS
36+
37+
**--simulate** _condition_
38+
> Simulate a weather condition instead of using real data. Conditions: **clear**, **partly-cloudy**, **cloudy**, **overcast**, **fog**, **drizzle**, **rain**, **freezing-rain**, **rain-showers**, **snow**, **snow-grains**, **snow-showers**, **thunderstorm**, **thunderstorm-hail**
39+
40+
**--night**
41+
> Simulate nighttime visuals (moon, stars, fireflies)
42+
43+
**--leaves**
44+
> Add falling leaves animation (autumn effect)
45+
46+
**--imperial**
47+
> Use imperial units: Fahrenheit, mph, inches
48+
49+
**--metric**
50+
> Use metric units: Celsius, km/h, mm (default)
51+
52+
**--auto-location**
53+
> Auto-detect location via IP geolocation (ipinfo.io)
54+
55+
**--hide-location**
56+
> Hide location coordinates from the display
57+
58+
**--hide-hud**
59+
> Hide the status HUD and show only the ASCII animation
60+
61+
**--silent**
62+
> Suppress non-error messages
63+
64+
**-h**, **--help**
65+
> Print help information
66+
67+
**-V**, **--version**
68+
> Print version information
69+
70+
# DESCRIPTION
71+
72+
**weathr** is a terminal weather application that displays real-time weather data with animated ASCII art. It fetches current conditions from the **Open-Meteo** API and renders them as colorful terminal animations including rain, snow, thunderstorms, flying airplanes, drifting clouds, and birds.
73+
74+
The display adapts to time of day: daytime shows the sun, gliding clouds, V-shaped birds, and bright colors, while nighttime features the moon, twinkling stars, gliding clouds, fireflies, and shooting stars. A status HUD shows the weather category, temperature, wind speed, and precipitation.
75+
76+
**weathr** supports cross-platform use on Linux, macOS, Windows, and NixOS. It respects the **NO_COLOR** environment variable for accessibility.
77+
78+
# CONFIGURATION
79+
80+
Configuration is stored in a TOML file:
81+
> **Linux**: ```~/.config/weathr/config.toml```
82+
> **macOS**: ```~/Library/Application Support/weathr/config.toml```
83+
> **Windows**: ```~/AppData/Roaming/weathr/config.toml```
84+
85+
Example configuration:
86+
87+
```
88+
hide_hud = false
89+
silent = false
90+
91+
[location]
92+
latitude = 40.7128
93+
longitude = -74.0060
94+
auto = false
95+
hide = false
96+
97+
[units]
98+
temperature = "celsius"
99+
wind_speed = "kmh"
100+
precipitation = "mm"
101+
```
102+
103+
**temperature**: ```celsius``` or ```fahrenheit```
104+
**wind_speed**: ```kmh```, ```ms```, ```mph```, or ```kn``` (knots)
105+
**precipitation**: ```mm``` or ```inch```
106+
107+
Setting **auto = true** under **[location]** uses IP-based geolocation. Providing explicit **latitude** and **longitude** avoids external API calls for privacy.
108+
109+
# CAVEATS
110+
111+
Location auto-detection relies on **ipinfo.io** for IP geolocation, which may be inaccurate behind VPNs or proxies. Weather data comes from **Open-Meteo**, which is free but may have reduced accuracy in remote regions. The application requires a terminal with truecolor support for the best visual experience; it falls back to basic colors when **COLORTERM** is not set to "truecolor" or "24bit".
112+
113+
# HISTORY
114+
115+
**weathr** was created by **Veirt** and written in **Rust**. The project is hosted on GitHub and licensed under **GPL-3.0-or-later**. Weather data is sourced from **Open-Meteo.com** (CC BY 4.0 licensed). The latest release is **v1.3.0** from February 2026.
116+
117+
# SEE ALSO
118+
119+
[wttr](/man/wttr)(1), [curl](/man/curl)(1)

0 commit comments

Comments
 (0)