Last active
October 18, 2022 14:32
-
-
Save Raj9039852537/d12e73c6314c05bc79e2bdd71a1001bc to your computer and use it in GitHub Desktop.
privacy redirector for urlcleaner app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Warning! Non ascii characters found": { | |
"regex": ".*[^\\p{ASCII}].*", | |
"enabled": "true" | |
}, | |
"Http link, consider using https": { | |
"regex": "^http:\/\/(.*)", | |
"replacement": "https:\/\/$1", | |
"enabled": "true" | |
}, | |
"Missing http scheme.": { | |
"regex": "^(?!.*:).*", | |
"replacement": "http:\/\/$0", | |
"enabled": "true" | |
}, | |
"Missing https scheme.": { | |
"regex": "^(?!.*:).*", | |
"replacement": "https:\/\/$0", | |
"enabled": "true" | |
}, | |
"redirect to next URL": { | |
"regex": "(?:(.*))url=(.*)", | |
"replacement": "$2", | |
"enabled": "true" | |
}, | |
"fix strings1": { | |
"regex": "%2F", | |
"replacement": "\/", | |
"automatic": "true", | |
"enabled": "true" | |
}, | |
"fix string2": { | |
"regex": "%3A", | |
"replacement": ":", | |
"automatic": "true", | |
"enabled": "true" | |
}, | |
"Reddit to Teddit": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?reddit\\.com\\\/(.*)", | |
"replacement": "https:\/\/teddit.net\/$1", | |
"replacement1": "https:\/\/farside.link\/teddit\/$1", | |
"comment": "useless string", | |
"enabled": "true" | |
}, | |
"reddit to reveddit": { | |
"regex": "^https:\\\/\\\/.*(reddit\\.com|teddit\\.net)\\\/(.*)", | |
"replacement": "https:\/\/reveddit.com\/$2", | |
"enabled": "true" | |
}, | |
"Redd.it to Teddit": { | |
"regex": "^https?:\\\/\\\/(i\\.|preview\\.)redd\\.it\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/teddit\/pics\/w:null_$2", | |
"enabled": "true" | |
}, | |
"Twitter to Nitter": { | |
"regex": "^https?:\\\/\\\/(www\\.|mobile\\.)?twitter\\.com\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/nitter\/$2", | |
"enabled": "true" | |
}, | |
"Twitter image to Nitter": { | |
"regex": "^https?:\\\/\\\/(pic\\.twitter|pbs\\.twimg)\\.com\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/nitter\/pic\/$1", | |
"enabled": "true" | |
}, | |
"Youtube to Invidious": { | |
"regex": "^https?:\\\/\\\/(www\\.|m\\.)?(youtube\\.com|youtu\\.be|youtube-nocookie\\.com)\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/invidious\/$3&quality=360", | |
"enabled": "true" | |
}, | |
"Youtube music playlist to beatbump.ml": { | |
"regex": "^https?:\\\/\\\/music\\.youtube\\.com\\\/playlist\\?list=(.*)", | |
"replacement": "https:\/\/beatbump.ml\/playlist\/VL$1", | |
"enabled": "true" | |
}, | |
"Youtube music channel to beatbump.ml": { | |
"regex": "^https?:\\\/\\\/music\\.youtube\\.com\\\/channel(.*)", | |
"replacement": "https:\/\/beatbump.ml\/artist$1", | |
"enabled": "true" | |
}, | |
"Youtube music to explore beatbump.ml": { | |
"regex": "^https?:\\\/\\\/music\\.youtube\\.com\\\/explore(.*)", | |
"replacement": "https:\/\/beatbump.ml\/trending$1", | |
"enabled": "true" | |
}, | |
"Youtube music moods and genre to beatbump.ml": { | |
"regex": "^https?:\\\/\\\/music\\.youtube\\.com\\\/moods_and_genres(.*)", | |
"replacement": "https:\/\/beatbump.ml\/explore$1", | |
"enabled": "true" | |
}, | |
"Youtube music others to beatbump.ml": { | |
"regex": "^https?:\\\/\\\/music\\.youtube\\.com\\\/(?!playlist)(?!explore)(?!channel)(?!moods_and_genres)(.*)", | |
"replacement": "https:\/\/beatbump.ml\/$1", | |
"enabled": "true" | |
}, | |
"Imgur to Rimgo": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?imgur\\.com\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/rimgo\/$1", | |
"enabled": "true" | |
}, | |
"Medium to Scribe": { | |
"regex": "^https?:\\\/\\\/www\\.medium\\.com\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/scribe\/$1", | |
"enabled": "true" | |
}, | |
"Medium subdomain to Scribe": { | |
"regex": "^https?:\\\/\\\/(\\w*(?!www))\\.medium\\.com\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/scribe\/@$1\/$2", | |
"enabled": "true" | |
}, | |
"Google translate to Lingva": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?translate\\.google\\.com\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/lingva\/$1", | |
"enabled": "true" | |
}, | |
"Google maps to openstreetmaps": { | |
"regex": "^https?:\\\/\\\/.*google\\.com\\\/maps\\\/place\\\/(?:(.*\\\/)+)*@([\\d.]+),([\\d.]+),([\\d.z]+)(.*)", | |
"replacement": "https:\/\/www.openstreetmap.org\/#maps=\/$4\/$2\/$3", | |
"enabled": "true" | |
}, | |
"Google maps to geo uri": { | |
"regex": "^https?:\\\/\\\/.*google\\.com\\\/maps\\\/place\\\/(?:(.*\\\/)+)*@([\\d.]+),([\\d.]+),([\\d.z]+)(.*)", | |
"replacement": "geo:0,0?q=$2,$3,z=$4", | |
"enabled": "true" | |
}, | |
"Hacker news to algolia": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?news\\.ycombinator\\.com\\\/(.*)", | |
"replacement": "https:\/\/hn.algolia.com\/$1", | |
"enabled": "true" | |
}, | |
"Reuters to neuters": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?reuters\\.com\\\/(.*)", | |
"replacement": "https:\/\/neuters.com\/$1", | |
"enabled": "true" | |
}, | |
"Quora to quetre": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?quora\\.com\\\/(.*)", | |
"replacement": "https:\/\/quetre.pussthecat.org\/$1", | |
"enabled": "true" | |
}, | |
"Wikipedia": { | |
"regex": "^https?:\\\/\\\/([a-z0-9-]){2}(\\.)?wikipedia\\.org\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/wikiless\/$3?lang=$1", | |
"enabled": "true" | |
}, | |
"Wikiless fix": { | |
"regex": "^https?:\\\/\\\/farside\\.link\\\/wikiless(.*)=$", | |
"replacement": "https:\/\/farside.link\/wikiless$1=en", | |
"automatic": "true", | |
"enabled": "true" | |
}, | |
"Tiktok discover": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?tiktok\\.com\\\/discover(.*)", | |
"replacement": "https:\/\/farside.link\/proxitok\/tag$1", | |
"enabled": "true" | |
}, | |
"Tiktok": { | |
"regex": "^https?:\\\/\\\/(?:[a-z0-9-]+\\.)*?tiktok\\.com\\\/(?!discover)(.*)", | |
"replacement": "https:\/\/farside.link\/proxitok\/$1", | |
"enabled": "true" | |
}, | |
"Instagram account fix": { | |
"regex": "^https?:\\\/\\\/([a-z0-9-]+\\.)*?instagram\\.com\\\/accounts\\\/login\\\/\\?next=(.*)", | |
"replacement": "https:\/\/$1instagram.com$2", | |
"automatic": "true", | |
"enabled": "true" | |
}, | |
"Instagram reel to bibliogran": { | |
"regex": "^https?:\\\/\\\/([a-z0-9-]+\\.)*?instagram\\.com\\\/(reel|tv|igtv)\\\/(.*)", | |
"replacement": "https:\/\/farside.link\/bibliogram\/p\/$3", | |
"enabled": "true" | |
}, | |
"Instagram post to bibliogram": { | |
"regex": "^https?:\\\/\\\/([a-z0-9-]+\\.)*instagram\\.com\\\/p\\\/(.*)", | |
"replacement": "https:\/\/farisde.link\/bibliogram\/p\/$2", | |
"enabled": "true" | |
}, | |
"Instagram profile to bibliogram": { | |
"regex": "^https?:\\\/\\\/([a-z0-9-]+\\.)*?instagram\\.com\\\/(?!p\\\/)(?!reel\\\/)(?!accounts\\\/)(.*)", | |
"replacement": "https:\/\/farside.link\/bibliogram\/u\/$2", | |
"enabled": "true" | |
}, | |
"tinyurl": { | |
"regex": "^https?:\\\/\\\/tinyurl\\.com\\\/(.*)", | |
"replacement": "https:\/\/preview.tinyurl.com\/$1", | |
"enabled": "true" | |
}, | |
"goo.gl & bit.ly": { | |
"regex": "^https?:\\\/\\\/(goo\\.gl|bit\\.ly|j\\.mp|nyti\\.us)\\\/([0-9a-zA-Z]*)(?!\\+)$", | |
"replacement": "https:\/\/$1\/$2+", | |
"enabled": "true" | |
}, | |
"isgd": { | |
"regex": "^https?:\\\/\\\/is\\.gd\\\/([0-9a-zA-Z]*)(?!\\-)$", | |
"replacement": "https:\/\/is.gd\/$1-", | |
"enabled": "true" | |
}, | |
"tinycc": { | |
"regex": "^https?:\\\/\\\/tiny\\.cc\\\/([0-9a-zA-Z]*)(?!\\~)$", | |
"replacement": "https:\/\/tiny.cc\/$1~", | |
"enabled": "true" | |
}, | |
"curtly": { | |
"regex": "^https?:\\\/\\\/curt\\.ly\\\/([0-9a-zA-Z]*)(?!\\@)$", | |
"replacement": "https:\/\/curt.ly\/$1@", | |
"enabled": "true" | |
}, | |
"bit.do": { | |
"regex": "^https?:\\\/\\\/bit\\.do\\\/(?!expand\\\/)([0-9a-zA-Z]*)", | |
"replacement": "https:\/\/curt.ly\/$1@", | |
"enabled": "true" | |
}, | |
"proxy it with ononoki.org": { | |
"regex1": "^(https?):\\\/\\\/([\\s\\S]*)$", | |
"regex": "^(?!.*(morty\\.))(.*)", | |
"replacement": "https:\/\/morty.ononoki.org\/?mortyurl=$2", | |
"enabled": "true" | |
}, | |
"proxy it with serx.ml": { | |
"regex1": "^(https?):\\\/\\\/([\\s\\S]*)$", | |
"regex": "^(?!.*(morty\\.))(.*)", | |
"replacement": "https:\/\/morty.serx.ml\/?mortyurl=$2", | |
"enabled": "true" | |
}, | |
"proxy it with archive.ph": { | |
"regex1": "^(https?):\\\/\\\/([\\s\\S]*)$", | |
"regex": "^(?!.*(archive\\.))(.*)", | |
"replacement": "https:\/\/archive.ph\/$2", | |
"enabled": "true" | |
}, | |
"proxy it with archive.org": { | |
"regex1": "^(https?):\\\/\\\/([\\s\\S]*)$", | |
"regex": "^(?!.*(atchive\\.))(.*)", | |
"replacement": "https:\/\/web.archive.org\/web\/$2", | |
"enabled": "true" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment