this post was submitted on 12 Dec 2023
1 points (100.0% liked)

Selfhosted

40006 readers
625 users here now

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!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 11 months ago* (last edited 11 months ago) (1 children)

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

[–] [email protected] 1 points 11 months ago

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