This Next.js and Flask application transforms YouTube video URLs into AI-generated blog posts with integrated video thumbnails. It offers a streamlined workflow, combining robust backend logic with a polished frontend experience.
- Markdown to HTML Conversion: Automatically converts AI-generated content into styled HTML for seamless rendering.
- YouTube Transcript Processing:
- Extracts the Video ID from the provided URL.
- Fetches the video transcript and preprocesses it by removing unwanted formatting or artifacts for clean input.
- AI-Powered Content Generation: Uses the processed transcript to create engaging, structured blog posts.
This project demonstrates the integration of advanced AI processing with clean, user-friendly web design, offering a powerful tool for content creators.
- Convert YouTube video content into well-written blog posts.
- Automatically fetch video thumbnails.
- AI-powered blog generation using Flask backend.
- Markdown to styled HTML conversion.
- Responsive and user-friendly interface.
- Node.js (v14+)
- Python (v3.8+)
- A Gemini API Key
git clone <repository-url>
cd <repository-folder>
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the backend directory:
cd backend
- Install dependencies:
pip install -r requirements.txt
- Start the Flask server:
python app.py
GENAI_API_KEY = "your gemini api key"
RAPID_API_KEY = "your rapid api key"
- Enter a valid YouTube URL in the input box.
- Click Generate Blog.
- View the AI-generated blog post along with the video thumbnail.