Skip to content

Instantly share code, notes, and snippets.

@herbaldrinkmate
Last active March 6, 2025 09:38
"Reddit ➔ Redlib": {
"regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?reddit.com\/(.*)",
"replacement": "https:\/\/farside.link\/redlib\/$1",
"enabled": "true"
},
"X ➔ Nitter": {
"regex": "^https?:\/\/x.com\/(.*)",
"replacement": [
"https:\/\/xcancel.com\/$1",
"https:\/\/nitter.poast.org\/$1",
"https:\/\/nitter.privacydev.net\/$1"
],
"enabled": "true"
},
"YouTube in Desktop View": {
"regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube.com\/watch\\?v=(.*)",
"replacement": "https:\/\/youtube.com\/v\/$1",
"enabled": "true"
},
"Youtube ➔ Invidious": {
"regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube.com\/(.*)",
"replacement": [
"https:\/\/yewtu.be\/$1",
"https:\/\/farside.link\/invidious\/$1"
],
"enabled": "false"
},
"Youtube Shorts In Normal Player": {
"regex": "^https?:\/\/(?:[a-z0-9-]+\\.)*?youtube.com\/shorts\/(.*)",
"replacement": "https:\/\/youtube.com\/watch?v=$1",
"enabled": "true"
},
"Google Translate": {
"regex": "^https?:\/\/(?!(?:[a-z0-9-]+\\.)*(?:google\\.com|translate\\.goog)(\/|$))",
"replacement": "https:\/\/translate.google.com\/translate?sl=auto&tl=en&hl=en&u=$0",
"enabled": "true"
},
"Google Translate (Japanese)": {
"regex": "^https?:\/\/(?!(?:[a-z0-9-]+\\.)*(?:google\\.com|translate\\.goog|jp)(\/|$))",
"replacement": "https:\/\/translate.google.com\/translate?sl=auto&tl=ja&hl=ja&u=$0",
"enabled": "true"
},
"Google Translate (Chinese)": {
"regex": "^https?:\/\/(?!(?:[a-z0-9-]+\\.)*(?:google\\.com|translate\\.goog|cn)(\/|$))",
"replacement": "https:\/\/translate.google.com\/translate?sl=auto&tl=zh-CN&hl=zh-CN&u=$0",
"enabled": "true"
},
"Google Translate (Korean)": {
"regex": "^https?:\/\/(?!(?:[a-z0-9-]+\\.)*(?:google\\.com|translate\\.goog|kr)(\/|$))",
"replacement": "https:\/\/translate.google.com\/translate?sl=auto&tl=ko&hl=ko&u=$0",
"enabled": "true"
},
"Wayback Machine": {
"regex": "^https?:\/\/(?!web\\.archive\\.org)",
"replacement": "https:\/\/web.archive.org\/$0",
"enabled": "true"
},
"archive.today": {
"regex": "^https?:\/\/(?!archive\\.(md|is|vn|li))",
"replacement": "https:\/\/archive.md\/$0",
"enabled": "true"
},
"Amazon URL Shortener": {
"regex": "^https?:\/\/(www\\.amazon(?:\\.[a-z]{2,}){1,})\/[^\/]+(\/dp\/([A-Z0-9]{10}))(?:\/.+)?",
"replacement": "https:\/\/$1$2",
"enabled": "true"
},
"Amazon Sponsored Ads to Product Link": {
"regex": "^https?:\/\/(www\\.amazon(?:\\.[a-z]{2,}){1,})\/sspa\/click\\?(?:[a-zA-Z0-9&=]+)?&?url=%2F[a-zA-Z0-9%-]+%2Fdp%2F([A-Z0-9]{10})(?:%2F.*)",
"replacement": "https:\/\/$1\/dp\/$2",
"enabled": "true"
},
"Instagram → Imginn": {
"regex": "^https?:\/\/(?:www\\.)?instagram\\.com\/([a-z0-9_\\.]{1,30}\/?)(\/p\/[a-zA-Z0-9_-]{11}\/?)?",
"replacement": "https:\/\/imginn.com\/$1$2",
"enabled": "true"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment