Skip to content
Edit this page

Mousam

Weather at a Glance. Mousam is a desktop weather app for Linux, built with Python, GTK 4 and libadwaita. It is on Flathub and the Snap Store.

These pages are for people who read or change the code. They describe the code as it is now, and they are written with the project's AGENTS.md rules in mind: clear over clever, simple over abstract.

App ID io.github.amit9838.mousam
Version 3.1.0
Language Python 3.12, no build step for the sources
UI GTK 4 + libadwaita 1 through PyGObject, Cairo for graphs
Data Open-Meteo only: no account, no key, no backend of our own
Only third-party Python dependency requests
Licence GPL-3.0-or-later
Source https://github.com/amit9838/mousam

Where to start

I want to… Read
build and run the app, run the checks Getting started
make a common change step by step How to…
know what lives where Architecture, Core logic
understand how a refresh turns into pixels Data flow and threads
change what we ask Open-Meteo Data sources
change the one-line summary or its notifications Weather overview, Overview architecture
change a window, a card or a graph User interface
add or change a saved value Settings
write or run tests Testing
package a release, or touch Flatpak and Snap Packaging and release
send a change, translate, or write a commit message Contributing

The app in one picture

flowchart LR
    subgraph Open-Meteo
        F[Forecast API]
        A[Air-quality API]
        G[Geocoding API]
    end
    F & A --> S[services/]
    G --> S
    S --> W[WeatherStore]
    W -->|status, data-updated| U[ui/ windows, cards, graphs]
    W -->|is-ready| E[OverviewEngine]
    E -->|overview-changed| U
    E -->|overview-changed| N[Notifications]
    GS[(GSettings)] <--> U

Everything the user sees comes from WeatherStore. The UI never makes an HTTP call: it asks the store to refresh() and listens for the result.