Skip to content

A simple command line app that shows you the current weather written in go

Notifications You must be signed in to change notification settings

KartoffelChipss/gowttr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gowttr

A simple command line app written in go, that shows you the current weather. The app uses the data from wttr.in and is just a simple app for me to learn go.

gowttr usage

📦 Installation

You can install gowttr in two ways: using an install script or building it manually.

🔧 Method 1: Install via Script

Run this to download the latest release and install it:

curl -sL https://gowttr.j4n.net/install | bash

This will:

  • Download the latest compiled binary from GitHub releases
  • Make it executable
  • Move it to /usr/local/bin/ so you can run gowttr from anywhere

After installation, you can check if it works by running:

gowttr -h

🛠️ Method 2: Build from Source

If you prefer to build gowttr yourself, follow these steps:

1. Install Go (if not already installed)

sudo apt install golang  # Debian/Ubuntu  
brew install go          # macOS  

2. Clone the repository

git clone https://github.com/KartoffelChipss/gowttr.git
cd gowttr

3. Build the binary

go build -o gowttr .

4. Move the binary to your PATH

chmod +x gowttr
sudo mv gowttr /usr/local/bin/

5. Verify the installation

gowttr --help

About

A simple command line app that shows you the current weather written in go

Topics

Resources

Stars

Watchers

Forks