TikRot is a Streamlit application that automates the creation of TikTok-style videos from PDF content.
- PDF text extraction
- Script generation using OpenAI's GPT
- Text-to-speech audio generation
- Video processing with subtitles
- Project saving and loading
-
Clone the repository:
git clone https://github.com/ceobarath/tikrot.git cd tikrot -
Install dependencies:
pip install -r requirements.txt -
Set up your OpenAI API key as an environment variable:
export OPENAI_API_KEY='your-api-key-here'
-
Start the backend server:
python app.py -
In a new terminal, run the Streamlit app:
streamlit run streamlit_app.py -
Open the provided URL in your web browser.
-
Log in using the mock credentials (replace with actual authentication in production).
-
Upload a PDF file and click "Generate TikTok" to create videos.
-
View generated videos, save projects, and manage your project history.
- Python 3.7+
- Streamlit
- Flask (for backend)
- OpenAI API access
- FFmpeg (for video processing)
Ensure you have template videos in the template_videos folder for the app to use in video generation.