summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2022-09-15 11:19:18 -0600
committerBen Busby <contact@benbusby.com>2022-09-15 11:19:18 -0600
commitb901d8a69ce4525f72448c52163900c22bd4b368 (patch)
tree6cadfb5b5e475291683bbe6ac6a9e90419537bc3
parent4f18793048f80afb1149cc23e81e4c2a3a63ff91 (diff)
downloadfarside-b901d8a69ce4525f72448c52163900c22bd4b368.tar.gz
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.
-rw-r--r--.github/workflows/update-instances.yml29
-rw-r--r--services-full.json11
-rw-r--r--services.json9
3 files changed, 20 insertions, 29 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml
index 7f483ac..91ee70a 100644
--- a/.github/workflows/update-instances.yml
+++ b/.github/workflows/update-instances.yml
@@ -37,19 +37,22 @@ jobs:
# ==============================================================
# Bibliogram update
- # ==============================================================
- curl -s https://bibliogram.art/api/instances | \
- jq '[
- .data |
- .[] |
- select(.onion_site | not) |
- .address
- ] | sort' > bibliogram-tmp.json
- jq --slurpfile bibliogram bibliogram-tmp.json \
- '( .[] | select(.type == "bibliogram") )
- .instances |= $bibliogram[0]' services-full.json > services-tmp.json
-
- apply_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 | \
+ #jq '[
+ #.data |
+ #.[] |
+ #select(.onion_site | not) |
+ #.address
+ #] | sort' > bibliogram-tmp.json
+ #jq --slurpfile bibliogram bibliogram-tmp.json \
+ #'( .[] | select(.type == "bibliogram") )
+ #.instances |= $bibliogram[0]' services-full.json > services-tmp.json
+
+ #apply_update
# ==============================================================
# searx update
diff --git a/services-full.json b/services-full.json
index d17e51a..80c0ec6 100644
--- a/services-full.json
+++ b/services-full.json
@@ -70,20 +70,13 @@
{
"type": "bibliogram",
"test_url": "/p/Ch2WRmiLMjj/",
- "fallback": "https://bibliogram.art",
+ "fallback": "https://bibliogram.1d4.us",
"instances": [
- "https://bib.actionsack.com",
"https://bibliogram.1d4.us",
- "https://bibliogram.art",
"https://bibliogram.froth.zone",
"https://bibliogram.priv.pw",
- "https://bibliogram.pussthecat.org",
- "https://bibliogram.snopyta.org",
"https://ig.beparanoid.de",
- "https://ig.funami.tech",
- "https://ig.tokhmi.xyz",
- "https://insta.trom.tf",
- "https://insta.tromdienste.de"
+ "https://ig.tokhmi.xyz"
]
},
{
diff --git a/services.json b/services.json
index 4802e6b..eb82fab 100644
--- a/services.json
+++ b/services.json
@@ -43,17 +43,12 @@
{
"type": "bibliogram",
"test_url": "/p/Ch2WRmiLMjj/",
- "fallback": "https://bibliogram.art",
+ "fallback": "https://bibliogram.1d4.us",
"instances": [
"https://bibliogram.1d4.us",
- "https://bibliogram.art",
"https://bibliogram.froth.zone",
"https://bibliogram.priv.pw",
- "https://bibliogram.pussthecat.org",
- "https://bibliogram.snopyta.org",
- "https://ig.beparanoid.de",
- "https://insta.trom.tf",
- "https://insta.tromdienste.de"
+ "https://ig.beparanoid.de"
]
},
{