Skip to content
/ ShortsGenerator Public template

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

License

Notifications You must be signed in to change notification settings

leamsigc/ShortsGenerator

Repository files navigation

ShortsGenerator

ShortGenerator

How to run locally 🚀 Docker is required


  1. Clone the repository
git clone [email protected]:leamsigc/ShortsGenerator.git video Generator
  1. Go to the folder:"
cd videoGenerator
  1. Copy the .env-example to .env
  2. Update the Pexel API key if you want to use Video from Pexel
  3. The TikTok key is not needed anymore
  4. docker compose up -d
  5. Go to 'http://localhost:5000/generate' to start generating videos
  6. Click on the Setting ... to get images and videos to use in the video

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

  • Generate the script first

  • Let users review the script before audio and video generation

  • Let users view all the generated videos in a single place

  • Let users view the generated video in the browser

  • Let users select the audio music to add to the video

  • Update the view to have a better user experience

  • Let users preview the generated video in the same view and let users iterate on the video

  • Let users download the generated video

  • Let users upload videos to be used in video creation

  • Let users upload audio to be used in video creation

  • Let users have general configuration

  • Let users add multiple video links to download

  • Let users select the font and upload fonts

  • Let users select the color for the text

Features 🚀 plans:

  • Let users schedule video uploads to [YouTube, Facebook Business, LinkedIn]
  • Let users create videos from the calendar and schedule them to be uploaded

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
  1. Run the containers:
docker-compose up -d
  1. 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.