Skip to content

An app made to get weather information through the terminal written in Go

License

Notifications You must be signed in to change notification settings

Rayrsn/Weather-Cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌦 Weather-Cli

An app made to get weather information through the terminal

cloud

Status Badge

Features 🏆

  • Can show
    • Population
    • Latitude
    • Longitude
    • Weather
      • Temperature
      • Humidity
      • Wind Speed
      • Wind Direction
      • Weather Conditions
      • Feels Like Temperature (Apparent temperature based on a combination of factors e.g. humidity, wind speed, solar radiation, wind chill and air pressure)
      • Surface Pressure
      • Sealevel Pressure
      • UV Index
  • Raw JSON output

Building 🔨

  • If you don't want to manually build the app, you can use:

Otherwise, you can build the program yourself by running:

Make sure you have Go installed

go build
  • The executable will be located in the same directory you ran the command from

Usage 💻

  • Example 1:
./weather-Cli get Tokyo
__________________________
Searching for city Tokyo...

City/Country: Tokyo/Japan
Latitude: 35.689500
Longitude: 139.691710
Timezone: Asia/Tokyo
Population: 8,336,599

Weather Info:
        Temperature: 28.5°
        Wind Direction: 168°
        Wind Speed: 7.0 Km/h
        Weather Condition: Partly Cloudy
        Humidity: 50.00%
        Real Feel: 39.1°
        Surface Pressure: 999.60 hPa
        Sealevel Pressure: 1004.00 hPa
        UV Index: 6
  • Example 2:
./weather-Cli get Tokyo --raw
__________________________
(Returns the same data but in JSON)

Acknowledgments and FAQ 📚

API used: Open-Meteo

Built with: Cobra

Questions ⁉️

If yall have any questions or just wanna talk, add me on Discord or use my username Rayr#6401 (this might change so it's better to just use the link)

About

An app made to get weather information through the terminal written in Go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages