Automate the creation of YouTube Shorts locally with a couple of simple steps.
-
Give a video subject
- Add extra prompt information if needed
-
Review the script
- Add custom search keywords
- Select a specific voice to use or set a global default voice for all generations
-
Generate the video
-
Review the video - Regenerate video
-
Add music to the video
-
View all generated videos
-
Profit!
🎥 Watch the video on YouTube or click on the image.
-
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
- Let users schedule video uploads to [YouTube, Facebook Business, LinkedIn]
- Let users create videos from the calendar and schedule them to be uploaded
- 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
-
Please install Docker if you haven't already done so
-
Build the containers:
docker-compose build
- Run the containers:
docker-compose up -d
- Open
https://localhost:5000
in your browser
See .env.example
for the required environment variables.
If you need help, open EnvironmentVariables.md for more information.
To use your own music, upload it to the static/assets/music
folder.
Add your fonts to the static/assets/fonts
and change the font name in the global settings.
Before running the front end create the following folders:
static
static/generated_videos
-> All videos generated that have music will be herestatic/Songs
-> Put the mp4 songs that you want to use here
Start the front end:
cd UI
npm install
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
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.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
See LICENSE
file for more information.