Merge pull request #1088 from Fijxu/add-phantom

Add phantom, another frontend for Breezewiki
This commit is contained in:
Ikel Atomig
2026-01-12 17:06:53 +05:30
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@@ -201,6 +201,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
if (query) return `${randomInstance}/search?query="${query}${mapCentre}&${utils.prefsEncoded(prefs)}`
return `${randomInstance}/${mapCentre}&${utils.prefsEncoded(prefs)}`
}
case "phantom":
case "breezeWiki": {
let wiki,
urlpath = ""
@@ -957,7 +958,8 @@ const defaultInstances = {
gocook: ["https://cook.adminforge.de"],
wikimore: ["https://wikimore.private.coffee"],
libreTranslate: ["https://libretranslate.com"],
cryptPad: ["https://cryptpad.org"]
cryptPad: ["https://cryptpad.org"],
phantom: ["https://phantom.kuuro.net"]
}
async function getDefaults() {

View File

@@ -513,6 +513,11 @@
"name": "BreezeWiki",
"instanceList": true,
"url": "https://breezewiki.com"
},
"phantom": {
"name": "Phantom",
"instanceList": true,
"url": "https://codeberg.org/phantom-org/phantom"
}
},
"targets": [