Email or username:

Password:

Forgot your password?
Top-level
Tom Tailor :damnified:

@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.

3 comments
db0

@thomas Oh that sounds simple enough I could easily cook up a little python script to extract them from the DB or access.log into a redis and then have your app pull them on the other side. Do let me know when you have something you can share :)

Tom Tailor :damnified:

@db0 I will :) It needs some polishing (e.g. Configuration of some hardcodes values) but after that I guess it's ready to be open sourced.

Cc @luca

db0

@thomas @luca Excellent. Rock on Bruder 🤘

Go Up