Giter Site home page Giter Site logo

revvid's Introduction

Revvid

You've probably seen a bunch of /r/AskReddit narration style videos by now. So I randomly thought to start working on a program to automate the creation of them. Its still a work in progress, but the current state of the project allows it to:

  • Take screenshots of top level comments of a thread using selenium.
  • Generate audio using the epic Daniel voice for each comment.
  • Have looping background music.
  • Composite all of the above into a cool video. Heres a sample.
  • Output high quality content

Todo:

  • Add customisability since things like the outro, subreddit and comment limit are currently hardcoded.
  • Ability to curate your own comments/support for replies.
  • Turn it into a CLI tool

Please feel free to make a PR with improvements :)

Installation

Clone the repo

$ git clone https://github.com/kyb3r/revvid
$ cd revvid

Install dependancies

$ pipenv install

Create a .env file with your reddit client id and secret.

CLIENT_ID=xxxxxx
CLIENT_SECRET=xxxxxxx

Finally run the app via

pipenv run python3 app.py

Usage

Note: This only works on mac since pyttsx3 supports saving audio files only on mac (pyttsx3#30). If theres a better way to get tts audio files cross platform, please make a PR :)

You can either run the app by itself to get an interactive interface or supply a command line argument for the id of the specific submission you want to fetch screenshots from.

e.g.

python3 app.py bw8gyr

License

GNU GPL v3

Contributing

Feel free to make contributions, they are always welcome!

revvid's People

Contributors

kyb3r avatar

Watchers

James Cloos 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.