Automate the creation of YouTube Shorts locally with a couple of simple steps.
Give a video subject
Review the script
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.
[x] Generate the script first
[x] Let users review the script before audio and video generation
[x] Let users view all the generated videos in a single place
[x] Let users view the generated video in the browser
[x] Let users select the audio music to add to the video
[ ] Update the view to have a better user experience
[x] 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
[x] Let users have general configuration
[ ] Let users add multiple video links to download
[ ] Let users select the font and upload fonts
[x] Let users select the color for the text
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 http://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 hereStart 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.