diff options
| author | Hygna <hygna@proton.me> | 2022-10-18 18:09:35 +0100 |
|---|---|---|
| committer | Hygna <hygna@proton.me> | 2022-10-18 18:09:35 +0100 |
| commit | 31c556b51d42a3c4231e6854d77f2c09dec68bfe (patch) | |
| tree | 60e985186b0db99763f9482c750a8d416414c566 | |
| parent | Remove instances not in the redirects list from the enabled list (diff) | |
| download | libredirect-31c556b51d42a3c4231e6854d77f2c09dec68bfe.zip | |
Added new cloutube instance, made reddit instance use a positive lookahead, added LibreTranslate to readme
Diffstat (limited to '')
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/config/config.json | 175 | ||||
| -rw-r--r-- | src/instances/cloudtube.json | 2 |
3 files changed, 33 insertions, 146 deletions
@@ -30,7 +30,7 @@ IMDb => [libremdb](https://github.com/zyachel/libremdb)\ PeerTube => [SimpleerTube](https://git.sr.ht/~metalune/simpleweb_peertube)\ LBRY/Odysee => [Librarian](https://codeberg.org/librarian/librarian), [LBRY Desktop](https://lbry.com/get)\ Search => [SearXNG](https://github.com/searxng/searxng), [SearX](https://searx.github.io/searx/), [Whoogle](https://benbusby.com/projects/whoogle-search/), [LibreX](https://github.com/hnhx/librex/)\ -Translate => [SimplyTranslate](https://git.sr.ht/~metalune/simplytranslate_web), [LingvaTranslate](https://github.com/TheDavidDelta/lingva-translate)\ +Translate => [SimplyTranslate](https://git.sr.ht/~metalune/simplytranslate_web), [LingvaTranslate](https://github.com/TheDavidDelta/lingva-translate), [LibreTranslate](https://github.com/LibreTranslate/LibreTranslate)\ Maps => [OpenStreetMap](https://www.openstreetmap.org/), [FacilMap](https://github.com/FacilMap/facilmap)\ Send Files => [Send](https://gitlab.com/timvisee/send) diff --git a/src/config/config.json b/src/config/config.json index 6c7ff53a..dde78e38 100644 --- a/src/config/config.json +++ b/src/config/config.json @@ -22,12 +22,8 @@ "frontends": {
"invidious": {
"preferences": {
- "cookies": [
- "PREFS"
- ],
- "localstorage": [
- "dark_mode"
- ]
+ "cookies": ["PREFS"],
+ "localstorage": ["dark_mode"]
},
"name": "Invidious",
"embeddable": true,
@@ -63,9 +59,7 @@ },
"pipedMaterial": {
"preferences": {
- "localstorage": [
- "PREFERENCES"
- ]
+ "localstorage": ["PREFERENCES"]
},
"name": "Piped-Material",
"embeddable": false,
@@ -115,9 +109,7 @@ "frontends": {
"beatbump": {
"preferences": {
- "localstorage": [
- "settings"
- ],
+ "localstorage": ["settings"],
"indexeddb": "beatbump"
},
"name": "Beatbump",
@@ -125,26 +117,14 @@ },
"hyperpipe": {
"preferences": {
- "localstorage": [
- "api",
- "authapi",
- "codec",
- "locale",
- "next",
- "pipedapi",
- "quality",
- "theme",
- "vol"
- ],
+ "localstorage": ["api", "authapi", "codec", "locale", "next", "pipedapi", "quality", "theme", "vol"],
"indexeddb": "hyperpipedb"
},
"name": "Hyperpipe",
"instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}music\\.youtube\\.com(\\/.*|$)"
- ],
+ "targets": ["^https?:\\/{2}music\\.youtube\\.com(\\/.*|$)"],
"name": "YT Music",
"options": {
"enabled": true,
@@ -183,12 +163,7 @@ "instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(www\\.|mobile\\.|)twitter\\.com",
- "^https?:\\/{2}(pbs\\.|video\\.|)twimg\\.com",
- "^https?:\\/{2}platform\\.twitter\\.com/embed",
- "^https?:\\/{2}t\\.co"
- ],
+ "targets": ["^https?:\\/{2}(www\\.|mobile\\.|)twitter\\.com", "^https?:\\/{2}(pbs\\.|video\\.|)twimg\\.com", "^https?:\\/{2}platform\\.twitter\\.com/embed", "^https?:\\/{2}t\\.co"],
"name": "Twitter",
"options": {
"enabled": true,
@@ -210,9 +185,7 @@ "instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(www\\.)?instagram\\.com\\/p\\/"
- ],
+ "targets": ["^https?:\\/{2}(www\\.)?instagram\\.com\\/p\\/"],
"name": "Instagram",
"options": {
"enabled": true
@@ -225,18 +198,13 @@ "frontends": {
"proxiTok": {
"preferences": {
- "cookies": [
- "api-test_endpoints",
- "theme"
- ]
+ "cookies": ["api-test_endpoints", "theme"]
},
"name": "ProxiTok",
"instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(www\\.|)tiktok\\.com.*"
- ],
+ "targets": ["^https?:\\/{2}(www\\.|)tiktok\\.com.*"],
"name": "TikTok",
"options": {
"enabled": true
@@ -249,20 +217,7 @@ "frontends": {
"libreddit": {
"preferences": {
- "cookies": [
- "theme",
- "front_page",
- "layout",
- "wide",
- "post_sort",
- "comment_sort",
- "show_nsfw",
- "autoplay_videos",
- "use_hls",
- "hide_hls_notification",
- "subscriptions",
- "filters"
- ]
+ "cookies": ["theme", "front_page", "layout", "wide", "post_sort", "comment_sort", "show_nsfw", "autoplay_videos", "use_hls", "hide_hls_notification", "subscriptions", "filters"]
},
"name": "Libreddit",
"instanceList": true
@@ -292,10 +247,7 @@ "instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?!\\/(gallery)|(rpan)|(settings)|(topics)|(dev))",
- "^https?:\\/{2}(i\\.|preview\\.)redd\\.it"
- ],
+ "targets": ["^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com(?=(\\/u(ser)?\\/)|(\\/r\\/)|(\\/?$))", "^https?:\\/{2}(i\\.|preview\\.)redd\\.it"],
"name": "Reddit",
"options": {
"enabled": true,
@@ -313,9 +265,7 @@ "instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}([im]\\.)?(stack\\.)?imgur\\.(com|io)(\\/|$)"
- ],
+ "targets": ["^https?:\\/{2}([im]\\.)?(stack\\.)?imgur\\.(com|io)(\\/|$)"],
"name": "Imgur",
"options": {
"enabled": true,
@@ -329,18 +279,13 @@ "frontends": {
"wikiless": {
"preferences": {
- "cookies": [
- "theme",
- "default_lang"
- ]
+ "cookies": ["theme", "default_lang"]
},
"name": "Wikiless",
"instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(?:[a-z]+\\.)*wikipedia\\.org"
- ],
+ "targets": ["^https?:\\/{2}(?:[a-z]+\\.)*wikipedia\\.org"],
"name": "Wikipedia",
"options": {
"enabled": false
@@ -388,17 +333,13 @@ "frontends": {
"quetre": {
"preferences": {
- "localstorage": [
- "theme"
- ]
+ "localstorage": ["theme"]
},
"name": "Quetre",
"instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}([a-zA-Z0-9-]+\\.)*quora\\.com"
- ],
+ "targets": ["^https?:\\/{2}([a-zA-Z0-9-]+\\.)*quora\\.com"],
"name": "Quora",
"options": {
"enabled": true
@@ -411,17 +352,13 @@ "frontends": {
"libremdb": {
"preferences": {
- "localstorage": [
- "theme"
- ]
+ "localstorage": ["theme"]
},
"name": "libremdb",
"instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(?:www\\.|)imdb\\.com\\/title"
- ],
+ "targets": ["^https?:\\/{2}(?:www\\.|)imdb\\.com\\/title"],
"name": "IMDb",
"options": {
"enabled": true
@@ -437,9 +374,7 @@ "instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(www\\.|)reuters\\.com.*"
- ],
+ "targets": ["^https?:\\/{2}(www\\.|)reuters\\.com.*"],
"name": "Reuters",
"options": {
"enabled": false
@@ -455,9 +390,7 @@ "instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}(?:[a-zA-Z0-9-]+\\.)?fandom\\.com(?=(?:\\/wiki)|(?:\\/?$))"
- ],
+ "targets": ["^https?:\\/{2}(?:[a-zA-Z0-9-]+\\.)?fandom\\.com(?=(?:\\/wiki)|(?:\\/?$))"],
"name": "Fandom",
"options": {
"enabled": true
@@ -486,18 +419,8 @@ "frontends": {
"librarian": {
"preferences": {
- "cookies": [
- "nsfw",
- "theme"
- ],
- "localstorage": [
- "autoplay",
- "autoplayNextVid",
- "collapseComments",
- "plyr",
- "sb_categories",
- "showRelated"
- ]
+ "cookies": ["nsfw", "theme"],
+ "localstorage": ["autoplay", "autoplayNextVid", "collapseComments", "plyr", "sb_categories", "showRelated"]
},
"name": "Librarian",
"embeddable": true,
@@ -509,10 +432,7 @@ "instanceList": false
}
},
- "targets": [
- "^https?:\\/{2}odysee\\.com",
- "^https?:\\/{2}lbry\\.tv"
- ],
+ "targets": ["^https?:\\/{2}odysee\\.com", "^https?:\\/{2}lbry\\.tv"],
"name": "LBRY",
"options": {
"enabled": true,
@@ -585,26 +505,13 @@ },
"librex": {
"preferences": {
- "cookies": [
- "bibliogram",
- "disable_frontends",
- " disable_special",
- "invidious",
- "libreddit",
- "nitter",
- "proxitok",
- "save",
- "theme",
- "wikiless"
- ]
+ "cookies": ["bibliogram", "disable_frontends", " disable_special", "invidious", "libreddit", "nitter", "proxitok", "save", "theme", "wikiless"]
},
"name": "LibreX",
"instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}search\\.libredirect\\.invalid"
- ],
+ "targets": ["^https?:\\/{2}search\\.libredirect\\.invalid"],
"name": "Search",
"options": {
"enabled": true,
@@ -618,24 +525,14 @@ "frontends": {
"simplyTranslate": {
"preferences": {
- "cookies": [
- "from_lang",
- "to_lang",
- "tts_enabled",
- "use_text_fields"
- ]
+ "cookies": ["from_lang", "to_lang", "tts_enabled", "use_text_fields"]
},
"name": "SimplyTranslate",
"instanceList": true
},
"lingva": {
"preferences": {
- "localstorage": [
- "isauto",
- "source",
- "target",
- "chakra-ui-color-mode"
- ]
+ "localstorage": ["isauto", "source", "target", "chakra-ui-color-mode"]
},
"name": "Lingva Translate",
"instanceList": true
@@ -645,10 +542,7 @@ "instanceList": true
}
},
- "targets": [
- "^https?:\\/{2}translate\\.google(\\.[a-z]{2,3}){1,2}\\/",
- "^https?:\\/{2}translate\\.libredirect\\.invalid"
- ],
+ "targets": ["^https?:\\/{2}translate\\.google(\\.[a-z]{2,3}){1,2}\\/", "^https?:\\/{2}translate\\.libredirect\\.invalid"],
"name": "Translate",
"options": {
"enabled": true,
@@ -670,10 +564,7 @@ "singleInstance": "https://www.openstreetmap.org"
}
},
- "targets": [
- "^https?:\\/{2}maps\\.libredirect\\.invalid",
- "^https?:\\/{2}(((www|maps)\\.)?(google\\.).*(\\/maps)|maps\\.(google\\.).*)"
- ],
+ "targets": ["^https?:\\/{2}maps\\.libredirect\\.invalid", "^https?:\\/{2}(((www|maps)\\.)?(google\\.).*(\\/maps)|maps\\.(google\\.).*)"],
"name": "Maps",
"options": {
"enabled": true,
@@ -690,11 +581,7 @@ "instanceList": "true"
}
},
- "targets": [
- "^https?:\\/{2}send\\.libredirect\\.invalid",
- "^https?:\\/{2}send\\.firefox\\.com\\/?$",
- "^https?:\\/{2}sendfiles\\.online\\/?$"
- ],
+ "targets": ["^https?:\\/{2}send\\.libredirect\\.invalid", "^https?:\\/{2}send\\.firefox\\.com\\/?$", "^https?:\\/{2}sendfiles\\.online\\/?$"],
"name": "Send Files",
"options": {
"enabled": true
diff --git a/src/instances/cloudtube.json b/src/instances/cloudtube.json index 8742d09c..63721583 100644 --- a/src/instances/cloudtube.json +++ b/src/instances/cloudtube.json @@ -1,5 +1,5 @@ { - "clearnet": ["https://tube.cadence.moe"], + "clearnet": ["https://tube.cadence.moe", "https://tube.boritsch.de"], "tor": [], "i2p": [], "loki": [] |
