mirror of
https://github.com/open-webui/docs.git
synced 2026-07-19 14:43:33 -04: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:
- Create or open the
open-webui-docs-searchWorker. - Connect this GitHub repository under Settings > Builds.
- Set the Worker root directory to
workers/docs-search. - Use the production branch
main. - Leave the build command empty, or use
echo readyif Cloudflare requires one. - Use
npx wrangler@4 deploy --config wrangler.tomlas the deploy command. - 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.