{"repo":"noahgsolomon/brainrot.js","free":true,"listed":false,"github":"https://github.com/noahgsolomon/brainrot.js","clone":"git clone https://github.com/noahgsolomon/brainrot.js.git","description":"Text to video generator in the brainrot form. Learn about any topic from your favorite personalities 😼.","language":"Python","stars":956,"topics":["automate","chatgpt","nextjs","python","remotion","youtubeshorts","text-to-video","text-to-video-generation"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"How to run locally 👇 0. You must have docker installed on your computer (https://www.docker.com/get-started/) 1. create generate/.env file with the following values: 1.5 Note, you should get the actual values for your GROQ, OPENAI, and SPEECHIFY api keys before proceeding (scroll down for links on where to get each) 2. go into generate ( cd generate ) and run chmod +x scripts/start.sh , and chmod +x scripts/build.sh . This will make the scripts executable. 3. now run ./scripts/build.sh to build the docker image. This will take 5-15 minutes, as there are a lot of dependencies. The image is around 5.5GB. 4. now run bun install in ./generate 5. you can now run ./scripts/start.sh to start the container. There are two modes you can run. regular mode and studio mode. Regular mode executes the localBuild.ts script, and outputs a video in the out directory. Studio mode executes the localBuild.ts script, but doesn't render the video. Instead, it generates the necessary audio and context files for the video, and runs bun run start outside of the container. This allows you to edit the actual video code (in src/Composition.tsx ).in real-time and have it update on the spot. To run in studio mode, run MODE=studio ./scripts/start.sh . To run in regular mode, run ./scripts/start.sh . In order to change what video is generated, you can change the variable values at the top in localBuild.ts. The video generation process can take 10-20 minutes so be patient! 6. Voila! You just made brainrot ho","default_branch":null,"files":null,"tree":[],"storefront":"/r/noahgsolomon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/noahgsolomon/brainrot.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}