Skip to content

Instantly share code, notes, and snippets.

@Zottelchen
Last active January 30, 2024 03:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zottelchen/ef4083f0d8b7b095c95ed8cf9b83c92f to your computer and use it in GitHub Desktop.
Save Zottelchen/ef4083f0d8b7b095c95ed8cf9b83c92f to your computer and use it in GitHub Desktop.
Redirector.json (My Config) + Explanation

What is Redirector?

This is my personal config for the brilliant Redirector add-on (GitHub). It pretty much does what the name says: It redirects you from location A to location B.

What is the point of this config?

The focus of my config is privacy (or a subjectively better user interface). For many cases, it uses the great Farside.link (GitHub), to find a working instance, since these tend to come and go.

What redirects are included?

You can find the following redirects in my config (unless otherwise noted, those only affect the links themselves and not any kind of embeds!):

  • Reddit ➡ Redlib
  • Instagram (Profiles & Posts) ➡ Proxigram
  • Google Translate ➡ Lingva
  • Twitter ➡ Nitter
  • Medium ➡ Scribe
  • Google ➡ LibreY
  • YouTube (+nocookie) ➡ FreeTube
  • YouTube (+nocookie) Embeds ➡ Individous Embeds
  • GitHub-Wiki-See.page ➡ GitHub
  • TikTok ➡ ProxiTok
  • Imgur ➡ Rimgo
  • Fandom Wiki ➡ Breezewiki
  • Quotra ➡ Quetre
  • IMDb ➡ libremdb
  • Genius ➡ Dumb (#relatable)
  • StackOverflow ➡ AnonymousOverflow
  • StackExchange ➡ AnonymousOverflow
  • View Curseforge Projects directly (disabled by default)
  • View All Curseforge Files (disabled by default)

How to use this?

  1. Install Redirector
  2. Download the Config (Redirector.json) below
  3. Open Redirector Settings
  4. Click on "Import" and select the Redirector.json file
  5. Optional: Comment here on what could be improved/post your improvements
{
"createdBy": "Redirector v3.5.3",
"createdAt": "2024-01-30T03:08:03.777Z",
"redirects": [
{
"description": "Reddit ➡ Redlib",
"exampleUrl": "https://www.reddit.com/r/Enhancement/comments/93k9eh/here_is_how_to_automatically_redirect_new_reddit/",
"exampleResult": "https://farside.link/redlib/r/Enhancement/comments/93k9eh/here_is_how_to_automatically_redirect_new_reddit/",
"error": null,
"includePattern": "https://www.reddit.com/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/redlib/$1",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Instagram (Post) ➡ Proxigram",
"exampleUrl": "https://www.instagram.com/p/CbobxsOrH61/",
"exampleResult": "https://farside.link/proxigram/p/CbobxsOrH61/",
"error": null,
"includePattern": "*instagram.com/p/*/",
"excludePattern": "",
"patternDesc": "Instagram blocks pretty fast. Maybe worth it to host a private instance.",
"redirectUrl": "https://farside.link/proxigram/p/$2/",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Instagram (Profile) ➡ Proxigram",
"exampleUrl": "https://www.instagram.com/beyonce/",
"exampleResult": "https://farside.link/proxigram/beyonce",
"error": null,
"includePattern": "*instagram.com/*/",
"excludePattern": "",
"patternDesc": "Instagram blocks pretty fast. Maybe worth it to host a private instance.",
"redirectUrl": "https://farside.link/proxigram/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Google Translate ➡ Lingva",
"exampleUrl": "https://translate.google.de/?sl=en&tl=de&text=Ducks%20are%20my%20favorite%20animal!&op=translate",
"exampleResult": "https://farside.link/lingva/en/de/Ducks%20are%20my%20favorite%20animal!",
"error": null,
"includePattern": "*translate.google.de/?sl=*&tl=*&text=*&op=translate",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/lingva/$2/$3/$4",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Twitter ➡ Nitter",
"exampleUrl": "https://twitter.com/iamdevloper",
"exampleResult": "https://farside.link/nitter/iamdevloper",
"error": null,
"includePattern": "*twitter.com/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/nitter/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Medium ➡ Scribe",
"exampleUrl": "https://medium.com/re-write/my-favorite-design-resources-9170e3becdd9",
"exampleResult": "https://farside.link/scribe/re-write/my-favorite-design-resources-9170e3becdd9",
"error": null,
"includePattern": "*medium.com/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/scribe/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Google ➡ LibreY",
"exampleUrl": "https://www.google.com/search?q=is+california+on+fire+...+yet&hl=de&oq=is+california+on+fire+...+yet",
"exampleResult": "https://farside.link/librey/search.php?q=is+california+on+fire+...+yet",
"error": null,
"includePattern": "google.com\\/search?.+q=(.+)&?.*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/librey/search.php?q=$1",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "YouTube ➡ FreeTube",
"exampleUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"exampleResult": "freetube://https://www.youtube.com/watch?v=jNQXAC9IVRw",
"error": null,
"includePattern": "*youtube.com/watch?v=*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "freetube://$1youtube.com/watch?v=$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "YouTube (NoCookie) ➡ FreeTube",
"exampleUrl": "https://www.youtube-nocookie.com/watch?v=jNQXAC9IVRw",
"exampleResult": "freetube://https://www.youtube-nocookie.com/watch?v=jNQXAC9IVRw",
"error": null,
"includePattern": "*youtube-nocookie.com/watch?v=*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "freetube://$1youtube-nocookie.com/watch?v=$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Youtube (Embed) -> Individous (Embed)",
"exampleUrl": "https://www.youtube.com/embed/jNQXAC9IVRw",
"exampleResult": "https://farside.link/invidious/embed/jNQXAC9IVRw",
"error": null,
"includePattern": "*youtube.com/embed/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/invidious/embed/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame",
"sub_frame"
]
},
{
"description": "Youtube (NoCookie-Embed) -> Individous (Embed)",
"exampleUrl": "https://www.youtube-nocookie.com/embed/jNQXAC9IVRw",
"exampleResult": "https://farside.link/invidious/embed/jNQXAC9IVRw",
"error": null,
"includePattern": "*youtube-nocookie.com/embed/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/invidious/embed/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame",
"sub_frame"
]
},
{
"description": "Github Wiki ➡ Github",
"exampleUrl": "https://github-wiki-see.page/m/ultralytics/yolov5/wiki/Tips-for-Best-Training-Results",
"exampleResult": "https://github.com/ultralytics/yolov5/wiki/Tips-for-Best-Training-Results",
"error": null,
"includePattern": "*github-wiki-see.page/m/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://github.com/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Tiktok ➡ ProxiTok",
"exampleUrl": "https://www.tiktok.com/@tiktok",
"exampleResult": "https://farside.link/proxitok/@tiktok",
"error": null,
"includePattern": "(.*//[^vm].*)(tiktok.com)(.*)",
"excludePattern": "photos",
"patternDesc": "Does not work for photos",
"redirectUrl": "https://farside.link/proxitok$3",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Imgur ➡ Rimgo",
"exampleUrl": "https://imgur.com/a/H8M4rcp",
"exampleResult": "https://farside.link/rimgo/a/H8M4rcp",
"error": null,
"includePattern": "^https?://i?.?imgur.com(/.*)?$",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/rimgo$1",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame",
"image"
]
},
{
"description": "Fandom Wiki -> Breezewiki",
"exampleUrl": "https://minecraft.fandom.com/wiki/Bricks",
"exampleResult": "https://farside.link/breezewiki/minecraft/wiki/Bricks",
"error": null,
"includePattern": "https://*.fandom.com/wiki/*",
"excludePattern": "https://www.fandom.com/*",
"patternDesc": "I recommend using Indie Wiki Buddy (https://getindie.wiki/) for this usecase.",
"redirectUrl": "https://farside.link/breezewiki/$1/wiki/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Quora ➡ Quetre",
"exampleUrl": "https://www.quora.com/What-is-Linux-4?share=1",
"exampleResult": "https://farside.link/quetre/What-is-Linux-4",
"error": null,
"includePattern": "https?:\\/\\/(www\\.)?quora\\.com\\/([^\\?]*)",
"excludePattern": "",
"patternDesc": "redirects all Quora urls(excluding language-specific and spaces) to Quetre",
"redirectUrl": "https://farside.link/quetre/$2",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "IMDb ➡ libremdb",
"exampleUrl": "https://www.imdb.com/name/nm0461498",
"exampleResult": "https://farside.link/libremdb/name/nm0461498",
"error": null,
"includePattern": "*imdb.com/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/libremdb/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "Genius ➡ Dumb",
"exampleUrl": "https://genius.com/Beyonce-drunk-in-love-lyrics",
"exampleResult": "https://farside.link/dumb/Beyonce-drunk-in-love-lyrics",
"error": null,
"includePattern": "*genius.com/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/dumb/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "StackOverflow ➡ AnonymousOverflow",
"exampleUrl": "https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array",
"exampleResult": "https://farside.link/anonymousoverflow/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array",
"error": null,
"includePattern": "*stackoverflow.com/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/anonymousoverflow/$2",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "StackExchange ➡ AnonymousOverflow",
"exampleUrl": "https://academia.stackexchange.com/questions/51631/how-to-ask-dumb-questions",
"exampleResult": "https://farside.link/anonymousoverflow/exchange/academia/questions/51631/how-to-ask-dumb-questions",
"error": null,
"includePattern": "*://*.stackexchange.com/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://farside.link/anonymousoverflow/exchange/$2/$3",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "View Curseforge Projects directly",
"exampleUrl": "https://www.curseforge.com/members/gliscowo",
"exampleResult": "https://www.curseforge.com/members/gliscowo/projects",
"error": null,
"includePattern": "https://www.curseforge.com/members/*",
"excludePattern": "",
"patternDesc": "",
"redirectUrl": "https://www.curseforge.com/members/$1/projects",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": true,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{
"description": "View All Curseforge Files",
"exampleUrl": "https://www.curseforge.com/minecraft/mc-mods/william-wythers-overhauled-overworld/files",
"exampleResult": "https://www.curseforge.com/minecraft/mc-mods/william-wythers-overhauled-overworld/files/all",
"error": null,
"includePattern": "https://www.curseforge.com/*/*/*/files",
"excludePattern": "",
"patternDesc": "https://www.curseforge.com/minecraft/mc-mods/william-wythers-overhauled-overworld/files/all",
"redirectUrl": "https://www.curseforge.com/$1/$2/$3/files/all",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": true,
"grouped": false,
"appliesTo": [
"main_frame"
]
}
]
}
@schtobia
Copy link

First of all, great work!

Unfortunately, Bibliogram is completely gone.

@Zottelchen
Copy link
Author

@schtobia Yeah, sadly that seems to be the case. The only working alternative I know of is imginn.com, but that isn't necessarily privacy-friendly.

@Kreijstal
Copy link

outdated

@Zottelchen
Copy link
Author

@Kreijstal What exactly is outdated?

@Kreijstal
Copy link

Kreijstal commented Jan 9, 2024

@Kreijstal What exactly is outdated?

Reddit, you should filter out reddit /media address otherwise you will not be able to see fullscreen images or when you click on videos or images it takes you somewhere else

for example https://www.reddit.com/gallery/10i4at6

@Zottelchen
Copy link
Author

@Kreijstal What exactly is outdated?

Reddit, you should filter out reddit /media address otherwise you will not be able to see fullscreen images or when you click on videos or images it takes you somewhere else

for example https://www.reddit.com/gallery/10i4at6

Hey, thanks for reporting. I have not used reddit since the API changes. It now redirects to redlib, which is another privacy frontend which also supports the galleries, if found through the interface - direct links still don't seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment