Files
Timothy Jaeryang Baek 1ec0ade0bd refac
2026-07-06 16:46:13 -05:00
..
2026-07-02 17:25:53 -05:00
2026-07-06 16:05:09 -05:00
2026-07-06 16:02:37 -05:00
2026-07-02 16:06:24 -05:00
2026-07-02 17:25:53 -05:00
2026-07-06 16:46:13 -05:00

Open WebUI Docs Search Worker

This Worker serves https://docs.openwebui.com/api/search?q=....

Do not route /search* to this Worker. Docusaurus uses /search-doc-*.json for the built-in search index.

Deploy it from the Cloudflare dashboard using Workers Builds:

  1. Create or open the open-webui-docs-search Worker.
  2. Connect this GitHub repository under Settings > Builds.
  3. Set the Worker root directory to workers/docs-search.
  4. Use the production branch main.
  5. Leave the build command empty, or use echo ready if Cloudflare requires one.
  6. Use npx wrangler@4 deploy --config wrangler.toml as the deploy command.
  7. Save and deploy.

No GitHub Cloudflare secrets are needed. The Worker fetches the static corpus from https://docs.openwebui.com/search-corpus.json, which is generated by the normal GitHub Pages docs build.