Solar forecast dashboard (GHI, sunshine duration, UV index, temperature), built with Dinghy as a Docusaurus site and published to GitHub Pages at solar-forecast.dinghy.dev.
Thanks to Open-Meteo.com for the high quality weather data (CC-BY 4.0).
- configuration
.dinghyrc- Pins the Dinghy engine versiondinghy.config.yml- Dinghy site configuration.github/workflows/deploy.yml- GitHub Actions based continuous deployment
- source code
src- Main source directory for the sitepages- Site pages (home page and User Guide)components- React componentsapi- Handles data fetching from Open-Meteoutils- Formatting and Chart.js loading helperscss/custom.css- Custom CSS applied to every Docusaurus page
static- Folder for static assets, copied directly to the published site (includes theCNAMEfile for the custom domain)
Site commands reference: https://dinghy.dev/references/commands/engine/site
# Install Dinghy Cli
curl -fsSL https://get.dinghy.dev/install.sh | sh
# Clone repo
git clone https://github.com/dinghydev/solar-forecast.git
cd solar-forecast
# Start site
dinghy site startThe .github/workflows/deploy.yml workflow
automatically publishes updates to GitHub Pages whenever changes are pushed to
the main branch.
This site is served at https://solar-forecast.dinghy.dev via GitHub Pages.