about summary refs log tree commit diff stats
path: root/src/config.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.json')
-rw-r--r--src/config.json32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/config.json b/src/config.json
index f0789a7b..19f85a12 100644
--- a/src/config.json
+++ b/src/config.json
@@ -173,6 +173,36 @@
 			"imageType": "png",
 			"url": "https://music.youtube.com"
 		},
+		"twitter": {
+			"frontends": {
+				"nitter": {
+					"name": "Nitter",
+					"embeddable": true,
+					"instanceList": true,
+					"url": "https://github.com/zedeus/nitter",
+					"localhost": true
+				}
+			},
+			"targets": [
+				"^https?:\\/{2}(www\\.|mobile\\.)?twitter\\.com\\/",
+				"^https?:\\/{2}(www\\.|mobile\\.)?x\\.com\\/",
+				"^https?:\\/{2}(pbs\\.|video\\.)twimg\\.com\\/",
+				"^https?:\\/{2}platform\\.x\\.com/embed\\/",
+				"^https?:\\/{2}platform\\.twitter\\.com/embed\\/",
+				"^https?:\\/{2}t\\.co\\/"
+			],
+			"name": "Twitter",
+			"options": {
+				"enabled": false,
+				"redirectType": "main_frame",
+				"unsupportedUrls": "bypass",
+				"frontend": "nitter",
+				"instance": "public"
+			},
+			"imageType": "png",
+			"embeddable": true,
+			"url": "https://twitter.com"
+		},
 		"bluesky": {
 			"frontends": {
 				"skyview": {
@@ -1079,4 +1109,4 @@
 			"url": "https://paste.libredirect.invalid"
 		}
 	}
-}
+}
\ No newline at end of file