garywill / BigSearch

Browser extension. Definitly more than a GET/POST sender. Handily use search engines via a Flexible Tool! UI has Vimium-like feature 🌐🔍 (Pure-client. No 3rd-party server needed) 大术专搜 既专又广 手敲几下 纵横去往
GNU Affero General Public License v3.0
196 stars 14 forks source link

Search multiple engines at once #3

Open harryray33 opened 2 years ago

harryray33 commented 2 years ago

Is it possible to set this so that I can choose and search multiple engines at once rather than having to click search for each engine separately?

Thanks

garywill commented 2 years ago

Hi, thank you for feedback!

Good idea to send multiple requests at once!

I think in future version we can implement it by user custom JSON. Something like:

"multi" : {
    "use_other_engine" : ["google", "duckduckgo" ]
}

What do you think? Any better idea?

harryray33 commented 2 years ago

Thanks, maybe a series of checkboxes on the interface to choose which engines to use each time...I mainly use the in-browser section

harryray33 commented 2 years ago

This is a link to one that uses a multisearch option https://github.com/odebroqueville/contextSearch

Unfortunately, although the multisearch is a good option, contextsearch includes only a very limited amount of engines and doesn't allow for the import of my existing engines which yours does.

garywill commented 2 years ago

Sorry for delay. Now the latest version on AMO supports multiple engines at once.

Eg: put this into 'user custom'

{
  "many_once" : {
    "dname": "Many Engines",
    "btns": {
      "gg_ddg": {
        "label": "Google + DDG",
        "use_other_engine": [
            {"source": "browser", "engine": "Google"},
            {"source": "browser", "engine": "DuckDuckGo"}
          ]
      }
    }
  }
}

The source can be bigsearch(default), browser, user.

I mainly use the in-browser section

So "source": "browser" is what you need.

Sorry currently no GUI method to configure. Maybe someday we finish a GUI for user to edit engines....

harryray33 commented 2 years ago

Thanks, I see that Google and DDG is included. Is there an easy way of including my other Engines?

When I use the in browser section, if I hold down control and click different browsers it highlights (puts a box around) each engine. Can I then use one click to search all the highlighted engines? If not, what is the purpose of the box?

garywill commented 2 years ago

what is the purpose of the box?

The "box" indicates which button you clicked last time. So next time you can press Enter to quickly use it again.

Is there an easy way of including my other Engines?

Sorry. Currently our user-customizing GUI is still in heavy constructing stage. It may be too geeky to ask people to use JSON. Let's bless for the future GUI, lol :-D

harryray33 commented 2 years ago

Thanks, I suppose, at the moment I'll have to click each engine one at a time...

I have quite a few engines..isthere a way of grouping them together or maybe moving engines up and down the list so that they appear together? This is to save me scrolling down the list to find which engines I want to search each time.

Also, is there a way of exporting the settings and engine list to a config. file that I can import in case of any problems?

garywill commented 2 years ago

is there a way of exporting the settings and engine list to a config. file that I can import in case of any problems?

This works.

garywill commented 2 years ago

Check the new editing GUI. Now can easily add new engine Add build-in engines as "fav". Dragging sorting is available also.

Still, not 100% friendly for all users. "expert mode" engine doesn't have proper GUI yet.