Engine Request "kiwix"
Working URL to the engine
I can't provide a online api cause the whole use case for kiwix is to provide offline access to wikis
Why do you want to add this engine?
searxng has implemented alot of the wikimedia wiki endpoints already. the kiwix suite enables those data to be offline ( or in a secure environment ) i use kiwix-serve with a huge library of offline content
> ls -l /mnt/data/zim/*.zim | wc -l
219https://github.com/kiwix/kiwix-tools
Features of this engine
provide a offline search for a offline hosted copy of different wiki's
How can SearXNG fetch results from this engine?
https://wiki.kiwix.org/wiki/OPDS https://kiwix-tools.readthedocs.io/en/latest/kiwix-serve.html#http-api
Applicable category of this engine
maybe wiki
Additional context
currently i can handle this by basically adding every single wiki
here is an example:
- name : kiwixgo
engine : xpath
shortcut: kiwixgo
paging : True
categories: [wikis]
page_size: 25
first_page_num: 0
enable_http: True
search_url : http://*************.fritz.box:9090/search?books.name=devdocs_en_go_2026-01&start={pageno}&pageLength=25&pattern={query}
results_xpath: '//div[@class="results"]/ul/li'
title_xpath: './a/text()'
url_xpath: './a/@href'
content_xpath: './cite/text()'
request_timeout: 6.0
weight: 10
but this is not clever as you can imagine you create burst load if wanna search all wikis and the server is responding much slower.
it would make more sense to have a engine which first parse the list of wikis and than after each other requests if the keywords are find in the wikis
Code of Conduct
- I read the AI Policy and hereby confirm that this issue conforms with the policy.
Source: searxng/searxng