Google Search

Search Google with autosuggestions and history management

LLA Google Search Plugin

Google search plugin for lla with live autosuggestions, history management, and clipboard fallback.

Features

  • Live Autocomplete: Real-time search suggestions from Google API with loading states
  • Smart Search: Multiple input options (live suggestions, history, clipboard)
  • History Management: Persistent search history with statistics and analytics
  • Interactive Interface: Rich TUI with visual feedback

Configuration

Configuration file location: ~/.config/lla/plugins/google_search/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"

Usage

lla plugin --name google_search --action search

This will:

  1. Prompt you to choose input method:
    • Enter new search query (with live Google suggestions)
    • Search from history
    • Search clipboard content
  2. Fetch live suggestions as you type
  3. Open the search in your default browser
  4. Save the query to history

Manage search history

lla plugin --name google_search --action history

Options:

  • Search selected entry
  • Copy queries to clipboard
  • Delete selected entries
  • Clear all history
  • Show search statistics

Configure preferences

lla plugin --name google_search --action preferences

Adjust settings:

  • Toggle search history
  • Toggle clipboard fallback
  • Set max history size

Display help

lla plugin --name google_search --action help

Display Examples

Live Autocomplete

💡 Enter a search query to see live Google suggestions
Search query: rust programming
 
🔄 Fetching suggestions from YouTube...
 Loading suggestions...
 
 10 suggestions found:
Select a search query
> 🔍 rust programming (your input)
  💡 rust programming tutorial
  💡 rust programming language
  💡 rust programming for beginners
  💡 rust programming projects
  ...

History Statistics

📊 Search History Statistics:
──────────────────────────────────────────────────
 Total searches: 25
 Unique queries: 18
 Oldest search: 2025-10-15 09:30:00
 Most recent: 2025-10-20 14:30:45
 
🔥 Top 5 searches:
 rust programming tutorial (5x)
 golang best practices (3x)
 python async await (2x)

Actions

  • search - Perform a Google search with suggestions
  • history - Manage search history
  • preferences - Configure plugin preferences
  • help - Show help information