Paste a YouTube URL (or video id) and generate chapter-like timestamps from the video's transcript.
- Fetches available transcripts (when the creator has transcripts enabled)
- Lets you pick the transcript language
- Chunks the transcript into time-based sections
- Generates a simple chapter title for each chunk (TF‑IDF keywords for English; otherwise first-sentence fallback)
- Outputs copy/paste-friendly timestamps (great for YouTube descriptions)
cd /Users/kenguyen/youtube_timestamps_streamlit
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtcd /Users/kenguyen/youtube_timestamps_streamlit
source .venv/bin/activate
streamlit run app.py- Some videos do not expose transcripts (disabled, unavailable, or region/age restricted).
- This generates suggested chapters. For higher-quality titles you’d typically use an LLM, but this project intentionally avoids paid APIs.