Overview
A Logseq plugin that fetches the captions for any YouTube video referenced in a block and inserts the full transcript as a child block. Useful for keeping a searchable record of talks and tutorials in your graph, and even more useful when paired with an LLM plugin that can summarise or extract takeaways from the transcript.
Features
- One slash command (
/get-youtube-captions) or block-menu entry - Works with embedded
{{video}}blocks and any YouTube URL format - Configurable caption language
- Pairs naturally with the GPT-3 plugin for summarisation
Usage
- Drop a YouTube link into any block
- Run
/get-youtube-captionsfrom the slash menu - The transcript lands as a child block under the link
URL formats supported:
- Standard
youtube.com/watch?v=… - Short links
youtu.be/… - Embedded
{{video …}}blocks
Pairing with an LLM plugin
Run my GPT-3 plugin on the resulting transcript to:
- Pull the top five takeaways from a long talk
- Summarise lectures and tutorials
- Extract key points from interviews
Settings
- Caption language
- Helpful error messages when the requested language isn’t available
Installation
Search for get-youtube-captions in the Logseq Marketplace.
Technology Stack
- TypeScript with Vite
- Logseq Plugin API
- YouTube caption extraction
- Semantic-release for publishing