Param-Harrison / brainrot.js

Learn about any topic in video form from your favorite personalities

Home Page:https://brainrotjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run locally 👇

  1. go into generate (cd generate) and run python3 -m venv venv, then source venv/bin/activate, and then pip install -r requirements.txt
  2. now we can start the flask server. to do this run python3 transcribe.py
  3. set all environment variables in .env.example in .env with your own values.
  4. we should now install the js deps with bun i.
  5. now, run node localBuild.mjs and boom, a video locally generated in no time (actually in some time, 5-7 minutes typically)!

note: you need to create your own eleven labs voices and copy their voice id's. If you want to use Joe Rogan, Jordan Peterson, Barack Obama, and Ben Shapiro's voice you can go into generate/voice_training_audio to find the mp3 files to train your eleven labs voices with.

how to get google credentials:

how to get eleven labs credentials:

how to get open ai credentials:

localbrainrot.mp4

Examples:

trpo.mp4
forkvsexec.mp4

About

Learn about any topic in video form from your favorite personalities

https://brainrotjs.com

License:MIT License


Languages

Language:TypeScript 61.2%Language:JavaScript 34.6%Language:CSS 3.8%Language:Python 0.3%