Consensus
Sat 28 Sep 2024 3:57PM

[Discussion] How do we tell people what nodes are open and which they can join?

V vis Public Seen by 33

Here's some brief options:

Quick and dirty: A list of nodes accepting public signups on bookstack. This can be as simple as links to public nodes, whose homepages should give info on whether they are currently opening signups

Something something webhooks to automatically update the bookstack based on which nodes are open (https://docs.joinmastodon.org/methods/instance/#v2: i believe we can get the registration status of nodes through the mastodon API, but we should test this)

Suggest other options below!

V

vis Sat 28 Sep 2024 4:23PM

Just checked, and the API GET /api/v1/instance does return { registrations: true } on akkoma. It's part of the mastodon api, so it should also work on gts instances.

It also returns a full list of allowlisted instances. That... might be something to look at turning off.

V

vis Sat 28 Sep 2024 4:24PM

works on GTS, as well.

WM

walking mirage Sun 29 Sep 2024 8:03AM

@v1s1n Is there any reason why the full allowlist shouldn't be public?

V

vis Mon 30 Sep 2024 1:33PM

@walking mirage im honestly not sure. maybe not at this juncture.

E

easrng Sat 28 Sep 2024 4:54PM


~ $ echo "<ul>"; curl -s 'https://docs.google.com/spreadsheets/u/0/d/1iCzy3RYuSilKuCwwh94hqh1ar9yKc5_cnnwYpW2hVIA/gviz/tq?tqx=out:csv&tq=SELECT%20B%20WHERE%20C%20=%20%27yes%27' | tail -n +2 | sed -E 's|^"(.+)"$|https://\1/api/v1/instance|' | xargs curl -s | jq 'select(.registrations) | . as $instance | "  <li><a href=\"\(@html "\($instance.uri)")\">\(@html "\($instance.uri|split("/")[2])")</a></li>"' --raw-output; echo "</ul>"
<ul>
  <li><a href="https://lilypad.frogge.cafe">lilypad.frogge.cafe</a></li>
  <li><a href="https://pleasetf.me">pleasetf.me</a></li>
  <li><a href="https://akkoma.questingbeast.fyi">akkoma.questingbeast.fyi</a></li>
  <li><a href="https://in.the.radiokids.zone">in.the.radiokids.zone</a></li>
</ul>
~ $
V

vis Sat 28 Sep 2024 5:43PM

@easrng this would work! assuming we keep the google doc canonical, which I don't think is the plan.

V

vis Sat 28 Sep 2024 7:56PM

I created a bookstack page for the public list as a stopgap. If we can find a way to update that automatically, that would be better.

R

ruby Sun 29 Sep 2024 7:57AM

There's probably overlap in @kouhai's wl-spanner tool here, since that's functionally a centralized list of nodes already - would be interested in her thoughts there

K

kouhai Wed 2 Oct 2024 6:22PM

@srxl I plan on implementing
liveliness pings, but that’s just a data source. It still needs transformation into a viewable page. Not hard, but still needs a bootstrap page or whatever.