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 configuredinterests, returns up tomax_itemsheadlines 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/...andapi.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94fafc02b96293f791ad2b8a4458d22af4673a877fdcdd1737cfc7f832cee13e
|
|
| MD5 |
8ebaff1c7471bdd6a8727fef552a4780
|
|
| BLAKE2b-256 |
d9eb3636a2e5e901ebfedb6b2aec6f666571402260ad46619d7666e5f764359b
|
File details
Details for the file huxley_skill_news-0.1.0-py3-none-any.whl.
File metadata
- Download URL: huxley_skill_news-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e46a7b782592d5af19f7fbf307c759ada6cf155e42c38b1e0a97a632960bd9bb
|
|
| MD5 |
928cd3f2d694996a4b6fabfb9dd369b3
|
|
| BLAKE2b-256 |
4f0125a7fd55cf283d90b4bd819aeeba1b77b1c08079fee6a9734dce26ba9fd3
|