Ahwxorg / LibreY

Framework and JS free privacy respecting meta search engine
GNU Affero General Public License v3.0
197 stars 27 forks source link

Multiples questions #187

Closed caywin25 closed 3 weeks ago

caywin25 commented 1 month ago

Hello and thank you for your work.

I will have some questions please. Is it possible to add LibreY as default search engine in firefox? I tried but it doesn't seem to work.

Also, is it possible to be able to do searches according to the language entered: example => :fr search or :en search?

Thanks for your answers

Ahwxorg commented 1 month ago

Is it possible to add LibreY as default search engine in firefox?

Yes, just right click the URL bar and click the button, shown in screenshot below; image

Also, is it possible to be able to do searches according to the language entered: example => :fr search or :en search?

Currently not, you can use a lot of DDG bangs though, i.e. !d hello till take you to https://www.thefreedictionary.com/hello

caywin25 commented 1 month ago

If I do your method to add LibreY as a search engine in Firefox I get this error: Firefox could not download the search plugin from: https://search_url.com/opensearch.xml?method=POST

Thanks for the bangs. Are there any "internal to libreY" bangs that would allow searching by doing for example: !images and that would go directly to the image section of LibreY?

Thanks

Ahwxorg commented 1 month ago

If I do your method to add LibreY as a search engine in Firefox I get this error: Firefox could not download the search plugin from: https://search_url.com/opensearch.xml?method=POST

Could this be something like #128?

Thanks for the bangs. Are there any "internal to libreY" bangs that would allow searching by doing for example: !images and that would go directly to the image section of LibreY?

They do not exist I believe, but should be easy to add. Take a look at https://github.com/Ahwxorg/LibreY/blob/main/static/misc/ddg_bang.json

caywin25 commented 1 month ago

Could his be something like https://github.com/Ahwxorg/LibreY/issues/128?

Yes exactly

They do not exist I believe, but should be easy to add. Take a look at https://github.com/Ahwxorg/LibreY/blob/main/static/misc/ddg_bang.json

Thank you

caywin25 commented 1 month ago

Could his be something like https://github.com/Ahwxorg/LibreY/issues/128?

I tried to follow the steps as said in #128 but I didn't succeed Could you help me please? Thanks

Ahwxorg commented 1 month ago

I really dont know what issue you are having, since I can't reproduce it.

PardesiCat commented 1 month ago

Hi am not sure but this maybe reason

in your main instance https://search.ahwx.org/opensearch.xml

insead of instance url its showing localhost ip

but in your other instance https://search2.ahwx.org/opensearch.xml https://search3.ahwx.org/opensearch.xml

url set to "https://search.ahwx.org/opensearch.xml?method=GET"

image

Ahwxorg commented 1 month ago

That's true, and weird, I'll look into that.

Ahwxorg commented 1 month ago

Fixed, for everyone on Docker, you can use the environment variable OPEN_SEARCH_HOST (or map opensearch.xml to /var/www/html/opensearch.xml).

caywin25 commented 3 weeks ago

Hello

My initial issue is solved. I think we can close this issue :) Thanks