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.
-
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.
-
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.
-
-
Python 3.8+: Ensure you have Python 3.8 or higher installed.
-
Clone this repository:
git clone https://github.com/Shubhamsaboo/awesome-llm-apps cd ai_agent_tutorials/ai_blog_to_podcast_agent
-
Install the required Python packages:
pip install -r requirements.txt
-
Start the Streamlit app:
streamlit run blog_to_podcast_agent.py
-
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.
-