change to full-day weather and update icons
This commit is contained in:
parent
26a2cfb91b
commit
951eb71b83
20 changed files with 430 additions and 22 deletions
|
|
@ -1,6 +1,5 @@
|
|||
echo "Get Wikipedia fact..."
|
||||
wget -qO- "https://api.wikimedia.org/feed/v1/wikipedia/en/onthisday/events/$(date +%m)/$(date +%d)" | \
|
||||
jq -r '.events[0] | "\(.year): \(.text)"' > event.txt
|
||||
echo "Get weather data..."
|
||||
wget -O weather.json "https://api.open-meteo.com/v1/forecast?latitude=43.4516&longitude=-80.4925&hourly=temperature_2m,weather_code&start_date=2025-08-23&end_date=2025-08-23&timezone=America/Toronto"
|
||||
echo "Generate document..."
|
||||
./typst compile --format png document.typ
|
||||
echo "Convert to image..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue