Turn an RSS feed into a daily audio digest with the Speechify API
Turn an RSS feed into a daily audio digest with the Speechify API. Fetch items, join the text, generate one audio file, and deliver it.
A daily audio digest reads your RSS feed to you. A scheduled job fetches the latest items, joins the text, generates one audio file with the Speechify API, and delivers it. Useful for newsletters, internal updates, and personal listening. The runnable demo (demos/rss-audio-digest) is a self-contained Node script.
What does the job do?
- Fetch the feed and parse the items.
- Concatenate the item text into one script.
- Chunk the script under the API input cap, then call
POST /v1/audio/speechfor each chunk. - Stitch the chunks into a single audio file and deliver it.
How do I build the digest text?
Take the titles and summaries, then join them with a short pause so items stay distinct. Use a break between items so the digest scans cleanly when played.
How do I schedule it?
Run the job on a cron. A daily trigger keeps listeners fresh without over-generating. Each run produces one digest file.
Which model should I use?
simba-3.2 for English, simba-3.0 for multilingual feeds. The runnable demo shows the full fetch-to-file pipeline.
FAQ
How long can a digest be?
As long as the feed. The speech endpoint accepts up to 2,000 characters per request, so long digests are chunked: split into pieces, synthesize each, then stitch the audio back together.
Do I need a server?
A scheduled function is enough. The job runs, generates audio, and hands off the file.