Local Translate AI Firefox

Examine source code of Local Translate AI

Inspect and view changes in Local Translate AI source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Local Translate AI",
  "version": "1.6.0",
  "description": "Translate text using local LLM (llama.cpp with OpenAI-compatible API)",
  "author": "roflsunriz",
  "homepage_url": "https://github.com/roflsunriz/local-translate-ai",
  "browser_specific_settings": {
    "gecko": {
      "id": "ununiquiewebextension@gmail.com",
      "strict_min_version": "142.0",
      "data_collection_permissions": {
        "required": [
          "websiteContent"
        ],
        "optional": []
      }
    }
  },
  "permissions": [
    "activeTab",
    "storage",
    "contextMenus",
    "notifications",
    "<all_urls>"
  ],
  "icons": {
    "48": "icons/icon-48.svg",
    "96": "icons/icon-96.svg"
  },
  "browser_action": {
    "default_icon": {
      "48": "icons/icon-48.svg",
      "96": "icons/icon-96.svg"
    },
    "default_title": "Local Translate AI - 設定を開く"
  },
  "background": {
    "scripts": [
      "background.js"
    ],
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "content.css"
      ],
      "run_at": "document_idle"
    }
  ],
  "sidebar_action": {
    "default_title": "Local Translate AI",
    "default_panel": "src/sidebar/index.html",
    "default_icon": {
      "48": "icons/icon-48.svg",
      "96": "icons/icon-96.svg"
    }
  },
  "options_ui": {
    "page": "src/options/index.html",
    "open_in_tab": true
  },
  "commands": {
    "translate-selection": {
      "suggested_key": {
        "default": "Alt+W"
      },
      "description": "Translate selected text"
    },
    "toggle-sidebar": {
      "suggested_key": {
        "default": "Alt+Q"
      },
      "description": "Toggle sidebar"
    }
  },
  "content_security_policy": "script-src 'self'; object-src 'self'; connect-src https://localhost:* http://localhost:* https://*;"
}

Best Local Translate AI Alternatives

Here are some Firefox add-ons that are similar to Local Translate AI: