Skip to content
← Public packages

@kody/local-conditions

Quick onboarding example: weather and AQI for a city via Open-Meteo (zero OAuth).

Featured
  • Examples
  • onboarding
  • example
  • zero-auth
  • weather
  • aqi
  • open-meteo
Version
1.0.1
License
MIT
Published
September 10, 2026
Pinned commit
84101a5
Rating
★ 5.0 (1)
Forks
15
Adaptation effort
1.0

@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

Report this listing

Log in to report this listing.