imsnif / weather-pal

A Zellij plugin to get weather information inside the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

img-2023-11-19-080410

About

Weather-Pal is a Zellij plugin to show the weather for the current location

How does it work?

Weahter-Pal uses the wonderful open-meteo API to both geocode the user's location (turn the location string into longitude and latitude) and get the weather data.

Weather-Pal does not geolocate the user according to their GPS/IP/Wi-Fi/Cell information.

Try it out

From inside Zellij:

zellij plugin -- https://github.com/imsnif/weather-pal/releases/latest/download/weather-pal.wasm

Permanent Installation

  1. Download the weather-pal.wasm file from the latest release
curl -LO https://github.com/imsnif/weather-pal/releases/latest/download/weather-pal.wasm -o ~/.config/zellij/plugins
  1. Place it in ~/.config/zellij/plugins
  2. From inside Zellij, run zellij plugin [--floating] [--in-place] -- file:~/zellij/plugins/weather-pal.wasm

Configuration

The location can also be configured manually through the location=<location> plugin configuration.

eg.

zellij plugin --configuration location=vienna -- file:~/zellij/plugins/weather-pal.wasm

About

A Zellij plugin to get weather information inside the terminal


Languages

Language:Rust 100.0%