Skip to content

Weather & Day Night Cycle

github-actions[bot] edited this page Sep 4, 2026 · 1 revision

๐ŸŒฆ๏ธ Live Weather & Day/Night Atmosphere

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.


๐ŸŒ Setting Your City (city)

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, Sydney

Open-Meteo fetches the real-time weather condition (solar elevation, rain rate, snowfall, cloud cover) and automatically renders:


โ˜€๏ธ Atmospheric Conditions

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.

๐Ÿ› ๏ธ Manual Weather Override (weather)

You can force a specific weather condition regardless of location:

        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          weather: "night" # auto | sunny | night | rain | snow | cloudy

Clone this wiki locally