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.

☕ Morning News Digest

An automation that emails you an AI-summarized news briefing every morning at 7am Eastern (11:00 UTC).

Each morning it:

  1. Fetches headlines from several free Google News RSS feeds (no API key).
  2. Summarizes them into a tidy briefing with OpenAI (free std/openai).
  3. Emails the briefing to the val owner via std/email.

How to customize

What you want to changeWhere
Which news topics appearFEEDS array in news.ts
Tone / length / story countSYSTEM prompt in summarize.ts
Email look & layoutrender.ts
Send timeCron schedule on main.ts (runs in UTC)
Send to a different addressadd a to: field to the email({ ... }) call in main.ts

Architecture

Rendering mermaid diagram...

Testing

Run main.ts manually any time to send yourself a digest immediately, rather than waiting for the morning cron.