Skip to content
/ autovid Public

A bot that automatically makes youtube videos from a text script input

License

Notifications You must be signed in to change notification settings

Westsi/autovid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

AutoVid

A bot that takes script inputs and makes Discord videos!
Explore the docs »

View Demo · Report Bug · Request Feature · Planned Changes, Features and Enhancements

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Logo

(back to top)

Built With

  • Python
  • Movie.py

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • python 3
  • ffmpeg
  • install packages from requirements.txt
    pip install -r requirements.txt

Installation

  1. Clone the repo

    git clone https://github.com/Westsi/autovid.git
  2. Enable the Youtube Data API at Google Cloud Console

  3. Make an OAuth Consent screen with sensitive scope ./auth/youtube.

  4. Create OAuth client ID credentials and paste them in a new file client_secrets.json. Don't worry, the .gitignore file will stop it from being uploaded.

    {
    "web": {
        "client_id": "CLIENT-ID-HERE",
        "client_secret": "CLIENT-SECRET-HERE",
        "redirect_uris": [],
        "auth_uri": "https://accounts.google.com/o/oauth2/auth",
        "token_uri": "https://accounts.google.com/o/oauth2/token"
        }
    }

(back to top)

Usage

The template_script.txt and template_script_metadata.json files are templates for scripts. You can make your own, but if they are named differently then you will need to change the names of the files accessed in main.py lines 52 and 53. The indents for messages are unnecessary, but the line breaks between different users' messagess are very much necessary.

script = load_script("YOUR-SCRIPT.txt")
script_json = load_script_json("YOUR-SCRIPT-METADATA.json")

Right now, there is only one sound type - boom. Notification sounds wil automatically play on a new message. There are 6 profile pictures in /pfp but you can add your own. The default folder for profile pictures is /pfp. The links section in template_script_metadata.json only needs to be filled out for those messages that should be links. All others will default to being false. Remember that JSON true and false are lowercase, while Python's are uppercase.

(back to top)

Roadmap

  • Other Video Types
  • Custom Errors
  • Other Sounds

See the open issues for a full list of proposed features (and known issues). Also see the feature board for planned changes, features and enhancements.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Westsi - westsi@protonmail.com

Project Link: https://github.com/Westsi/autovid

(back to top)

Acknowledgments

(back to top)

About

A bot that automatically makes youtube videos from a text script input

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages