This project showcases the power of Python in automating content generation for popular platforms like YouTube. By leveraging tools such as Jinja, MoviePy, and Reddit's API, you can effortlessly transform Reddit posts into engaging videos with just a single click.
- Automatically fetches content from Reddit using the Reddit API
- Utilizes Jinja to convert the content into provided templates for screenshots
- Incorporates MoviePy for video editing and generation
- Generates high-quality videos with captivating visuals and audio
- Allows customization options to tailor the content to your preferences
To run this project, make sure you have the following installed:
- Python 3
- Jinja2 library
- MoviePy library
- gTTS
- praw
- Clone this repository to your local machine.
git clone https://github.com/iamuv2000/reddit-yt.git
- Navigate to the project directory.
cd reddit-yt
- Install the required Python libraries.
- Open the
reddit.py
file and enter your Reddit API credentials.
# Reddit API credentials
CLIENT_ID = 'your_client_id'
CLIENT_SECRET = 'your_client_secret'
- Customize the settings in
main.py
according to your preferences.
# Customize settings
subreddit_name = 'AskReddit' # Choose the subreddit you want to fetch content from
videos_to_generate = 10 # Number of posts to fetch
- Run the script to generate the automated content.
python main.py
- Sit back and watch as the script fetches content, captures screenshots, and generates a captivating video for your YouTube channel or Instagram page!
Contributions are welcome! If you have any ideas, suggestions, or improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Feel free to customize and enhance this README file based on your specific project details and requirements.