Skip to content
evmmcPublic

About

Get a summary + transcript of a YT video

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yt2org

Get a summary of a YT video. Stores the original transcript as well.

Pre-requisites:

  uv pip install -r requirements.txt
  # for convenience (u#+end_src

*Usage:*

❯ ./yt2org https://www.youtube.com/watch\?v\=EW4ytINstvc

Options:

**-o, –outdir** Specify a directory to save the output org file. If not specified, the file will be saved in the current directory.

❯ ./yt2org.py https://www.youtube.com/watch\?v\=EW4ytINstvc -o /path/to/directory
alias y="$(which yt2org.py) -o ~/org
y https://www.youtube.com/watch\?v\=EW4ytINstvc 

Features:

  • **URL processing**: Process a YouTube URL to extract the video ID and title.
  • **Transcript fetching**: Fetch the raw transcript of the video.
  • **Transcript formatting**: Format the transcript into a well-structured org-mode document using the Gemini API.
  • **Output directory**: Specify an output directory for the generated org file using the `-o` or `–outdir` flag.

About

Get a summary + transcript of a YT video

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages