Examine source code of Cerebr

Inspect and view changes in Cerebr source codes across current and past versions
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "manifest_version": 3,
  "name": "Cerebr",
  "version": "2.3.24",
  "description": "Cerebr - 智能AI聊天助手",
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  },
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "permissions": [
    "storage",
    "commands",
    "scripting",
    "activeTab",
    "tabs",
    "webRequest"
  ],
  "host_permissions": [
    "<all_urls>",
    "file:///*"
  ],
  "action": {
    "default_title": "打开 Cerebr 侧边栏",
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "commands": {
    "toggle_sidebar": {
      "suggested_key": {
        "default": "Alt+Z",
        "windows": "Alt+Z",
        "mac": "MacCtrl+Z"
      },
      "description": "打开/关闭 Cerebr 侧边栏"
    },
    "new_chat": {
      "suggested_key": {
        "default": "Alt+X",
        "windows": "Alt+X",
        "mac": "MacCtrl+X"
      },
      "description": "创建新的对话"
    }
  },
  "background": {
    "service_worker": "background.js",
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "lib/pdf.js",
        "content.js"
      ],
      "run_at": "document_start"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "index.html",
        "src/main.js",
        "styles/main.css",
        "htmd/marked.min.js",
        "htmd/highlight.min.js",
        "htmd/mathjax-config.js",
        "htmd/tex-chtml-full.js",
        "lib/pdf.js",
        "lib/pdf.worker.js",
        "htmd/mermaid.min.js",
        "htmd/mermaid-init.js",
        "htmd/fonts/woff-v2/MathJax_AMS-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Calligraphic-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Fraktur-Bold.woff",
        "htmd/fonts/woff-v2/MathJax_Fraktur-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Main-Bold.woff",
        "htmd/fonts/woff-v2/MathJax_Main-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Math-BoldItalic.woff",
        "htmd/fonts/woff-v2/MathJax_Math-Italic.woff",
        "htmd/fonts/woff-v2/MathJax_Size1-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Size2-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Size3-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Size4-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Typewriter-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Vector-Bold.woff",
        "htmd/fonts/woff-v2/MathJax_Vector-Regular.woff",
        "htmd/fonts/woff-v2/MathJax_Zero.woff",
        "statics/image.png"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}