mirror of
https://github.com/benbusby/farside.git
synced 2025-04-20 10:58:42 +00:00
Manually clear out dead bibliogram instances
Also removes bibliogram from the auto-updater Bibliogram is discontinued, and many instances are going offline as a result. This clears out the ones that have already been deactivated, but the better solution would probably be to stop supporting bibliogram.
This commit is contained in:
parent
4f18793048
commit
b901d8a69c
3 changed files with 18 additions and 27 deletions
25
.github/workflows/update-instances.yml
vendored
25
.github/workflows/update-instances.yml
vendored
|
@ -37,19 +37,22 @@ jobs:
|
||||||
|
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
# Bibliogram update
|
# Bibliogram update
|
||||||
|
# NOTE: Bibliogram has been discontinued and the official instance
|
||||||
|
# at bibliogram.art is no longer around. Unless a new "official"
|
||||||
|
# instance pops up, Bibliogram will likely be removed from farside
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
curl -s https://bibliogram.art/api/instances | \
|
#curl -s https://bibliogram.art/api/instances | \
|
||||||
jq '[
|
#jq '[
|
||||||
.data |
|
#.data |
|
||||||
.[] |
|
#.[] |
|
||||||
select(.onion_site | not) |
|
#select(.onion_site | not) |
|
||||||
.address
|
#.address
|
||||||
] | sort' > bibliogram-tmp.json
|
#] | sort' > bibliogram-tmp.json
|
||||||
jq --slurpfile bibliogram bibliogram-tmp.json \
|
#jq --slurpfile bibliogram bibliogram-tmp.json \
|
||||||
'( .[] | select(.type == "bibliogram") )
|
#'( .[] | select(.type == "bibliogram") )
|
||||||
.instances |= $bibliogram[0]' services-full.json > services-tmp.json
|
#.instances |= $bibliogram[0]' services-full.json > services-tmp.json
|
||||||
|
|
||||||
apply_update
|
#apply_update
|
||||||
|
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
# searx update
|
# searx update
|
||||||
|
|
|
@ -70,20 +70,13 @@
|
||||||
{
|
{
|
||||||
"type": "bibliogram",
|
"type": "bibliogram",
|
||||||
"test_url": "/p/Ch2WRmiLMjj/",
|
"test_url": "/p/Ch2WRmiLMjj/",
|
||||||
"fallback": "https://bibliogram.art",
|
"fallback": "https://bibliogram.1d4.us",
|
||||||
"instances": [
|
"instances": [
|
||||||
"https://bib.actionsack.com",
|
|
||||||
"https://bibliogram.1d4.us",
|
"https://bibliogram.1d4.us",
|
||||||
"https://bibliogram.art",
|
|
||||||
"https://bibliogram.froth.zone",
|
"https://bibliogram.froth.zone",
|
||||||
"https://bibliogram.priv.pw",
|
"https://bibliogram.priv.pw",
|
||||||
"https://bibliogram.pussthecat.org",
|
|
||||||
"https://bibliogram.snopyta.org",
|
|
||||||
"https://ig.beparanoid.de",
|
"https://ig.beparanoid.de",
|
||||||
"https://ig.funami.tech",
|
"https://ig.tokhmi.xyz"
|
||||||
"https://ig.tokhmi.xyz",
|
|
||||||
"https://insta.trom.tf",
|
|
||||||
"https://insta.tromdienste.de"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -43,17 +43,12 @@
|
||||||
{
|
{
|
||||||
"type": "bibliogram",
|
"type": "bibliogram",
|
||||||
"test_url": "/p/Ch2WRmiLMjj/",
|
"test_url": "/p/Ch2WRmiLMjj/",
|
||||||
"fallback": "https://bibliogram.art",
|
"fallback": "https://bibliogram.1d4.us",
|
||||||
"instances": [
|
"instances": [
|
||||||
"https://bibliogram.1d4.us",
|
"https://bibliogram.1d4.us",
|
||||||
"https://bibliogram.art",
|
|
||||||
"https://bibliogram.froth.zone",
|
"https://bibliogram.froth.zone",
|
||||||
"https://bibliogram.priv.pw",
|
"https://bibliogram.priv.pw",
|
||||||
"https://bibliogram.pussthecat.org",
|
"https://ig.beparanoid.de"
|
||||||
"https://bibliogram.snopyta.org",
|
|
||||||
"https://ig.beparanoid.de",
|
|
||||||
"https://insta.trom.tf",
|
|
||||||
"https://insta.tromdienste.de"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue