diff options
author | Hygna <hygna@proton.me> | 2022-09-07 18:05:18 +0100 |
---|---|---|
committer | Hygna <hygna@proton.me> | 2022-09-07 18:05:18 +0100 |
commit | da446a981bd4d29bdb47b4fbf58a8c561d05f578 (patch) | |
tree | 4685b27649c0b45164ed8ce0be9f339ca9ed2645 /src/config | |
parent | Finish initial config.json draft (diff) | |
download | libredirect-da446a981bd4d29bdb47b4fbf58a8c561d05f578.zip |
Started work on services.js
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config.json | 874 |
1 files changed, 437 insertions, 437 deletions
diff --git a/src/config/config.json b/src/config/config.json index 9051d118..db991772 100644 --- a/src/config/config.json +++ b/src/config/config.json @@ -1,437 +1,437 @@ -{ - "networks": { - "clearnet": { - "url": "org", - "name": "Clearnet" - }, - "tor": { - "url": "onion", - "name": "Tor" - }, - "i2p": { - "url": "i2p", - "name": "I2P" - }, - "loki": { - "url": "loki", - "name": "Lokinet" - } - }, - "services": { - "youtube": { - "frontends": { - "invidious": { - "preferences": { - "cookies": ["PREFS"] - } - }, - "piped": { - "preferences": { - "localstorage": [ - "bufferGoal", - "comments", - "disableLBRY", - "enabledCodecs", - "hl", - "homepage", - "instance", - "listen", - "minimizeDescription", - "playerAutoPlay", - "proxyLBRY", - "quality", - "region", - "selectedSkip", - "sponsorblock", - "theme", - "volume", - "watchHistory" - ] - } - }, - "pipedMaterial": { - "preferences": { - "localstorage": ["PREFERENCES"] - } - }, - "cloudtube": { - "preferences": { - "token": "token", - "fetchEndpoint": "/api/settings", - "setEndpoint": "/settings" - } - } - }, - "singleInstanceFrontends": ["freetube", "yatte"], - "targets": [ - "^https?:\\/{2}(www\\.|music\\.|m\\.|)youtube.com(\\/.*|$)", - "^https?:\\/{2}img\\.youtube.com\\/vi\\/.*\\/..*", - "^https?:\\/{2}(i|s)\\.ytimg.com\\/vi\\/.*\\/..*", - "^https?:\\/{2}(www\\.|music\\.|)youtube.com\\/watch?v=..*", - "^https?:\\/{2}youtu\\.be\\/..*", - "^https?:\\/{2}(www\\.|)(youtube|youtube-nocookie)\\.com\\/embed\\/..*" - ], - "name": "Youtube", - "defaults": { - "disableYoutube": false, - "enableYoutubeCustomSettings": false, - "onlyEmbeddedVideo": "both", - "youtubeFrontend": "invidious", - "youtubeEmbedFrontend": "invidious" - }, - "imageType": "png" - }, - "youtubeMusic": { - "frontends": { - "beatbump": {}, - "hyperpipe": {} - }, - "targets": ["^https?:\\/{2}music\\.youtube\\.com(\\/.*|$)"], - "name": "YT Music", - "defaults": { - "disableYoutubeMusic": false, - "youtubeMusicFrontend": "beatbump" - }, - "imageType": "png" - }, - "twitter": { - "frontends": { - "nitter": { - "preferences": { - "cookies": [ - "theme", - "infiniteScroll", - "stickyProfile", - "bidiSupport", - "hideTweetStats", - "hideBanner", - "hidePins", - "hideReplies", - "squareAvatars", - "mp4Playback", - "hlsPlayback", - "proxyVideos", - "muteVideos", - "autoplayGifs", - "replaceInstagram", - "replaceReddit", - "replaceTwitter", - "replaceYouTube" - ] - } - } - }, - "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", - "defaults": { - "disableTwitter": false, - "twitterRedirectType": "both" - }, - "imageType": "png" - }, - "instagram": { - "frontends": { - "bibliogram": { - "preferences": { - "token": "token", - "fetchEndpoint": "/settings.json", - "setEndpoint": "/applysettings" - } - } - }, - "targets": ["^https?:\\/{2}(www\\.)?instagram\\.com"], - "name": "Instagram", - "defaults": { - "disableInstagram": false - }, - "imageType": "png" - }, - "tiktok": { - "frontends": { - "proxiTok": {} - }, - "targets": ["^https?:\\/{2}(www\\.|)tiktok\\.com.*"], - "name": "TikTok", - "defaults": { - "disableTiktok": false - }, - "imageType": "png" - }, - "reddit": { - "frontends": { - "libreddit": { - "preferences": { - "cookies": ["theme", "front_page", "layout", "wide", "post_sort", "comment_sort", "show_nsfw", "autoplay_videos", "use_hls", "hide_hls_notification", "subscriptions", "filters"] - } - }, - "teddit": { - "preferences": { - "cookies": [ - "collapse_child_comments", - "domain_instagram", - "domain_twitter", - "domain_youtube", - "flairs", - "highlight_controversial", - "nsfw_enabled", - "post_media_max_height", - "show_upvoted_percentage", - "show_upvotes", - "theme", - "videos_muted" - ] - } - } - }, - "targets": ["^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com", "^https?:\\/{2}(i\\.|preview\\.)redd\\.it"], - "name": "Reddit", - "defaults": { - "disableReddit": false, - "redditFrontend": "libreddit" - }, - "imageType": "png" - }, - "imgur": { - "frontends": { - "rimgo": { - "preferences": {} - } - }, - "targets": ["^https?:\\/{2}([im]\\.)?imgur\\.(com|io)(\\/|$)"], - "name": "Imgur", - "defaults": { "disableImgur": false }, - "imageType": "png" - }, - "wikipedia": { - "frontends": { - "wikiless": { - "preferences": { - "cookies": ["theme", "default_lang"] - } - } - }, - "targets": ["^https?:\\/{2}([a-z]+\\.)*wikipedia\\.org"], - "name": "Wikipedia", - "defaults": { "disableWikipedia": true }, - "imageType": "svg" - }, - "medium": { - "frontends": { - "scribe": { - "preferences": {} - } - }, - "targets": [ - "(?:.*\\.)*(?<!(link\\.|cdn\\-images\\-\\d+\\.))medium\\.com(\\/.*)?$", - "^towardsdatascience\\.com", - "^uxdesign\\.cc", - "^uxplanet\\.org", - "^betterprogramming\\.pub", - "^aninjusticemag\\.com", - "^betterhumans\\.pub", - "^psiloveyou\\.xyz", - "^entrepreneurshandbook\\.co", - "^blog\\.coinbase\\.com", - "^levelup\\.gitconnected\\.com ", - "^javascript\\.plainenglish\\.io ", - "^blog\\.bitsrc\\.io ", - "^itnext\\.io ", - "^codeburst\\.io ", - "^infosecwriteups\\.com ", - "^blog\\.devgenius\\.io ", - "^writingcooperative\\.com " - ], - "name": "Medium", - "defaults": { "disableMedium": false }, - "imageType": "svg" - }, - "quora": { - "frontends": { - "quetre": { - "preferences": {} - } - }, - "targets": ["^https?:\\/{2}(www\\.|)quora\\.com.*"], - "name": "Quora", - "defaults": { - "disableQuora": false - }, - "imageType": "png" - }, - "imdb": { - "frontends": { - "libremdb": { - "preferences": {} - } - }, - "targets": ["^https?:\\/{2}(?:www\\.|)imdb\\.com.*"], - "name": "IMDb", - "defaults": { - "disableImdb": true - }, - "imageType": "svg" - }, - "reuters": { - "frontends": { - "neuters": { - "preferences": {} - } - }, - "targets": ["^https?:\\/{2}(www\\.|)reuters\\.com.*"], - "name": "Reuters", - "defaults": { - "disableReuters": true - }, - "imageType": "svg" - }, - "peertube": { - "frontends": { - "simpleertube": { - "preferences": {} - } - }, - "targets": "datajson", - "name": "PeerTube", - "defaults": { - "disablePeertubeTargets": true - }, - "imageType": "svg" - }, - "lbry": { - "frontends": { - "librarian": { - "preferences": { - "cookies": ["nsfw", "theme"], - "localstorage": ["autoplay", "autoplayNextVid", "collapseComments", "plyr", "sb_categories", "showRelated"] - } - } - }, - "singleInstanceFrontends": ["lbryDesktop"], - "targets": ["^https?:\\/{2}odysee\\.com", "^https?:\\/{2}lbry\\.tv"], - "name": "LBRY", - "defaults": { - "disableLbryTargets": true, - "lbryFrontend": "librarian", - "lbryRedirectType": "both" - }, - "imageType": "png" - }, - "search": { - "frontends": { - "searx": { - "preferences": { - "cookies": [ - "advanced_search", - "autocomplete", - "categories", - "disabled_engines", - "disabled_plugins", - "doi_resolver", - "enabled_engines", - "enabled_plugins", - "image_proxy", - "language", - "locale", - "method", - "oscar-style", - "results_on_new_tab", - "safesearch", - "theme", - "tokens" - ] - } - }, - "searxng": { - "preferences": { - "cookies": [ - "autocomplete", - "categories", - "disabled_engines", - "disabled_plugins", - "doi_resolver", - "enabled_plugins", - "enabled_engines", - "image_proxy", - "infinite_scroll", - "language", - "locale", - "maintab", - "method", - "query_in_title", - "results_on_new_tab", - "safesearch", - "simple_style", - "theme", - "tokens" - ] - } - }, - "whoogle": { - "preferences": {} - }, - "librex": { - "preferences": { - "cookies": ["bibliogram", "disable_special", "invidious", "libreddit", "nitter", "proxitok", "theme", "wikiless"] - } - } - }, - "targets": ["^https?:\\/{2}search\\.libredirect\\.invalid"], - "name": "Search", - "defaults": { - "disableSearch": false, - "searchFrontend": "searxng", - "searxngCustomSettings": false - }, - "imageType": "svg" - }, - "translate": { - "frontends": { - "simplyTranslate": { - "preferences": { - "cookies": ["from_lang", "to_lang", "tts_enabled", "use_text_fields"] - } - }, - "lingva": { - "preferences": { - "localstorage": ["isauto", "source", "target"] - } - } - }, - "targets": ["^https?:\\/{2}translate\\.google(\\.[a-z]{2,3}){1,2}\\/"], - "name": "Translate", - "defaults": { - "translateDisable": false, - "translateFrontend": "simplyTranslate" - }, - "imageType": "svg" - }, - "maps": { - "frontends": { - "facil": { - "preferences": {} - } - }, - "singleInstanceFrontends": ["osm"], - "targets": ["^https?:\\/{2}(((www|maps)\\.)?(google\\.).*(\\/maps)|maps\\.(google\\.).*)"], - "name": "Maps", - "defaults": { - "disableMaps": false, - "mapsFrontend": "osm" - }, - "imageType": "svg" - }, - "sendTargets": { - "frontends": { - "send": { - "preferences": {} - } - }, - "targets": ["^https?:\\/{2}send\\.libredirect\\.invalid\\/$", "^https?:\\/{2}send\\.firefox\\.com\\/$", "^https?:\\/{2}sendfiles\\.online\\/$"], - "name": "Send Files", - "defaults": { - "disableSendTarget": false - }, - "imageType": "svg" - } - } -} +{ + "networks": { + "clearnet": { + "url": "org", + "name": "Clearnet" + }, + "tor": { + "url": "onion", + "name": "Tor" + }, + "i2p": { + "url": "i2p", + "name": "I2P" + }, + "loki": { + "url": "loki", + "name": "Lokinet" + } + }, + "services": { + "youtube": { + "frontends": { + "invidious": { + "preferences": { + "cookies": ["PREFS"] + } + }, + "piped": { + "preferences": { + "localstorage": [ + "bufferGoal", + "comments", + "disableLBRY", + "enabledCodecs", + "hl", + "homepage", + "instance", + "listen", + "minimizeDescription", + "playerAutoPlay", + "proxyLBRY", + "quality", + "region", + "selectedSkip", + "sponsorblock", + "theme", + "volume", + "watchHistory" + ] + } + }, + "pipedMaterial": { + "preferences": { + "localstorage": ["PREFERENCES"] + } + }, + "cloudtube": { + "preferences": { + "token": "token", + "fetchEndpoint": "/api/settings", + "setEndpoint": "/settings" + } + } + }, + "singleInstanceFrontends": ["freetube", "yatte"], + "targets": [ + "^https?:\\/{2}(www\\.|music\\.|m\\.|)youtube.com(\\/.*|$)", + "^https?:\\/{2}img\\.youtube.com\\/vi\\/.*\\/..*", + "^https?:\\/{2}(i|s)\\.ytimg.com\\/vi\\/.*\\/..*", + "^https?:\\/{2}(www\\.|music\\.|)youtube.com\\/watch?v=..*", + "^https?:\\/{2}youtu\\.be\\/..*", + "^https?:\\/{2}(www\\.|)(youtube|youtube-nocookie)\\.com\\/embed\\/..*" + ], + "name": "Youtube", + "defaults": { + "disableYoutube": false, + "enableYoutubeCustomSettings": false, + "onlyEmbeddedVideo": "both", + "youtubeFrontend": "invidious", + "youtubeEmbedFrontend": "invidious" + }, + "imageType": "png" + }, + "youtubeMusic": { + "frontends": { + "beatbump": {}, + "hyperpipe": {} + }, + "targets": ["^https?:\\/{2}music\\.youtube\\.com(\\/.*|$)"], + "name": "YT Music", + "defaults": { + "disableYoutubeMusic": false, + "youtubeMusicFrontend": "beatbump" + }, + "imageType": "png" + }, + "twitter": { + "frontends": { + "nitter": { + "preferences": { + "cookies": [ + "theme", + "infiniteScroll", + "stickyProfile", + "bidiSupport", + "hideTweetStats", + "hideBanner", + "hidePins", + "hideReplies", + "squareAvatars", + "mp4Playback", + "hlsPlayback", + "proxyVideos", + "muteVideos", + "autoplayGifs", + "replaceInstagram", + "replaceReddit", + "replaceTwitter", + "replaceYouTube" + ] + } + } + }, + "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", + "defaults": { + "disableTwitter": false, + "twitterRedirectType": "both" + }, + "imageType": "png" + }, + "instagram": { + "frontends": { + "bibliogram": { + "preferences": { + "token": "token", + "fetchEndpoint": "/settings.json", + "setEndpoint": "/applysettings" + } + } + }, + "targets": ["^https?:\\/{2}(www\\.)?instagram\\.com"], + "name": "Instagram", + "defaults": { + "disableInstagram": false + }, + "imageType": "png" + }, + "tiktok": { + "frontends": { + "proxiTok": {} + }, + "targets": ["^https?:\\/{2}(www\\.|)tiktok\\.com.*"], + "name": "TikTok", + "defaults": { + "disableTiktok": false + }, + "imageType": "png" + }, + "reddit": { + "frontends": { + "libreddit": { + "preferences": { + "cookies": ["theme", "front_page", "layout", "wide", "post_sort", "comment_sort", "show_nsfw", "autoplay_videos", "use_hls", "hide_hls_notification", "subscriptions", "filters"] + } + }, + "teddit": { + "preferences": { + "cookies": [ + "collapse_child_comments", + "domain_instagram", + "domain_twitter", + "domain_youtube", + "flairs", + "highlight_controversial", + "nsfw_enabled", + "post_media_max_height", + "show_upvoted_percentage", + "show_upvotes", + "theme", + "videos_muted" + ] + } + } + }, + "targets": ["^https?:\\/{2}(www\\.|old\\.|np\\.|new\\.|amp\\.|)reddit\\.com", "^https?:\\/{2}(i\\.|preview\\.)redd\\.it"], + "name": "Reddit", + "defaults": { + "disableReddit": false, + "redditFrontend": "libreddit" + }, + "imageType": "png" + }, + "imgur": { + "frontends": { + "rimgo": { + "preferences": {} + } + }, + "targets": ["^https?:\\/{2}([im]\\.)?imgur\\.(com|io)(\\/|$)"], + "name": "Imgur", + "defaults": { "disableImgur": false }, + "imageType": "png" + }, + "wikipedia": { + "frontends": { + "wikiless": { + "preferences": { + "cookies": ["theme", "default_lang"] + } + } + }, + "targets": ["^https?:\\/{2}([a-z]+\\.)*wikipedia\\.org"], + "name": "Wikipedia", + "defaults": { "disableWikipedia": true }, + "imageType": "svg" + }, + "medium": { + "frontends": { + "scribe": { + "preferences": {} + } + }, + "targets": [ + "(?:.*\\.)*(?<!(link\\.|cdn\\-images\\-\\d+\\.))medium\\.com(\\/.*)?$", + "^towardsdatascience\\.com", + "^uxdesign\\.cc", + "^uxplanet\\.org", + "^betterprogramming\\.pub", + "^aninjusticemag\\.com", + "^betterhumans\\.pub", + "^psiloveyou\\.xyz", + "^entrepreneurshandbook\\.co", + "^blog\\.coinbase\\.com", + "^levelup\\.gitconnected\\.com ", + "^javascript\\.plainenglish\\.io ", + "^blog\\.bitsrc\\.io ", + "^itnext\\.io ", + "^codeburst\\.io ", + "^infosecwriteups\\.com ", + "^blog\\.devgenius\\.io ", + "^writingcooperative\\.com " + ], + "name": "Medium", + "defaults": { "disableMedium": false }, + "imageType": "svg" + }, + "quora": { + "frontends": { + "quetre": { + "preferences": {} + } + }, + "targets": ["^https?:\\/{2}([a-z]+\\.)*quora\\.com.*"], + "name": "Quora", + "defaults": { + "disableQuora": false + }, + "imageType": "png" + }, + "imdb": { + "frontends": { + "libremdb": { + "preferences": {} + } + }, + "targets": ["^https?:\\/{2}(?:www\\.|)imdb\\.com.*"], + "name": "IMDb", + "defaults": { + "disableImdb": true + }, + "imageType": "svg" + }, + "reuters": { + "frontends": { + "neuters": { + "preferences": {} + } + }, + "targets": ["^https?:\\/{2}(www\\.|)reuters\\.com.*"], + "name": "Reuters", + "defaults": { + "disableReuters": true + }, + "imageType": "svg" + }, + "peertube": { + "frontends": { + "simpleertube": { + "preferences": {} + } + }, + "targets": "datajson", + "name": "PeerTube", + "defaults": { + "disablePeertubeTargets": true + }, + "imageType": "svg" + }, + "lbry": { + "frontends": { + "librarian": { + "preferences": { + "cookies": ["nsfw", "theme"], + "localstorage": ["autoplay", "autoplayNextVid", "collapseComments", "plyr", "sb_categories", "showRelated"] + } + } + }, + "singleInstanceFrontends": ["lbryDesktop"], + "targets": ["^https?:\\/{2}odysee\\.com", "^https?:\\/{2}lbry\\.tv"], + "name": "LBRY", + "defaults": { + "disableLbryTargets": true, + "lbryFrontend": "librarian", + "lbryRedirectType": "both" + }, + "imageType": "png" + }, + "search": { + "frontends": { + "searx": { + "preferences": { + "cookies": [ + "advanced_search", + "autocomplete", + "categories", + "disabled_engines", + "disabled_plugins", + "doi_resolver", + "enabled_engines", + "enabled_plugins", + "image_proxy", + "language", + "locale", + "method", + "oscar-style", + "results_on_new_tab", + "safesearch", + "theme", + "tokens" + ] + } + }, + "searxng": { + "preferences": { + "cookies": [ + "autocomplete", + "categories", + "disabled_engines", + "disabled_plugins", + "doi_resolver", + "enabled_plugins", + "enabled_engines", + "image_proxy", + "infinite_scroll", + "language", + "locale", + "maintab", + "method", + "query_in_title", + "results_on_new_tab", + "safesearch", + "simple_style", + "theme", + "tokens" + ] + } + }, + "whoogle": { + "preferences": {} + }, + "librex": { + "preferences": { + "cookies": ["bibliogram", "disable_special", "invidious", "libreddit", "nitter", "proxitok", "theme", "wikiless"] + } + } + }, + "targets": ["^https?:\\/{2}search\\.libredirect\\.invalid"], + "name": "Search", + "defaults": { + "disableSearch": false, + "searchFrontend": "searxng", + "searxngCustomSettings": false + }, + "imageType": "svg" + }, + "translate": { + "frontends": { + "simplyTranslate": { + "preferences": { + "cookies": ["from_lang", "to_lang", "tts_enabled", "use_text_fields"] + } + }, + "lingva": { + "preferences": { + "localstorage": ["isauto", "source", "target"] + } + } + }, + "targets": ["^https?:\\/{2}translate\\.google(\\.[a-z]{2,3}){1,2}\\/"], + "name": "Translate", + "defaults": { + "translateDisable": false, + "translateFrontend": "simplyTranslate" + }, + "imageType": "svg" + }, + "maps": { + "frontends": { + "facil": { + "preferences": {} + } + }, + "singleInstanceFrontends": ["osm"], + "targets": ["^https?:\\/{2}(((www|maps)\\.)?(google\\.).*(\\/maps)|maps\\.(google\\.).*)"], + "name": "Maps", + "defaults": { + "disableMaps": false, + "mapsFrontend": "osm" + }, + "imageType": "svg" + }, + "sendTargets": { + "frontends": { + "send": { + "preferences": {} + } + }, + "targets": ["^https?:\\/{2}send\\.libredirect\\.invalid\\/$", "^https?:\\/{2}send\\.firefox\\.com\\/$", "^https?:\\/{2}sendfiles\\.online\\/$"], + "name": "Send Files", + "defaults": { + "disableSendTarget": false + }, + "imageType": "svg" + } + } +} |