YouTube Video Summarizer

approved

by mbramani

Summarize YouTube videos using Gemini AI. Extract transcripts, generate summaries, and create structured notes.

β˜… 37 stars↓ 6,246 downloadsUpdated 2mo agoMIT
View on GitHub

YouTube Video Summarizer for Obsidian

Generate AI-powered summaries of YouTube videos directly in Obsidian using Google's Gemini AI.

Demo

Demo

Features

  • πŸŽ₯ Extract transcripts from YouTube videos
  • πŸ€– Generate summaries using various LLMs: Gemini, OpenAI, Anthropic (Claude), and other compatible models
  • πŸ“ Create structured notes with key points
  • πŸ” Identify and explain technical terms
  • πŸ“Š Format summaries with metadata and tags

Installation

  1. Open Obsidian Settings
  2. Go to Community Plugins and disable Safe Mode
  3. Click Browse and search for "YouTube Video Summarizer"
  4. Install and enable the plugin

Requirements

  • Obsidian v0.15.0+
  • API key for one of the supported LLM providers:

Configuration

Initial Setup

To start using the YouTube Video Summarizer plugin, you need to:

  1. Navigate to the plugin settings by clicking on the Settings icon in Obsidian and finding "YouTube Video Summarizer" in the Community plugins section.
  2. In the "AI Providers" tab, select an AI provider (Gemini, OpenAI, Anthropic, etc.) by expanding its section.
  3. Enter your API key for the selected provider.
  4. Choose an active model from the dropdown at the top of the settings page.

Once these steps are completed, the plugin is ready to generate summaries of YouTube videos.

Managing AI Models

Each AI provider comes with pre-configured models, but you can add, edit, or remove models based on your needs.

You can add a new model by clicking the "Add Model" button within a provider section. You'll need to specify the model name (technical name used by the API) and optionally a display name. For editing models, only the display name can be modified as the model name is the technical identifier used by the API.

Note for OpenAI users: Make sure that both default and custom models you use are available in your OpenAI project. You can verify model availability in your OpenAI dashboard.

Adding Custom AI Providers

The plugin supports adding custom AI providers that are compatible with OpenAI or Anthropic APIs. This is useful for services like OpenRouter, Grok, or self-hosted models.

To add a custom provider, click the "Add Provider" button at the bottom of the AI Providers tab. You'll need to specify a name for your provider, select the API compatibility type, enter your API key, and optionally set a custom API endpoint URL.

Examples of compatible providers:

  • OpenRouter has been tested with this plugin using the endpoint URL: https://openrouter.ai/api/v1. You can find your API keys at OpenRouter Settings and explore available models on their website.
  • Grok has been tested using the endpoint URL: https://api.x.ai/v1. API keys and model names can be found in the Grok console.
  • Any other provider with compatible API endpoints can also be added

Custom providers can be edited or removed using the respective icons next to their names.

Selecting the Active Model

At the top of the settings page, you can select which model will be used for generating summaries from the "Active Model" dropdown. This dropdown shows all available models from all configured providers.

After selecting a model, it will be used for all summary operations until you change it again.

Summary Settings

The Summary Settings tab provides several options for customizing how your video summaries are generated:

Summary Prompt: Allows you to customize the instructions sent to the AI model. This is useful if you need specialized summary formats or want to focus on specific aspects of videos.

Maximum Number of Tokens: You can safely increase this value depending on your provider:

  • For Gemini and Anthropic: Up to 8,000 tokens
  • For OpenAI: Up to 16,000 tokens with gpt-4o-mini or up to 32,000 tokens with GPT-4.1 models

Temperature: Adjust this value to control how deterministic or creative your summaries will be. Lower values (closer to 0) produce more consistent and focused summaries, while higher values introduce more creativity and variation.

Usage

Method 1: Command Palette

  1. Copy YouTube URL
  2. Open command palette (Ctrl/Cmd + P)
  3. Search for "Summarize YouTube Video"
  4. Paste URL when prompted

Method 2: Selection

  1. Paste YouTube URL in note
  2. Select the URL
  3. Use command palette or context menu to summarize

Output Format

# Video Title

[Video thumbnail]

## Summary

[AI-generated summary]

## Key Points

-   Point 1
-   Point 2

## Technical Terms

-   Term 1: Definition
-   Term 2: Definition

## Conclusion

[Summary conclusion]

License

License: MIT

This project is licensed under the MIT License - see the LICENSE file for details.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.