Files
awesome-llm-apps/starter_ai_agents/ai_blog_to_podcast_agent
Shubhamsaboo a9931bb0c6 feat: Revamp Blog to Podcast Agent with improved API key handling and audio generation
- Updated Streamlit UI for better user experience with API key inputs and blog URL entry.
- Enhanced podcast generation process by integrating ElevenLabs for audio output.
- Improved error handling and summary display for generated podcasts.
- Updated requirements to ensure compatibility with newer library versions.
2025-11-08 21:11:42 -08:00
..
2025-04-17 16:01:23 -05:00

📰 ➡️ 🎙️ Blog to Podcast Agent

This is a Streamlit-based application that allows users to convert any blog post into a podcast. The app uses OpenAI's GPT-4 model for summarization, Firecrawl for scraping blog content, and ElevenLabs API for generating audio. Users simply input a blog URL, and the app will generate a podcast episode based on the blog.

Features

  • Blog Scraping: Scrapes the full content of any public blog URL using Firecrawl API.

  • Summary Generation: Creates an engaging and concise summary of the blog (within 2000 characters) using OpenAI GPT-4.

  • Podcast Generation: Converts the summary into an audio podcast using the ElevenLabs voice API.

  • API Key Integration: Requires OpenAI, Firecrawl, and ElevenLabs API keys to function, entered securely via the sidebar.

Setup

Requirements

  1. API Keys:

    • OpenAI API Key: Sign up at OpenAI to obtain your API key.

    • ElevenLabs API Key: Get your ElevenLabs API key from ElevenLabs.

    • Firecrawl API Key: Get your Firecrawl API key from Firecrawl.

  2. Python 3.8+: Ensure you have Python 3.8 or higher installed.

Installation

  1. Clone this repository:

    git clone https://github.com/Shubhamsaboo/awesome-llm-apps
    cd ai_agent_tutorials/ai_blog_to_podcast_agent
    
  2. Install the required Python packages:

    pip install -r requirements.txt
    

Running the App

  1. Start the Streamlit app:

    streamlit run blog_to_podcast_agent.py
    
  2. In the app interface:

    • Enter your OpenAI, ElevenLabs, and Firecrawl API keys in the sidebar.

    • Input the blog URL you want to convert.

    • Click "🎙️ Generate Podcast".

    • Listen to the generated podcast or download it.