Fivefold / linkding-injector

Injects search results from the linkding bookmark service into search pages like google and duckduckgo
MIT License
223 stars 9 forks source link

More robust SearXNG support (themes and URL patterns) #27

Open emanuelegori opened 7 months ago

emanuelegori commented 7 months ago

searx.be respects the recommended syntax

ex: https://searx.be/search?q=Self-hosted+start+page+alternatives

any suggestions ?

Fivefold commented 7 months ago

Hey @emanuelegori, please make sure you are using the "simple" theme. You can check in the preferences of searx, found in the top right corner of the page:

image

Other themes than the "simple" theme are unfortunately not supported at the moment and may or may not work.

Does this solve your issue (at least with the "simple" theme)?

emanuelegori commented 6 months ago

yes, even if some instances, even if configured as you suggested, still don't work.

ex.: https://searxng.devol.it/ it does not work https://priv.au work this works

I support your work. Thank you

Fivefold commented 6 months ago

Thank you, I see the issue. The devol.it instance does not follow the required URL pattern and thus the injection script is not inserted. I might be able to make this more robust in the future to handle more variants of SearX, but due to my current workload it's not a priority.

For the time being please use other SearX instances or consider hosting your own.