ManeraKai 2025-01-27 22:32:50 +03:00
parent 5465f87494
commit 181b2518e2
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
2 changed files with 7 additions and 0 deletions

View File

@ -100,6 +100,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
if (/\/@[a-z]+\//.exec(url.pathname)) return randomInstance
return `${randomInstance}${url.pathname}${url.search}`
}
case "small":
case "libMedium":
case "scribe": {
const regex = url.hostname.match(/^(link|cdn-images-\d+|.*)\.medium\.com/)
@ -869,6 +870,7 @@ const defaultInstances = {
troddit: ["https://www.troddit.com"],
scribe: ["https://scribe.rip"],
libMedium: ["https://md.vern.cc"],
small: ["https://small.bloat.cat"],
quetre: ["https://quetre.iket.me"],
libremdb: ["https://libremdb.iket.me"],
simplyTranslate: ["https://simplytranslate.org"],

View File

@ -683,6 +683,11 @@
"name": "LibMedium",
"instanceList": true,
"url": "https://github.com/realaravinth/libmedium"
},
"small": {
"name": "Small",
"instanceList": true,
"url": "https://git.private.coffee/PrivateCoffee/small"
}
},
"targets": [