Skip to main content

News headlines + weather for Huxley — Google News RSS + Open-Meteo, no API keys, multi-language.

Project description

huxley-skill-news

News headlines + weather for Huxley. Google News RSS + Open-Meteo, no API keys.

Status: bundled with the Huxley repo as a workspace member.

What it does

  • get_news — "what's the news" — fetches Google News RSS for the persona's country, filters by configured interests, returns up to max_items headlines with timestamps.
  • get_weather — "what's the weather" — Open-Meteo forecast for the persona's lat/lon. No API key.

Both tools cache for cache_ttl_seconds (default 300s) so repeated requests within a turn don't re-fetch.

Configure

skills:
  news:
    location: "Villavicencio"
    latitude: 4.142
    longitude: -73.626
    country_code: "CO"
    language_code: "en" # feed language (separate from the persona's UI language)
    units: "metric" # or "imperial"
    interests: ["economía", "tecnología"]
    max_items: 5
    max_age_hours: 24
    cache_ttl_seconds: 300
    start_sound: news_start # opt-in chime; persona-shared earcon palette
    sounds_path: "sounds"

config_schema = None — per-language i18n overrides + the user-defined interests list shape mean v2's PWA falls back to "edit YAML directly."

Requirements

  • Network access to news.google.com/rss/... and api.open-meteo.com.
  • No API keys — both upstreams are public.

Development

uv run --package huxley-skill-news pytest server/skills/news/tests
uv run ruff check server/skills/news
uv run mypy server/skills/news/src

Tests use pytest-httpx to mock both upstreams; no network in CI.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huxley_skill_news-0.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

huxley_skill_news-0.1.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file huxley_skill_news-0.1.0.tar.gz.

File metadata

  • Download URL: huxley_skill_news-0.1.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for huxley_skill_news-0.1.0.tar.gz
Algorithm Hash digest
SHA256 94fafc02b96293f791ad2b8a4458d22af4673a877fdcdd1737cfc7f832cee13e
MD5 8ebaff1c7471bdd6a8727fef552a4780
BLAKE2b-256 d9eb3636a2e5e901ebfedb6b2aec6f666571402260ad46619d7666e5f764359b

See more details on using hashes here.

File details

Details for the file huxley_skill_news-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for huxley_skill_news-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e46a7b782592d5af19f7fbf307c759ada6cf155e42c38b1e0a97a632960bd9bb
MD5 928cd3f2d694996a4b6fabfb9dd369b3
BLAKE2b-256 4f0125a7fd55cf283d90b4bd819aeeba1b77b1c08079fee6a9734dce26ba9fd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page