Wether
Wether is a weather CLI written in Rust for retrieving forecast and geolocation data from the Open-Meteo API. It features SQL-based local caching to reduce API requests and improve performance for repeated queries.
The project is broken down into a networking layer, caching layer, and command interface. The networking layer handles (mostly)compliant HTTP communication, including header parsing and chunked-transfer decoding. The caching layer stores forecast and geolocation data locally using SQLite. The command interface provides a custom CLI parser and query builder for interacting with the API.
This project also includes meatball-rs, a reusable SDK for Open-Meteo weather
and geolocation services. The SDK provides strongly typed request generation,
response handling, and automatic parameter conversion through a custom
CamelCase-to-query-case transformer.
The back end is still under active development, with additional forecast features and extended caching support planned.
This project is still in development and APIs may change over time.
I may write my own sudo runtime for concurent requests to muiltiple APIs for data agrigation. I do not want to use tokio and the goal of this project is the limit dependecies.