about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2024-05-21 00:37:57 +0300
committerManeraKai <manerakai@protonmail.com>2024-05-21 00:37:57 +0300
commit9ebfbd9e779b6a349ed13054dea90e81117f85bf (patch)
tree7d7d5e55f65741a9c4fd02ec78c17083c4388ba7 /src
parentAdded custom label to instances not from the public list https://github.com/l... (diff)
downloadlibredirect-9ebfbd9e779b6a349ed13054dea90e81117f85bf.zip
Added LightTube https://github.com/libredirect/browser_extension/issues/913
Diffstat (limited to 'src')
-rw-r--r--src/assets/javascripts/services.js2
-rw-r--r--src/config.json6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index 4f9fdac1..567ffc84 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -451,6 +451,7 @@ function rewrite(url, frontend, randomInstance) {
 		case "piped":
 		case "pipedMaterial":
 		case "cloudtube":
+		case "lightTube":
 		case "viewtube":
 			url.searchParams.delete("si")
 		default:
@@ -641,6 +642,7 @@ const defaultInstances = {
 	'piped': ['https://pipedapi-libre.kavin.rocks'],
 	'pipedMaterial': ['https://piped-material.xn--17b.net'],
 	'cloudtube': ['https://tube.cadence.moe'],
+	'lightTube': ['https://tube.kuylar.dev'],
 	'poketube': ['https://poketube.fun'],
 	'proxiTok': ['https://proxitok.pabloferreiro.es'],
 	'redlib': ['https://safereddit.com'],
diff --git a/src/config.json b/src/config.json
index 937ef37e..6985fac8 100644
--- a/src/config.json
+++ b/src/config.json
@@ -66,6 +66,12 @@
 						3
 					]
 				},
+				"lightTube": {
+					"name": "LightTube",
+					"embeddable": false,
+					"instanceList": true,
+					"url": "https://github.com/lighttube-org/LightTube"
+				},
 				"tuboYoutube": {
 					"name": "Tubo",
 					"embeddable": false,