Sparkles is a web application that allows users to create short-form videos using AI.
- Node.js
- Bun
- Docker and Docker Compose (for deployment)
-
Clone the repository:
git clone git@github.com:listlessbird/brainrot-shorts.git cd brainrot-shorts -
Install dependencies for the web interface:
cd web bun install -
Run migrations
bun db:gen bun db:migMake sure you have setup all the environment variables
-
Install dependencies for the renderer:
cd ../renderer bun install -
Set up environment variables:
- Copy
.env.exampleto.envin thewebdirectory and fill in the required values.
- Copy
-
Start the web interface:
cd web bun dev -
Start the renderer service:
cd renderer bun dev -
Open http://localhost:3000 in your browser to access the application.
- Generate short-form video scripts based on user input
- Create AI-generated images for each scene
- Generate speech audio from the script
- Render final video with synchronized audio and images
- View and manage generated videos
- Directly upload to youtube from the app itself
The project includes Docker configurations for deployment:
- Ensure all secrets are properly set up in
web/.env. - Run the deployment script:
./run-compose.sh
This will build and start the necessary Docker containers for the web interface and renderer service.
web/: Next.js web applicationrenderer/: remotion renderer service using Bundocker-compose.yml: Docker Compose configuration for deploymentrun-compose.sh: Deployment script
- Next.js
- React
- TypeScript
- Tailwind CSS
- Bun
- Remotion
- Docker
Contributions are always welcome.
This project is licensed under the MIT License.





