Joplin-search-integration release 0.2.0

Recently chrome extension was promoting manifest v3, so I took this opportunity to refactor the joplin-search-integration chrome extension, almost completely rewriting it. It has been submitted to the chrome store for review. It may take a while for the store to be officially launched, but you can install the zip version yourself to try it out. ref: https://github.com/rxliuli/joplin-utils/releases/tag/joplin-search-integration%400.2.0

Get uBlock Origin for Chromium Get uBlock Origin for Firefox Joplin Search Integration - Show Joplin notes in web search results | Product Hunt

If you don't know what it is, here is an introduction (strange, this plugin was written before and didn't post a separate post in the forum)

It displays joplin notes in the search results, currently supports google/bing/baidu, if you want to support other search engines, you can submit issue/pr.

image
image
image
image
image

Changelog

  • Refactored to support chrome extension manifest v3
  • The react framework and surrounding dependencies are no longer used, which greatly reduces the bundle size, 1086kb => 110kb
  • Support switching between light and dark themes
  • Support opening notes in joplin

FAQ

What does token/port refer to and where can I find it?

You can usually see it in Tools > Options > Web Clipper

joplin web clipper

Contribute

If you want to add new search engine support, you can raise an issue, or fork it
and then modify it to mention PR (very simple)

  1. in manifest.json add the url of matching search engine
  2. implement BaseSearchEngineAdapter interface
8 Likes

Hi rxliuli
It seem a very good tool. Are you considering to extend this extension for Firefox? And DuckDuckGo search engines? Thanks for this and your others very useful tools for integrating to Joplin app.

1 Like

Are you considering to extend this extension for Firefox?

Currently this requirement is blocked, because chrome will not support manifest v2 soon, and firefox has not yet supported manifest v3, so it will be a bit troublesome

And DuckDuckGo search engines?

This is indeed a good suggestion

Release 0.2.1, support duckduckgo

ref: Release joplin-search-integration@0.2.1 · rxliuli/joplin-utils · GitHub

4 Likes

Ok, after a bit of fiddling, I got the basic firefox extension built, but still need to wait for the official firefox review @Eduardo



If yes, can you help me to test if it can be installed from firefox extension store? If not, is it possible to download the zip file and try to install it in debug mode

firefox store: https://addons.mozilla.org/zh-CN/firefox/addon/joplin-search-integration/
github release: Release joplin-search-integration@0.2.2 · rxliuli/joplin-utils · GitHub

6 Likes

Awesome. Thanks a lot!!!!!!.
Sure, I can test it.
Unfortunately, I cannot download add-on directly from Firefox store, not sure if there is no available, or I could find the link to download it, all the page shows appear in Chinese. Then I entered the Firefox store in English, and there is not any add on under Joplin and integration term (only the Joplin web clipper, or MemoInjo add-on showing).
Going to test it using a zip file provided by you, I am not sure if this is not working, or I did not know how to test it.
Although I could install it after changing to debug mode, I could not configure the token, because I could not find the place to include it in Firefox after clicking OK in the below screenshot.


so I could not test it completely

Unfortunately, I cannot download add-on directly from Firefox store, not sure if there is no available, or I could find the link to download it, all the page shows appear in Chinese. Then I entered the Firefox store in English, and there is not any add on under Joplin and integration term (only the Joplin web clipper, or MemoInjo add-on showing).

Yes, it's currently not searchable as it hasn't finished reviewing, which can be very slow due to firefox's requirement to have to upload source code files.

Although I could install it after changing to debug mode, I could not configure the token, because I could not find the place to include it in Firefox after clicking OK in the below screenshot.

I can see the settings option in the plugin's popup window, maybe I should turn it on automatically.
image

Right, Sorry, I have made focus on Firefox debug panel looking for the way to enter it, and I was not aware I have two Joplin icon in plugin popup window one belongs to Joplin web clipper and second one to your plugin.

Screenshot from 2022-12-31 09-53-32

maybe I should turn it on automatically.

Or include a different color or icon to differentiate with the Joplin web clipper.

Anyway, the search integration plugin working perfect. Thanks for including it to use. In some cases it is very useful to avoid searching again the same topic, when we had already done some time ago.

firefox extension has been reviewed, ref: https://addons.mozilla.org/zh-CN/firefox/addon/joplin-search-integration/

Also, happy new year 2023 ヾ(≧▽≦*)o

1 Like

Hi, thanks, I have already added permanently in Firefox.
Happy new year to you as well!!!!!

Note: in next update plugin release, you should add Dusckduckgo, as currently search engine supported list.

Strange, I should have supported duckduckgo

@rxliuli Thanks for the great extension! Really like this idea. It doesn't seem to be working for me though. I'm on Firefox (Linux), using version 0.2.3. I put the token in the settings but none of my notes show up when searching on Duckduckgo/Google.

Can you check the console for any errors? Also copy your search url if you can

I tried to write that is supported but does not it include in search engine supported list in Firefox store plugin note.

Oh, you mean the instructions, I'll fix it in the next update.

chrome extension has been reviewed

1 Like

@rxliuli I've test in both Firefox and in Chrome and the extension doesn't work on either of them.

For example I created a "pineapple" note and searched for "pineapple" in DDG/Google.

I get this in Firefox:

I get this in chrome:

Also I noticed that there is a dark/light theme option in the extension but it doesn't seem to do anything both on Firefox and Chrome.

This looks like a network error, can you try to access the following two links in your browser to confirm that you can really connect to joplin?

http://127.0.0.1:41184/ping # Make sure the joplin clipper service is enabled
http://127.0.0.1:41184/search?query=pineapple&token=* # Confirm that the content can be searched

I get this in chrome:

This is my fault, the one in the chrome store is 0.2.0, it doesn't contain the search engine yet, I have uploaded 0.2.3, maybe you can try google serach first.

Release 0.2.4

  • Support proper options page instead of putting it in popup
  • Support to automatically jump to the option page when no option is configured

Snipaste_2023-01-03_09-01-56

github release: Release joplin-search-integration@0.2.4 · rxliuli/joplin-utils · GitHub
firefox ref: Joplin Search Integration – Get this Extension for 🦊 Firefox (en-US)
chrome ref: Joplin Search Integration - Chrome Web Store

4 Likes

Hi I have checked again using new add-on version 0.2.4 running Firefox 108.0.1 and DuckDuckGo search engine under Linux Ubuntu 22.04 and this plugin works properly without any issue and as I expected. And as you have mentioned, I was aware Joplin Icon on popup disappear, and I can see it keeping the token set up under add-on "preference" tab.

1 Like