https://github.com/peterj/yt-transcripts
https://github.com/peterj/yt-transcripts
openai whisper
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/peterj/yt-transcripts
- Owner: peterj
- Created: 2024-02-09T23:11:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T23:12:00.000Z (over 2 years ago)
- Last Synced: 2025-03-19T21:43:02.919Z (about 1 year ago)
- Topics: openai, whisper
- Language: TypeScript
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YT video transcripts
1. Set the OpenAI API key in the `.env` file.
2. Set the YT video URL in the `transcribe.py` file and run it:
```shell
python transcribe.py
```
3. The transcript will be saved in the `transcripts` folder.
4. Copy the transcript JSON file to the `/web/src/app/data` folder (and/or update the import in the page.tsx file)
5. Run the web app (from the `/web` folder):
```shell
npm install
npm run dev
```