Skip to content

V-Code18/YouTube-Script-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ₯ ScriptCraft: YouTube Script Generator

Overview

ScriptCraft is an AI-powered YouTube script generator that helps content creators quickly generate engaging video scripts. Built with LangChain and Streamlit, it combines the power of OpenAI's language models with Wikipedia research to create well-structured and informative video scripts.

πŸš€ Features

  • AI-Powered Script Generation: Generate complete YouTube scripts with just a topic
  • Smart Title Suggestions: Get creative title ideas for your videos
  • Wikipedia Integration: Automatically includes relevant research in the script
  • Customizable Creativity: Adjust the AI's creativity level
  • Responsive Design: Works on both desktop and mobile devices

πŸ› οΈ Prerequisites

  • Python 3.8 or higher
  • OpenAI API key
  • pip (Python package manager)

βš™οΈ Installation

  1. Clone the repository

    git clone https://github.com/your-username/YouTube-Script-Generator.git
    cd YouTube-Script-Generator
  2. Create a virtual environment (recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows: .\venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Set up environment variables

    • Copy .env.example to .env
    • Add your OpenAI API key to the .env file
    OPENAI_API_KEY=your_api_key_here
    

πŸš€ Usage

  1. Run the application

    streamlit run langchain/app.py
  2. Open your browser and go to http://localhost:8501

  3. Enter your video topic in the text area and click "Generate Script"

  4. Adjust settings in the sidebar to customize the output

πŸ“ Example

Input:

How to start a successful tech blog

Output:

  • Title: "The Ultimate Guide to Launching a Profitable Tech Blog in 2023"
  • Script: [Generated script with introduction, main points, and conclusion]

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages