rxliuli / joplin-utils

Joplin-based community tool
https://joplin-utils.rxliuli.com/
MIT License
235 stars 36 forks source link

[Feat]: add searx for supported search engine #68

Closed sabinich closed 1 year ago

sabinich commented 1 year ago

app

joplin-search-integration-plugin

Is your feature request related to a problem? Please describe.

no

Describe the solution you'd like

hello, @rxliuli! Your plugin for Joplin, which helps integrate search request is amazing! I've wait it for a long time! Can you add self-hosted meta-search system search for Joplin Search Integration?

Describe alternatives you've considered

no

Additional context

No response

rxliuli commented 1 year ago

Well, you brought up a topic I'm interested in, but I don't use the joplin server, not sure if it exposes a public search api, or it's just used inside joplin, so it's not listed on the joplin website.

rxliuli commented 1 year ago

It seems impossible to connect directly to the joplin server, ref: https://discourse.joplinapp.org/t/19374/9 But maybe you can run a joplin cli client on the remote side, then expose its joplin clipper service port to the public network, and finally connect to this client

sabinich commented 1 year ago

@rxliuli Hello. You are wrong. I said about searx, not about Joplin server.

rxliuli commented 1 year ago

@rxliuli Hello. You are wrong. I said about searx, not about Joplin server.

Yes, I read it wrong, I will look at how to integrate and expose settings to users urls: https://searx.space/

rxliuli commented 1 year ago

Added a Pre Release, can you try it? @sabinich

ref: https://github.com/rxliuli/joplin-utils/releases/tag/joplin-search-integration%400.3.0

sabinich commented 1 year ago

@rxliuli Hello! I checked this. But seems like, that it works only with https://searx.tiekoetter.com/. I tried on other public instances, but it not work. Also on my private instance it not work too,

rxliuli commented 1 year ago

@rxliuli Hello! I checked this. But seems like, that it works only with https://searx.tiekoetter.com/. I tried on other public instances, but it not work. Also on my private instance it not work too,

Are there any non-working instances that are publicly accessible?

rxliuli commented 1 year ago

I checked and it seems that some searx searches are not putting the query parameter on the url parameter, I made some fixes, can you try again? image

chrome.zip firefox.zip

sabinich commented 1 year ago

I've found few searx-instances, which not worked with firefox extenstion:

But some first from list—works well.

rxliuli commented 1 year ago

I'm sure already supports https://s.frlt.one/, Both chrome and firefox are image

Did you not configure SearxUrls? image

rxliuli commented 1 year ago

I just released 0.3.2, it will now try to auto-discover the searx search engine, no more configuration, ref: https://github.com/rxliuli/joplin-utils/releases/tag/joplin-search-integration%400.3.2

sabinich commented 1 year ago

Now everything is fine! Thanks, @rxliuli !

rxliuli commented 1 year ago

Now everything is fine! Thanks, @rxliuli !

ok, I'll post a chrome/firefox extension later