It supports both links and embeds and is available on firefox for android. List of sites is on github. I’m the main developer so you can ask questions.

4 points

Excellent stuff! Been looking for something like this and while I love greasemonkey it’s a bit fiddly on Android so this is a great, much simpler, alternative!

permalink
report
reply
3 points

Redirector works perfectly on Android.

https://addons.mozilla.org/en-US/android/addon/redirector/

permalink
report
parent
reply
2 points

Nice work!

permalink
report
reply
10 points

Is there any exception possible? On mobile I want to redirect everything to my invidious instance, but on my PC I want the same, except for youtube.de itself.

In short: redirect YouTube to invidious but not youtube.de 🤔

permalink
report
reply
7 points

The extension currently doesn’t handle YouTube.de (unless it is redirected to YouTube.com) but you can choose your custom instance. I’ll add more features soon

permalink
report
parent
reply
5 points

It would be great if we could have a YAML config within the settings for all custom (or not) redirects. And if such lists were synced from some repo and then only locally sorted or trimmed by …ping, for example. Something like:

  • source site RegEx to match:
    • redirect to this instance
    • or here’s another one, maybe even with a different alternative frontend.
permalink
report
parent
reply
1 point

Yeah I will add refreshable list of instances, custom lists probably not(extension stores has many restrictions on remote code loading)

permalink
report
parent
reply
10 points
*

so this is similar to LibRedirect?
https://github.com/libredirect/browser_extension
https://libredirect.github.io/
check out this list of privacy frontends and see if you can implement any of them in Predirect

Also, I see that you only handle one instance for redirect. Either the default instance or custom instance.
Consider implementing multiple instances. Here is list of instances that LibRedirect uses:
https://raw.githubusercontent.com/libredirect/instances/main/data.json
Here is a list of instances that Farside.link uses:
https://raw.githubusercontent.com/benbusby/farside/master/services-full.json

Both LibRedirect and Farside still have to deal with the rate-limiting problem with Youtube and Reddit and I assume other sites as well. Invidious instance or Teddit instance can be rate-limited, resulting in video not playing or post not showing up.
If your extension does not distribute user traffic across multiple instances, then I assume that your chosen instances will get hammered into ratelimit even faster than other instances.
So consider thinking about solution for this.
One of suggestions that I like is to allow user to provide an URL to a list of instances.
That way, someone or some automated system can periodically compose a list of instances and users can “subscribe” to that list.

Also some useful links:
https://github.com/digitalblossom/alternative-frontends
https://github.com/pluja/awesome-privacy#social-networks-and-platforms
https://github.com/mendel5/alternative-front-ends
https://matrix.to/#/#alternative-frontends:tchncs.de

permalink
report
reply
7 points

Yes, Predirect currently chooses randomly from list of instances from farside/official(I’ll make it updatable/refreshable in near future) or one custom instance (I’ll also add editing list of custom instances in far future) [ofc if chrome store allows these two]. I didn’t add libredirect/reddit due to ratelimiting problems and GotHub, anonymous overflow due to usability issues. I’ll add search, maps in near future and also others. Predirect does distribute traffic by randomising instances so not an issue. Thanks for suggestions and contributions are welcome for any of these

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.4K

    Monthly active users

  • 3.3K

    Posts

  • 71K

    Comments