This Python script allows you to easily download Tiktok videos, transcribe them using AI, process the transcriptions, and save the videos along with the transcriptions to Obsidian, a popular note-taking and knowledge management tool.
Before running this script, ensure that you have the following prerequisites installed on your system:
- Python 3.x: Install Python by visiting the official Python website and downloading the appropriate version for your operating system.
- OpenAI API Key: This project requires an API key from OpenAI. To obtain your API key, follow the instructions below:
- Create an OpenAI API Key.
- Set it as an environment variable in your system. In Linux or MacOS, you can use the export command:
export OPENAI_KEY="your-api-key"
. On Windows, use thesetx
command:setx OPENAI_KEY "your-api-key"
.
- Clone the repository to your local machine.
- Run the script by executing the following command:
python main.py <url>
If you have any suggestions, enhancements, or bug fixes, feel free to open an issue or submit a pull request. Contributions are always welcome!