tabliss icon indicating copy to clipboard operation
tabliss copied to clipboard

[Request] Allow the search widget to use custom search engines (e.g. searx)

Open lbarnett83 opened this issue 4 years ago • 17 comments

lbarnett83 avatar Feb 19 '21 17:02 lbarnett83

I'll contribute to this issue!

nazibalalam avatar Mar 17 '21 13:03 nazibalalam

Hey! Just added the search engine and created a pull request... But I didn't use searx.me because that doesn't work on many regions and is often hacked. So I used searx.laquadrature.net instead.

nazibalalam avatar Mar 19 '21 03:03 nazibalalam

So that's sweet, but my initial idea, and I didn't communicate it well, was that instead of a hardcoded URL, allow a user to also customize the searx url. I self host my searx instance, and would love to use https://search.mydomain.com

lbarnett83 avatar Mar 19 '21 04:03 lbarnett83

So that's sweet, but my initial idea, and I didn't communicate it well, was that instead of a hardcoded URL, allow a user to also customize the searx url. I self host my searx instance, and would love to use https://search.mydomain.com

Well, my only recommendation would be to build it yourself... Just replace the url I pushed with your own one...

nazibalalam avatar Mar 19 '21 13:03 nazibalalam

Anyway, do you want to share that domain of yours? If you can, then I'll put that domain there instead...

nazibalalam avatar Mar 19 '21 15:03 nazibalalam

Sort of on topic, but, how does one build a custom copy of this extension?

I have the source, installed the deps, run the npm commands, but am unsure of how to package into XPI.

lbarnett83 avatar Mar 22 '21 02:03 lbarnett83

Chrome or Firefox?

nazibalalam avatar Mar 22 '21 04:03 nazibalalam

Firefox variation (LibreWolf)

lbarnett83 avatar Mar 22 '21 04:03 lbarnett83

ran npm run build:firefox but unsure of next steps, never really messed with npm.

lbarnett83 avatar Mar 22 '21 04:03 lbarnett83

https://search.nerdcraft.ca

lbarnett83 avatar Mar 22 '21 04:03 lbarnett83

I've already customized my source code, but don't know how to build the new one into an extension

lbarnett83 avatar Mar 22 '21 04:03 lbarnett83

I can put this domain on the repo if you want...

nazibalalam avatar Mar 22 '21 04:03 nazibalalam

The issue with that is, that's my personal one, which means if my server ever goes down, that search engine goes with it, which will be happening tomorrow for overhaul/maintenance.

lbarnett83 avatar Mar 22 '21 05:03 lbarnett83

Maybe I'll learn enough of how this is built to make it do what I want and submit a PR for it.

lbarnett83 avatar Mar 22 '21 05:03 lbarnett83

My thought was an option in the list for Custom which, when selected, allows the user to input their own address to act as the search engine.

lbarnett83 avatar Mar 22 '21 05:03 lbarnett83

okay

My thought was an option in the list for Custom which, when selected, allows the user to input their own address to act as the search engine.

Okay, I'll try to see about that...

nazibalalam avatar Mar 22 '21 05:03 nazibalalam

Waiting for the "custom" features which allows user to add new search engines on it's own "customizable" Thanks

Albonycal avatar Jun 07 '21 13:06 Albonycal