@kody/local-conditions
Quick onboarding example: weather and AQI for a city via Open-Meteo (zero OAuth).
README.md
40 lines · 1.4 KB · Markdown@kody/local-conditions
Intent
Tiny zero-OAuth onboarding example: geocode a city with Open-Meteo, then return
current weather, optional US AQI, and sunrise/sunset. Built as a fork-friendly
Step 2 starter so new agents can learn keyless fetch packages quickly.
What it does
- Look up current outdoor conditions for a free-form place name
- Demonstrate a public, no-secret package agents can fork during onboarding
- Optionally email yourself a short conditions summary (
emailLocalConditions)
Prerequisites / setup
No OAuth and no secrets. Calls public Open-Meteo HTTP APIs (geocoding-api,
api, and air-quality-api open-meteo.com hosts). emailLocalConditions uses
the signed-in account's Kody email send helper.
Agents: import paths and execute snippets live in AGENTS.md.
Done when
getLocalConditions({ place })returns a structured snapshot (place, current weather, optional AQI, sunrise/sunset)- Optional
emailLocalConditions({ place })emails that summary to your Kody inbox when you explicitly ask for it
Attribution
Weather and air-quality data from Open-Meteo (CC BY 4.0). Please attribute Open-Meteo when you reuse this package.
Branding
community-icon.svg is a simple weather mark for this onboarding example. Keep
MIT license and this Intent section when forking.
Share this package as https://kody.codes/@kody/local-conditions