diff options
| author | sian1468 <58017832+sian1468@users.noreply.github.com> | 2024-02-05 23:38:42 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-05 09:38:42 -0700 |
| commit | 40855bb77efd2f86925c9ac89e2a705439df3b46 (patch) | |
| tree | 361cd23484e9bd93a569cf4b34158b605d81fd11 | |
| parent | 42386394f966abedf40e4d70c966f7b1e72dfd45 (diff) | |
| download | farside-40855bb77efd2f86925c9ac89e2a705439df3b46.tar.gz | |
Add auto update for rimgo (#152)
| -rw-r--r-- | .github/workflows/update-instances.yml | 16 | ||||
| -rw-r--r-- | services-full.json | 35 |
2 files changed, 36 insertions, 15 deletions
diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 608942a..a047b2a 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -264,6 +264,22 @@ jobs: apply_update # ============================================================== + # Rimgo update + # ============================================================== + + curl -s https://rimgo.codeberg.page/api.json | \ + jq '[ + .clearnet[] | + .url] | + sort' > rimgo-tmp.json + + jq --slurpfile rimgo rimgo-tmp.json \ + '(.[] | select(.type == "rimgo") ) + .instances |= $rimgo[0]' services-full.json > services-tmp.json + + apply_update + + # ============================================================== # TODO: Update instances for other services # ============================================================== diff --git a/services-full.json b/services-full.json index 037db3c..c3ffb59 100644 --- a/services-full.json +++ b/services-full.json @@ -237,26 +237,31 @@ { "type": "rimgo", "test_url": "/a/H8M4rcp", - "fallback": "https://i.bcow.xyz", + "fallback": "https://rimgo.projectsegfau.lt", "instances": [ - "https://i.bcow.xyz", - "https://rimgo.pussthecat.org", - "https://rimgo.totaldarkness.net", - "https://rimgo.bus-hit.me", - "https://imgur.artemislena.eu", - "https://rimgo.vern.cc", - "https://rim.odyssey346.dev", "https://i.habedieeh.re", - "https://rimgo.hostux.net", + "https://imgur.010032.xyz", + "https://imgur.artemislena.eu", "https://ri.zzls.xyz", - "https://rimgo.lunar.icu", + "https://rimgo.bus-hit.me", + "https://rimgo.catsarch.com", + "https://rimgo.drgns.space", + "https://rimgo.ducks.party", + "https://rimgo.eu.projectsegfau.lt", + "https://rimgo.fascinated.cc", + "https://rimgo.frontendfriendly.xyz", + "https://rimgo.frylo.net", + "https://rimgo.hostux.net", + "https://rimgo.in.projectsegfau.lt", "https://rimgo.kling.gg", - "https://i.01r.xyz", + "https://rimgo.lunar.icu", + "https://rimgo.nohost.network", "https://rimgo.projectsegfau.lt", - "https://rimgo.fascinated.cc", - "https://rimgo.whateveritworks.org", - "https://rimgo.catsarch.com", - "https://rimgo.frontendfriendly.xyz" + "https://rimgo.pussthecat.org", + "https://rimgo.quantenzitrone.eu", + "https://rimgo.totaldarkness.net", + "https://rimgo.us.projectsegfau.lt", + "https://rimgo.whateveritworks.org" ] }, { |
