aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-22 21:35:54 +0200
committerSoispha <soispha@vhack.eu>2023-10-22 21:35:54 +0200
commit96d917db0d372ebae7de7147548a9c3dfede3725 (patch)
treea759fae0ad05ab3dacec5b830d5f17aa4aa85e15 /src
parentfix(manifest.json): Change the extension id (diff)
downloadlibredirect-96d917db0d372ebae7de7147548a9c3dfede3725.zip
feat(src): Actually set the default config
Diffstat (limited to '')
-rw-r--r--src/assets/javascripts/services.js87
-rw-r--r--src/config.json4
2 files changed, 46 insertions, 45 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index cfaba48e..6610b3d7 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -645,49 +645,50 @@ async function reverse(url) {
}
const defaultInstances = {
- 'invidious': ['https://inv.vern.cc'],
- 'piped': ['https://pipedapi-libre.kavin.rocks'],
- 'pipedMaterial': ['https://piped-material.xn--17b.net'],
- 'cloudtube': ['https://tube.cadence.moe'],
- 'poketube': ['https://poketube.fun'],
- 'proxiTok': ['https://proxitok.pabloferreiro.es'],
- 'nitter': ['https://nitter.net'],
- 'libreddit': ['https://libreddit.spike.codes'],
- 'teddit': ['https://teddit.net'],
- 'scribe': ['https://scribe.rip'],
- 'libMedium': ['https://md.vern.cc'],
- 'quetre': ['https://quetre.iket.me'],
- 'libremdb': ['https://libremdb.iket.me'],
- 'simplyTranslate': ['https://simplytranslate.org'],
- 'searxng': ['https://search.bus-hit.me'],
- '4get': ['https://4get.ca'],
- 'rimgo': ['https://rimgo.vern.cc'],
- 'hyperpipe': ['https://hyperpipe.surge.sh'],
- 'facil': [' https://facilmap.org '],
- 'osm': ['https://www.openstreetmap.org'],
- 'breezeWiki': ['https://breezewiki.com'],
- 'neuters': ['https://neuters.de'],
- 'dumb': ['https://dm.vern.cc'],
- "intellectual": ['https://intellectual.insprill.net'],
- 'ruralDictionary': ['https://rd.vern.cc'],
- 'anonymousOverflow': ['https://code.whatever.social'],
- 'biblioReads': ['https://biblioreads.ml'],
- 'wikiless': ['https://wikiless.org'],
- 'suds': ['https://sd.vern.cc'],
- 'waybackClassic': ['https://wayback-classic.net'],
- 'gothub': ['https://gh.odyssey346.dev'],
- 'mikuInvidious': ['https://mikuinv.resrv.org'],
- "tent": ['https://tent.sny.sh'],
- "wolfreeAlpha": ['https://gqq.gitlab.io', 'https://uqq.gitlab.io'],
- "laboratory": ['https://lab.vern.cc'],
- 'binternet': ['https://binternet.ahwx.org'],
- 'pixivFe': ['https://pixivfe.exozy.me'],
- 'indestructables': ['https://indestructables.private.coffee'],
- 'destructables': ['https://ds.vern.cc'],
- 'safetwitch': ['https://safetwitch.drgns.space'],
- 'proxigram': ['https://proxigram.privacyfrontends.repl.co'],
- 'tuboYoutube': ['https://tubo.migalmoreno.com'],
- 'tuboSoundcloud': ['https://tubo.migalmoreno.com'],
+ // This is still a little bit flaky, thus not activated by default
+ 'invidious': [ 'https://invidious.vhack.eu' ],
+ 'piped': [ ],
+ 'pipedMaterial': [ ],
+ 'cloudtube': [ ],
+ 'poketube': [ ],
+ 'proxiTok': [ ],
+ 'nitter': [ ],
+ 'libreddit': [ 'https://libreddit.vhack.eu' ],
+ 'teddit': [ ],
+ 'scribe': [ ],
+ 'libMedium': [ ],
+ 'quetre': [ ],
+ 'libremdb': [ ],
+ 'simplyTranslate': [ ],
+ 'searxng': [ ],
+ '4get': [ ],
+ 'rimgo': [ ],
+ 'hyperpipe': [ ],
+ 'facil': [ ],
+ 'osm': [ ],
+ 'breezeWiki': [ ],
+ 'neuters': [ ],
+ 'dumb': [ ],
+ "intellectual": [ ],
+ 'ruralDictionary': [ ],
+ 'anonymousOverflow': [ ],
+ 'biblioReads': [ ],
+ 'wikiless': [ ],
+ 'suds': [ ],
+ 'waybackClassic': [ ],
+ 'gothub': [ ],
+ 'mikuInvidious': [ ],
+ "tent": [ ],
+ "wolfreeAlpha": [ ],
+ "laboratory": [ ],
+ 'binternet': [ ],
+ 'pixivFe': [ ],
+ 'indestructables': [ ],
+ 'destructables': [ ],
+ 'safetwitch': [ ],
+ 'proxigram': [ ],
+ 'tuboYoutube': [ ],
+ 'tuboSoundcloud': [ ]
}
function initDefaults() {
diff --git a/src/config.json b/src/config.json
index 8e73d685..03660afc 100644
--- a/src/config.json
+++ b/src/config.json
@@ -265,7 +265,7 @@
],
"name": "Reddit",
"options": {
- "enabled": false,
+ "enabled": true,
"frontend": "libreddit",
"unsupportedUrls": "bypass",
"instance": "public"
@@ -932,4 +932,4 @@
"url": "https://www.wolframalpha.com"
}
}
-} \ No newline at end of file
+}