1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-24 20:50:02 +00:00

Add support for Wikiless instances

"A free open source alternative Wikipedia front-end focused on privacy"
- https://codeberg.org/orenom/Wikiless
This commit is contained in:
Ben Busby 2022-02-24 17:27:34 -07:00
parent ee2996e258
commit 21646f8f29
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
2 changed files with 33 additions and 7 deletions

View file

@ -126,6 +126,21 @@ jobs:
apply_update
# ==============================================================
# Wikiless update
# ==============================================================
curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
jq '[
.[] |
"https://" +
select(. | contains(".onion") | not)] |
sort' > wikiless-tmp.json
jq --slurpfile wikiless wikiless-tmp.json \
'( .[] | select(.type == "wikiless") )
.instances |= $wikiless[0]' services.json > services-tmp.json
apply_update
# ==============================================================
# TODO: Update instances for other services
# ==============================================================

View file

@ -250,5 +250,16 @@
"https://sx.fedi.tech",
"https://www.webrats.xyz"
]
},
{
"type": "wikiless",
"test_url": "/wiki/Wikipedia?lang=en",
"fallback": "https://wikiless.org",
"instances": [
"https://wiki.604kph.xyz",
"https://wikiless.alefvanoon.xyz",
"https://wikiless.org",
"https://wikiless.sethforprivacy.com"
]
}
]