Public
Daily AI-powered news summary emailed every morning
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
An automation that emails you an AI-summarized news briefing every morning at 7am Eastern (11:00 UTC).
Each morning it:
- Fetches headlines from several free Google News RSS feeds (no API key).
- Summarizes them into a tidy briefing with OpenAI (free
std/openai). - Emails the briefing to the val owner via
std/email.
| What you want to change | Where |
|---|---|
| Which news topics appear | FEEDS array in news.ts |
| Tone / length / story count | SYSTEM prompt in summarize.ts |
| Email look & layout | render.ts |
| Send time | Cron schedule on main.ts (runs in UTC) |
| Send to a different address | add a to: field to the email({ ... }) call in main.ts |
Rendering mermaid diagram...
Run main.ts manually any time to send yourself a digest immediately, rather
than waiting for the morning cron.