leamsigc / ShortsGenerator

Automate the creation of Shorts content locally with a couple simple steps.
MIT License
93 stars 23 forks source link
ai autovideo nuxt python reels shortcontent shorts video videogen videogeneration vuejs youtube

ShortsGenerator

ShortGenerator

Automate the creation of YouTube Shorts locally with a couple of simple steps.

  1. Give a video subject

    1. Add extra prompt information if needed
  2. Review the script

    1. Add custom search keywords
    2. Select a specific voice to use or set a global default voice for all generations
  3. Generate the video

  4. Review the video - Regenerate video

  5. Add music to the video

  6. View all generated videos

  7. Profit!

Overview

🎥 Watch the video on YouTube or click on the image. Short Generator

Generate Generate 2 Generate 3

Features 🚀 plans:

Installation 📥

  1. Clone the repository
git clone https://github.com/leamsigc/ShortsGenerator.git
cd ShortsGenerator
Copy the `.env.example` file to `.env` and fill in the required values
  1. Please install Docker if you haven't already done so

  2. Build the containers:

    docker-compose build
  3. Run the containers:

    docker-compose up -d
  4. Open http://localhost:5000 in your browser

See .env.example for the required environment variables.

If you need help, open EnvironmentVariables.md for more information.

Music 🎵

To use your own music, upload it to the static/assets/music folder.

Fonts 🅰

Add your fonts to the static/assets/fonts and change the font name in the global settings.

Next Development FE:

Before running the front end create the following folders:

  1. static
  2. static/generated_videos -> All videos generated that have music will be here
  3. static/Songs -> Put the mp4 songs that you want to use here

Start the front end:

  1. cd UI
  2. npm install
  3. npm run dev

The alternative front end will be on port 3000

The frontend depends on the backend. You can run the Docker container or you can run the backend locally

Donate 🎁

If you like and enjoy ShortsGenerator, and would like to donate, you can do that by clicking on the button on the right-hand side of the repository. ❤️ You will have your name (and/or logo) added to this repository as a supporter as a sign of appreciation.

Contributing 🤝

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Star History 🌟

Star History Chart

License 📝

See LICENSE file for more information.