@db0 It's written in Go :)
5 comments
@db0 the interface to Mastodon is actually just a Redis Pub/sub interface. A small patch for the Mastodon source makes Mastodon write the names of connected hosts to Redis. The hostnames are then retrieved by my tool, and translated into coordinates. If there is a way to publish the hostnames of connected AP nodes to Redis, it should work for Lemmy as well. |
@thomas Ah I won't be able to adapt it easily then. Is it polling your DB directly, or using an API?