static-wx is a simple React Router Single Page Application (SPA) that takes in a YAML-formatted configuration file containing 7-day weather forecast data and produces a downloadable graphic in PNG format.
Dependency | Version |
---|---|
Node.js | 23.8.0 |
npm | 10.9.2 |
Note
This was developed with the dependency versions listed in the table above. Older versions of Node.js and npm have not been tested, so no guarantee can be made that they will work. It is highly recommended to use the versions in the table exactly.
Download Node.js here.
First, clone this repository and install dependencies:
git clone --depth 1 git@github.com:crhowell3/static-wx.git
cd static-wx
npm i
Edit public/forecast.yaml
and then run:
npm run dev
This will build and run the application, and by default, it can be accessed at http://localhost:5173 in your web browser.
Here is an example of a forecast graphic that this produces:
Copyright © 2025-present Cameron Howell