libredirect / browser_extension

A browser extension that redirects popular sites to alternative privacy friendly frontends
https://libredirect.github.io
GNU General Public License v3.0
3.11k stars 113 forks source link

Automatic management of enabled instances #933

Open mooreye opened 2 months ago

mooreye commented 2 months ago
  1. If an enabled instance is no longer on the selectable list, remove it.
  2. If a new selectable instance is added, enable it.
  3. Maybe also ping them beforehand and if unreachable, don't enable.

This could either happen automatically, for example once a week, or on a click of a button. Managing and checking enabled Searx instances by hand is very tedious.

IkelAtomig commented 1 month ago
  1. we have an issue there, what if it's a custom instance that's not on the list, maybe say we solve it by marking so when a user adds,But on the other hand we would be storing older instance list so as to remove them which would fill up disk space on the user's side.
  2. Feels like you want to enable everything that is just new.
  3. We can ping them, but it's up to the user to enable them or not. We don't decided for them, it is their decision.

I could see that, you want a list that is to be enabled which has the best instances like AI. No offense, just my foresight.

DDzwiedziu commented 1 month ago

Ad 2, then how a user is supposed to select instances? A new user is presented with a list of instances probably not knowing any of them. Ad 3, enable instances that are responding and have ping below 100/250/500/1000ms. If resources permit one could implement randomization based on negative weighting (the bigger the ping the lower the chances). No need for such a resource hog as AI to do this.

I'd also argue that switching between different frontends, if available, could be a possibility to get people acquainted with more of them.

IkelAtomig commented 1 month ago
  1. We do have default instance for every frontend to get started as of now.
  2. @ManeraKai Did we have this Ping and enable before. I remember that we did and removed being so buggy.
DDzwiedziu commented 1 month ago

Ad 2: I found some of the defaults not working. Just now, to ensure it's a problem, the default Binternet instance for Pinterest gives HTTP502 and Wikiless.org TLS cert is overdue and libredirect shows this as „Server not found”.

IkelAtomig commented 1 month ago

Would you mind sharing those defaults, we will shift them to those that have been in the long run for a while.

For binternet, We just added it but not fully supported. Maybe we need to tag it as such. Binternet develoeper doesn't follow the URL scheme of Pinterest, such that, we could replace the domain alone.

The URL schema is totally different and is linked to the source file of the pinterest. You could check issues both here and on the Binternet repo.

For Wikiless, it was scraped from a Internet archive page. We will change it too in next update.

DDzwiedziu commented 1 month ago

Quickly checking:

IkelAtomig commented 1 month ago

@DDzwiedziu - Thanks for the info, it has went off-topic, would you please open it as a separate issue as "Change of inactive default instances to reliable ones" and file it.