Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: clean up the instances #156

Open
tiotrom opened this issue Jan 11, 2021 · 5 comments
Open

Suggestion: clean up the instances #156

tiotrom opened this issue Jan 11, 2021 · 5 comments
Labels
enhancement 💪 New feature or request

Comments

@tiotrom
Copy link

tiotrom commented Jan 11, 2021

I love this plugin and we use it by default in our TROMjaro linux. I suggest a few clean-up ideas.

Try to only use "instances" for resilience and consistency.

I love when Twitter redirects to any random Nitter. All seem to look quite similar so I don't have to bother with that. I feels like a natural redirect. I have the same feeling with Invidious and Bibliogram. OpenStreetMap is the only one that is not an "instance", but it works differently so all is fine.

Reddit uses a few instances and other websites. I suggest using only the instances. Like libreddit. Works great and is consistent in terms of functionality and design.

As for search engines I suggest only leaving SearX, since there are so many instances of SearX and all work very well. They are based on the same principles of Bibliogram, Nitter, or Invidious.

Twitter to Nitter instances
Youtube to Invidious instances
Instagram to Bibliogram instances
Maps to OpenStreetMaps
Reddit to Libreddit/Teddit
Google to SearX
(I also suggest redirecting most search engines to SearX, not just google. Like yahoo, bung, duckduckgo, startpage, etc.)

This way there will be a consistency and resilience built into this addon.

And for the above, would be better to use their official lists of instances to pull them at random from, rather than adding them manually in the addon code itself.

Nitter instances list: https://github.com/zedeus/nitter/wiki/Instances
Bibliogram instances list: https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md
Invidious instances list: https://github.com/iv-org/documentation/blob/master/Invidious-Instances.md#list-of-public-invidious-instances-sorted-from-oldest-to-newest
Libreddit instances list: https://github.com/spikecodes/libreddit#instances
SearX instances list: https://searx.space/

@SimonBrazell SimonBrazell added the enhancement 💪 New feature or request label Jan 13, 2021
@miku86
Copy link

miku86 commented Jan 13, 2021

And for the above, would be better to use their official lists of instances to pull them at random from, rather than adding them manually in the addon code itself.

This is what I thought about too. This would remove the manual labor of keeping the lists up-to-date in the extension. E.g. Invidious Instances has a simple API.

We could also add a fallback, e.g. from the web archive.

Let us know if you are open for PRs.

@Mennaruuk
Copy link

Mennaruuk commented Feb 1, 2021

Awesome idea!! It’d save so much time tinkering around instances as uptimes change. Configuration settings would be a challenge, though, so I’d have to go to most of these instances and “sync” my settings. Otherwise, a wonderful suggestion, and I think it’d save Mr. Brazell and other developers the headache of constantly removing and adding new instances.

@SimonBrazell
Copy link
Owner

Let us know if you are open for PRs.

Certainly! I'm limiting the amount of time I spend on this project lately as my other paid work is piling up and deadlines are looming... so any help would be much appreciated!

@zdm505
Copy link

zdm505 commented Apr 18, 2021

There is a searx instance api at https://searx.space/data/instances.json if you'd like to use that instead of specific searx instances.

@xanoni
Copy link
Contributor

xanoni commented Jun 10, 2021

There is a searx instance api at https://searx.space/data/instances.json if you'd like to use that instead of specific searx instances.

This would be cool together with the randomization / pool feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 💪 New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants