-
Notifications
You must be signed in to change notification settings - Fork 2
Weather & Day Night Cycle
github-actions[bot] edited this page Sep 4, 2026
·
1 revision
gh-tree features a real-time weather engine powered by Open-Meteo that renders live atmospheric weather conditions based on your city or manual override.
Add your city name to the action inputs in .github/workflows/tree.yml:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
city: "Paris" # e.g. London, Tokyo, New York, Seattle, SydneyOpen-Meteo fetches the real-time weather condition (solar elevation, rain rate, snowfall, cloud cover) and automatically renders:
| Weather Type | Visual Elements |
|---|---|
| Sunny โ๏ธ | Bright golden sun with radiating solar corona and clear blue atmosphere. |
| Starry Night ๐โจ | Crescent glowing moon, multi-layered twinkling stars, and night sky depth. |
| Rainy ๐ง๏ธ | Slanted rain streaks, storm clouds, and ground impact puddle splashes. |
| Snowy โ๏ธ | Fluttering pixel snowflakes and snow-capped leaves on top of the canopy blocks. |
| Cloudy โ๏ธ | Multi-layered drifting overcast clouds moving across the sky. |
You can force a specific weather condition regardless of location:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
weather: "night" # auto | sunny | night | rain | snow | cloudy
gh-tree is created and maintained by @nivinvysakh and amazing open-source contributors! ๐
Contribute code or documentation to unlock the exclusive Lapis Lazuli Ore ๐ท!