Most days, my terminal is a purely sensible area, a spot for important commands, logs, and the occasional script. It’s environment friendly, minimal, and never significantly thrilling to take a look at. However each infrequently, a software comes alongside that reminds you that the command line can nonetheless shock you.

That’s precisely what occurred once I ran weathr for the primary time. As a substitute of printing a easy forecast, my terminal full of drifting clouds, falling rain, and a small climate panel quietly reporting the situations outdoors.

Putting in and configuring weathr

Out there for all main platforms

weathr is accessible for Home windows, macOS, and Linux. When you have the Cargo package deal supervisor, you may set up it by way of this command:

cargo set up weathr

On Home windows, use the winget package manager:

winget set up -i Veirt.weathr

For macOS, you should use Homebrew:

brew set up Veirt/veirt/weathr

Should you’re utilizing Arch Linux, then set up it from AUR:

yay -S weathr

After set up, you are able to do some configuration utilizing the config.toml file. Relying in your platform, you may create them in these locations:

# Linux
~/.config/weathr/config.toml (or $XDG_CONFIG_HOME/weathr/config.toml)
# macOS 
~/Library/Utility Assist/weathr/config.toml
# Home windows
~/AppData/Roaming/weathr/config.toml

From there, you may change most settings, resembling what to show, the conduct, your location, what items to make use of, and so forth. There is a show choice. You need to use it to regulate the situation title, whether or not you need to present the town title or simply the coordinates. This is an instance configuration you may observe:

hide_hud = false

silent = false

[location]
latitude = 78.2049
longitude = 119.1992

# The right way to show the situation within the HUD: "coordinates" | "metropolis" | "blended"
show = "metropolis"

[units]
temperature = "celsius"

wind_speed = "kmh"

precipitation = "mm"

You may also tweak your setting variables to regulate the expertise. For instance, NO_COLOR turns off any colour output, which is useful for accessibility.

The second your terminal comes alive

From static command immediate to animated sky in seconds

As soon as you have put in weathr, launch the app by operating:

weathr
A first look at the weathr terminal app after installing on Windows.

Run weathr for the primary time, and the impact is quick. What begins as a traditional terminal window shortly turns right into a dynamic ASCII climate scene.

As a substitute of printing a easy forecast, the applying fills your terminal with a repeatedly animated sky. Clouds drift throughout the display screen, rain falls in streaks of characters, and nighttime scenes change daylight visuals when the solar goes down. The animations aren’t random. They replicate the precise situations in your location.

By default, weathr robotically detects your location and pulls real-time climate information from the Open-Meteo API. The cool ASCII artwork comes from ASCII Art Archive. Present situations decide what seems on-screen. If rain is within the forecast, you’ll see rainfall animations. Clear climate produces a calmer scene with scattered clouds or open sky.

Alongside the visuals, the app shows a small heads-up display (HUD) with sensible info resembling temperature, wind velocity, and present situations. The info updates periodically, preserving the animation in sync with the most recent forecast.

You may even management the sky

Simulation modes and easy flags allow you to customise the expertise

Whereas weathr is designed to replicate real-world situations, it additionally provides you a stunning quantity of management over what seems in your terminal. A handful of command-line flags allow you to tweak the show and even simulate completely different climate situations on demand.

One of many extra entertaining choices I discovered is the simulation mode. Need to see completely different climate on the terminal? This mode means that you can override the stay forecast and pressure particular situations. For instance, you may set off a wet scene instantly from the command line:

weathr --simulate rain

Even when the skies outdoors are completely clear, your terminal will immediately fill with falling ASCII rain. You may also change how climate information is introduced. Should you want Fahrenheit to Celsius, merely launch the app with imperial items enabled:

weathr --imperial

And in the event you’d slightly focus purely on the animation, you may disguise the on-screen climate panel for a cleaner show:

weathr --hide-hud

None of those tweaks are sophisticated, however they add flexibility for customers who prefer to tailor their terminal setting.

Taking the expertise even additional

A couple of small additions may flip weathr into a good richer terminal companion

Laptop displaying an automated internet speed tracker with a speedometer graphic and terminal window results. Credit score: Lucas Gouveia/How-To Geek | timurockart/Shutterstock

For a software that already feels surprisingly immersive, there are just a few methods I really feel weathr may push the idea even additional.

One apparent addition can be optionally available ambient sound results. Think about gentle rainfall accompanied by delicate rain sounds, or a distant rumble throughout a thunderstorm. Paired with the ASCII animation, even minimal audio may considerably improve the environment with out turning the app into one thing heavy or distracting.

One other thought is a persistent “climate widget” fashion mode. Proper now, operating weathr takes over the terminal window, which implies you often launch it once you need to watch the animation slightly than whereas actively working. A small floating widget, mini window, or perhaps a compact overlay mode may preserve the animated sky seen whilst you proceed utilizing your terminal for different duties.

There’s additionally room for richer visible selection. Seasonal parts, delicate panorama adjustments, or extra climate results may make the scenes really feel much more dynamic over time.


weathr proves that even easy instruments can nonetheless shock us

For one thing that runs completely inside a terminal window, weathr manages to really feel unexpectedly full of life. By combining actual forecast information with light-weight ASCII animation, it turns a routine climate verify into one thing way more partaking. Similar to weathr, there are lots of different tools that make your terminal a powerhouse.


Source link