ShortsGenerator
ShortsGenerator copied to clipboard
Automate the creation of Shorts content locally with a couple simple steps.
ShortsGenerator
How to run locally 🚀 Docker is required
- Clone the repository
git clone [email protected]:leamsigc/ShortsGenerator.git video Generator
- Go to the folder:"
cd videoGenerator
- Copy the
.env-example
to.env
- Update the Pexel API key if you want to use Video from Pexel
- The TikTok key is not needed anymore
-
docker compose up -d
- Go to 'http://localhost:5000/generate' to start generating videos
- 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.
-
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!
Overview
🎥 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
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 📥
- 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
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:
-
static
-
static/generated_videos
-> All videos generated that have music will be here -
static/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
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 🌟
License 📝
See LICENSE
file for more information.