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:
parent
ee2996e258
commit
21646f8f29
2 changed files with 33 additions and 7 deletions
15
.github/workflows/update-instances.yml
vendored
15
.github/workflows/update-instances.yml
vendored
|
@ -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
|
||||
# ==============================================================
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue