This is a Streamlit-based application that allows users to convert any blog post into a summary. The app uses OpenAI's GPT-4 model for summarization, Firecrawl for scraping blog content. Users simply input a blog URL, and the app will generate a summary 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.
-
API Key Integration: Requires OpenAI and Firecrawl API keys to function, entered securely via the sidebar.
-
API Keys:
-
OpenAI API Key: Sign up at OpenAI to obtain your API key.
-
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/diwakaragg/ai_blog_summary.git cd ai_blog_summary -
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, and Firecrawl API keys in the sidebar.
-
Input the blog URL you want to convert.
-
Click "🎙️ Generate Blog Sumary".
-