Git Product home page Git Product logo

reddittts's Introduction

RedditTTS

What It Does

This Python app scrapes popular Reddit posts and comments and creates ready-to-upload entertaining videos with background music, text-to-speech, and screenshots of the post and top comments. โœจ

TL;DR it makes those Reddit text-to-speech videos that have taken over YouTube, TikTok, FaceBook, and everywhere else for you.

xgof5p.mov

Usage

NOTE: You need ffmpeg installed on your computer for this to work.

  1. Create your own Reddit Bot here, by selecting 'Personal Use Script' and note down the client id and client secret.
  2. Download the latest release for this app.
  3. Run RedditTTS.py and enter your cliend id and client secret.
    Also update perameters like subreddit, posts and comments to get posts from the subreddit of your choice and a video will be generated in the /out folder ~! ๐Ÿ˜„
    The /out folder also contains a .txt file containing the information about the post.
Screen.Recording.2022-09-17.at.9.09.20.PM.mov

Libraries Used

All of these are included with the app, except ffmpeg. If missing, just download it here.

  • praw to scrape Reddit posts.
  • selenium and webdriver_manager to generate screenshots of the posts.
  • gtts and pydub to generate audio.
  • moviepy to generate video.
  • ffmpeg and ffprobe to generate video.

Future Plans

  • Once the script is finalized, make a GUI App to make using this ultra easy.:dizzy: โ†’ Done! โœ…
  • Make libraries local, allowing app to be run without installing the whole list of modules. โ†’ Done! โœ…
  • Use the Reddit API directly instead of praw to improve performance {Current working on this โ—}.

Contributors

Ajinkya Talekar | CS Student at University at Buffalo | ajinkyatalekar.github.io

reddittts's People

Contributors

ajinkyatalekar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.