You send a YT link, then after 10 sec he returns short summary; instead of a 2-hour video, you get all insights in just 3 minutes to read
How it works:
- You send a YT link, then this sends a POST request to https://www.youtubetranscript.dev/api/v2/transcribe to get the transcript
2. After that, this asks an LLM (I used GPT-4o mini; for larger context, you can use another LLM) to summarize the transcript and analyze it
Here is the prompt:
""""
Please analyze the given text and create a structured summary following these guidelines:
1. Break down the content into main topics using Level 2 headers (##)
2. Under each header:
- List only the most essential concepts and key points
- Use bullet points for clarity
- Keep explanations concise
- Preserve technical accuracy
- Highlight key terms in bold
3. Organize the information in this sequence:
- Definition/Background
- Main characteristics
- Implementation details
- Advantages/Disadvantages
4. Format requirements:
- Use markdown formatting
- Keep bullet points simple (no nesting)
- Bold important terms using **term**
- Use tables for comparisons
- Include relevant technical details
Please provide a clear, structured summary that captures the core concepts while maintaining technical accuracy.
Here is the text: {{ $json.data.transcript.text }} }}
"""
3. Then it just returns the JSON response
I hope this was useful ;)