book-to-podcast

Convert EPUB or PDF books into podcast episodes with MP3 audio and RSS feeds.

7|2|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/pranaykotas/book-to-podcast --skill book-to-podcast
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: book-to-podcast
Source: https://github.com/pranaykotas/book-to-podcast/tree/main
Command: npx skills add https://github.com/pranaykotas/book-to-podcast --skill book-to-podcast

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ebooklib, pypdf, beautifulsoup4, pydub, feedgen, python-dotenv, boto3, audioop-lts, httpx, elevenlabs, kokoro, soundfile, botocore, feedgen, xml, numpy, and includes scripts (resource) components.

What problem does it solve?

Producing an audiobook-style podcast from a non-fiction PDF or EPUB is slow and labor-intensive because it requires extracting text, writing a structured script, generating narration audio, and publishing an RSS feed users can subscribe to.

Core Features & Use Cases

  • End-to-end book → podcast pipeline: Extracts text from EPUB/PDF, generates a 45-minute script in either monologue or two-host conversation format, renders MP3 via a TTS provider, and updates a private RSS feed stored on Cloudflare R2.
  • Multiple TTS providers with Indian-language support: Supports ElevenLabs and Sarvam, plus optional fully local Kokoro; Sarvam enables multiple Indian languages using compatible models and language codes.
  • Resumable, cost-aware rendering: Uses per-chunk persistent audio caching so reruns continue without re-spending credits on already rendered segments.
  • Use case: Convert a newly downloaded non-fiction book into a commute-ready podcast episode, then subscribe from any podcast app via the skill’s generated R2 feed URL.

Quick Start

Run the skill on your book file by telling: "/book-to-podcast path/to/some-book.epub".

Frequently Asked Questions about book-to-podcast

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a non-fiction EPUB or PDF into a podcast RSS feed?▼

To convert a non-fiction EPUB or PDF into a podcast RSS feed, this skill extracts the book text, generates a 35–45 minute script, renders MP3 audio via a TTS provider, and publishes updates to a private RSS feed hosted on Cloudflare R2.

Does the book-to-podcast pipeline support Indian language text-to-speech?▼

Yes, the book-to-podcast pipeline supports Indian language text-to-speech by using the Sarvam provider, which enables multiple Indian languages through compatible models and specific language codes.

Can I use a local TTS provider instead of paid APIs for generating audiobook-style audio?▼

You can use a local TTS provider for generating audiobook-style audio by selecting the optional Kokoro provider, which runs fully locally as an alternative to paid APIs like ElevenLabs or Sarvam.

How do I avoid re-spending TTS credits when rerunning podcast audio generation?▼

To avoid re-spending TTS credits when rerunning podcast audio generation, the skill uses resumable, per-chunk persistent audio caching so it only renders missing segments and skips already completed audio.

What podcast script formats are available when turning an ebook into audio?▼

When turning an ebook into audio, you can generate the podcast script in either a monologue format or a two-host conversation format to structure the 35–45 minute episode.

Do I need Cloudflare R2 to publish my generated podcast episodes?▼

Yes, you need Cloudflare R2 to publish your generated podcast episodes, as the skill requires R2 bucket configuration via environment variables to host and update the private RSS feed URL.