A compact weather widget for your desktop.
System Tray Menu
Opacity / background transparency - (1-5 Cities)
Weather Widget Location Settings
Weather Widget Appearance Settings
You can download the latest pre-compiled binaries for Windows and Linux from the GitHub Releases page.
$env:PATH = "C:\msys64\ucrt64\bin;" + $env:PATH; $env:CGO_ENABLED = "1"; gcc --version | Select-Object -First 1 go build -ldflags="-H windowsgui -s -w" -o weatherwidget.exe ./cmd/weatherwidget/
.\weatherwidget.exe .\installer\build-msi.ps1 -Version "0.0.4" -SkipSign- Install dependencies:
sudo apt-get update && sudo apt-get install -y libgl1-mesa-dev xorg-dev - Build:
make build
Note: The first build may take several minutes as it compiles graphical dependencies (CGO). My updated Makefile includes the
-vflag so you can monitor progress.
{
"dataSource": "remote_api",
"cities": [
{
"name": "Holambra",
"region": "BR",
"latitude": -22.6332,
"longitude": -47.0545,
"timezone": "America/Sao_Paulo"
},
{
"name": "Edinburgh",
"region": "UK",
"latitude": 55.95,
"longitude": -3.19,
"timezone": "Europe/London"
},
{
"name": "Warsaw",
"region": "PL",
"latitude": 52.23,
"longitude": 21.01,
"timezone": "Europe/Warsaw"
}
],
"refreshInterval": 30,
"cornerPosition": "top-right",
"customX": -819,
"customY": 99,
"apiConfig": {
"provider": "openweathermap",
"apiKey": "YOUR_API_KEY"
}
}Get-Content "$env:APPDATA\WeatherWidget\WeatherWidget\config.json"
or
type "$env:APPDATA\WeatherWidget\WeatherWidget\config.json"cat $HOME/.config/WeatherWidget/WeatherWidget/config.json
or
more $HOME/.config/WeatherWidget/WeatherWidget/config.json


