llm-local-web-search Firefox

Examine source code of llm-local-web-search

By: tbocek Add-on
Inspect and view changes in llm-local-web-search source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "llm-local-web-search",
  "version": "6",
  "description": "Firefox extension that adds client-side web search for local LLMs. Intercepts OpenAI-compatible API calls, injects a client_web_search tool call, and fetches results directly in your browser. See what is going on, solve captchas yourself, bypass server-side fetch errors, works offline with llama.cpp",
  "permissions": [
    "http://*/*",
    "https://*/*",
    "storage",
    "tabs"
  ],
  "browser_action": {
    "default_icon": "icon.svg",
    "default_title": "LLM Search"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://duckduckgo.com/*"
      ],
      "js": [
        "duckduckgo.js"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "config.js",
        "Readability.js",
        "extractor.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    "injected.js",
    "tools.json",
    "sidebar.html"
  ],
  "background": {
    "scripts": [
      "config.js",
      "background.js"
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "llm-search@local",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "sidebar_action": {
    "default_title": "LLM Search",
    "default_panel": "sidebar.html",
    "default_icon": "icon.svg"
  },
  "incognito": "spanning"
}

Best llm-local-web-search Alternatives

Here are some Firefox add-ons that are similar to llm-local-web-search: