Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-cli

A simple command-line application that fetches the current weather information for a specified location. This tool retrieves weather data from wttr.in and displays it in a user-friendly format using colored output.

Features

  • Displays current temperature, humidity, "feels like" temperature, UV index, and weather description for any location.
  • Fetches real-time data from wttr.in.
  • Simple, lightweight, and easy to use.

image

Installation

  1. Clone the Repository:

    git clone https://github.com/yourusername/weather-cli.git
    cd weather-cli
  2. Build the Application: Make sure you have Go installed.

    go build -o weather-cli
  3. Install the Binary: Move the binary to a directory in your PATH, for example $HOME/.local/bin:

    mv weather-cli ~/.local/bin/

    Ensure that ~/.local/bin is in your PATH:

    export PATH="$HOME/.local/bin:$PATH"

Usage

After installing, simply run the weather-cli followed by a location (city name) to get the current weather.

Example:

weather-cli Budapest

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages