YouTube
Search YouTube with autosuggestions and clipboard support
LLA YouTube Plugin
YouTube search plugin for lla with live autosuggestions, history management, and clipboard support.
Features
- Live Autocomplete: Real-time search suggestions from YouTube API as you type
- Loading States: Visual spinner while fetching suggestions
- Smart Search: Multiple input options (live suggestions, history, clipboard)
- Search Selected Text: Instantly search using text from clipboard
- History Management: Persistent search history with statistics
Configuration
Configuration file location: ~/.config/lla/plugins/youtube/config.toml
remember_search_history = true
use_clipboard_fallback = true
max_history_size = 100
[colors]
success = "bright_green"
info = "bright_cyan"
warning = "bright_yellow"
error = "bright_red"
prompt = "bright_blue"
link = "bright_magenta"
Usage
Perform a YouTube search
lla plugin --name youtube --action search
This will:
- Prompt you to choose input method:
- Enter new search query (with live YouTube suggestions)
- Search from history
- Search clipboard content
- Fetch live suggestions as you type
- Open the search in your default browser
- Save the query to history
Search with selected text
lla plugin --name youtube --action search-selected
Automatically searches YouTube using the text currently in your clipboard.
Manage search history
lla plugin --name youtube --action history
Options:
- Search selected entry
- Copy queries to clipboard
- Delete selected entries
- Clear all history
- Show search statistics
Configure preferences
lla plugin --name youtube --action preferences
Adjust settings:
- Toggle search history
- Toggle clipboard fallback
- Set max history size
Display help
lla plugin --name youtube --action help
Display Examples
Live Autocomplete
💡 Enter a search query to see live YouTube suggestions
Search query: rust tutorial
🔄 Fetching suggestions from YouTube...
â ‹ Loading suggestions...
✨ 10 suggestions found:
Select a search query
> 🎬 rust tutorial (your input)
💡 rust tutorial for beginners
💡 rust tutorial 2025
💡 rust tutorial game
💡 rust tutorial programming
...
History Statistics
📊 Search History Statistics:
──────────────────────────────────────────────────
• Total searches: 42
• Unique queries: 28
• Oldest search: 2025-10-15 09:30:00
• Most recent: 2025-10-20 16:15:30
🔥 Top 5 searches:
• rust tutorial (8x)
• golang explained (5x)
• docker basics (3x)
Actions
search
- Perform a YouTube search with suggestionssearch-selected
- Search YouTube with selected/clipboard texthistory
- Manage search historypreferences
- Configure plugin preferenceshelp
- Show help information