browser-search
browser-search copied to clipboard
Document required SearXNG settings (JSON format, use_default_settings) and hint on HTTP 403
A default SearXNG install (official Docker setup) has JSON output disabled (search.formats: [html]). The skill's scripts need JSON, so a new user gets HTTP 403 from searxng.mjs and nothing in the docs explains why.
Changes
- README (and all 11 translations): new "SearXNG configuration (required)" section with a minimal
settings.yml(use_default_settings: true,search.formats: [html, json],limiter: false, secret key).use_default_settingskeeps engines and defaults aligned with upstream on every SearXNG update, instead of a full copy of the defaults that goes stale (removed engines then log errors at startup and new engines never arrive). It also notes that Valkey/Redis is not needed (only used by the limiter) and thatSEARXNG_URLcan point to another address. searxng.mjs: an HTTP 403 now explains that JSON output is probably disabled and how to enable it; error bodies are truncated to 500 characters instead of dumping a whole HTML page; a non-JSON or truncated response is reported as a JSON error instead of crashing.check.sh: warns when SearXNG answers 403 onformat=json, instead of the generic "API not responding".
Related to #31.
Released in v3.2.0.