{
  "name": "scorpiox-metasearch-server-webui",
  "version": "1.1.2",
  "description": "Browser UI + SearXNG JSON API for Personal Search, native C CGI handlers for scorpiox-server.dll",
  "engine": "scorpiox-metasearch",
  "platforms": [
    "linux-x64",
    "win-x64"
  ],
  "deploy": "Point scorpiox-server root_dir at the extracted directory. This is the build you deploy — it contains both the HTML UI and the protocol handlers (?format=json).",
  "routes": [
    {
      "name": "index",
      "route": "/",
      "method": "GET",
      "output": "text/html; charset=utf-8",
      "description": "Google-style homepage: centered search box with autofocus and live autocomplete, category pills, OpenSearch autodiscovery, bot-family light/dark toggle and ?embed=1 modal mode"
    },
    {
      "name": "search",
      "route": "/search",
      "method": "GET",
      "params": ["q", "category", "page", "format"],
      "output": "text/html or application/json",
      "description": "Parallel multi-engine results with snippet highlighting, engine badges, XSS-safe hrefs, Previous/Next pager. ?format=json returns the SearXNG schema (query, number_of_results, page, results[], answers, corrections, infoboxes, suggestions)"
    },
    {
      "name": "preferences",
      "route": "/preferences",
      "method": "GET or POST",
      "params": ["format"],
      "output": "text/html or application/json",
      "description": "Per-browser preferences in the sx_search_prefs cookie: engine toggles (engine_<name>), dedup mode, SafeSearch. POST persists and the values are applied to every query"
    },
    {
      "name": "status",
      "route": "/status",
      "method": "GET",
      "params": ["format"],
      "output": "text/html or application/json",
      "description": "Live engine health dashboard: per-engine health (working/empty/blocked/error/disabled/idle), tier, latency_ms, last_count, last_error, real cache entries and TTL"
    },
    {
      "name": "opensearch",
      "route": "/opensearch.xml",
      "method": "GET",
      "output": "application/opensearchdescription+xml; charset=utf-8",
      "description": "OpenSearch 1.1 autodiscovery manifest (also embedded in _fallback, since scorpiox-server cannot route a name containing a dot)"
    },
    {
      "name": "autocompleter",
      "route": "/autocompleter",
      "method": "GET",
      "params": ["q"],
      "output": "application/json; charset=utf-8",
      "description": "OpenSearch suggestion array [\"query\",[s1,s2,...]] from the MediaWiki API; consumed by the search box dropdown"
    },
    {
      "name": "_fallback",
      "route": "/*",
      "method": "ANY",
      "output": "text/html or application/json",
      "description": "404 page (HTML or JSON) and the opensearch.xml embed"
    }
  ],
  "verification": {
    "webui_route_checks": 31,
    "webui_route_failures": 0,
    "console_repo": "scorpiox-metasearch-server-native.console",
    "console_checks": 39,
    "console_failures": 0,
    "status": "PASS"
  }
}
