maltfield

joined 2 years ago
[–] maltfield@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (1 children)

wait but there's three states. If it's not allowlist then it's either open or blocklist -- according to the documentation.

Are you suggesting that if both are null then the federation state is set to open?

[–] maltfield@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (3 children)

Thanks! I can't find any field that specifies open or blocklist or allowlist but I do see arrays for linked and allowed and blocked. My best-guess is:

  • if allowed is not null, then the server's federation is in allowlist state
  • if blocked is not null, then the server's federation is in blocklist state

...but I could be totally wrong

And I don't know how to determine if the server's federation state is open.

It would be good if we had three example servers -- one in each state (open, blocklist, and allowlist) so that I could compare the API's output for each.

Edit: /u/Nutomic clarified this on GitHub:

Regarding "federation state": You can have a blocklist, then Lemmy will federate with every instance except blocked ones. Or have an allowlist, then it will only federate with the allowed ones. If neither is set then it also federate with everything. Using allowlist and blocklist together doesnt make much sense, then it would only federate with allowed instances which are not in the blocklist.

[–] maltfield@lemmy.ml 1 points 2 years ago (3 children)

The sourcecode is here afaict https://codeberg.org/wintermute/lemmymap

It says they use lemmy-stats-crawler, but I can't get it to run on Debian 11. And I can't open issues on that repo.

[–] maltfield@lemmy.ml 3 points 2 years ago (5 children)

thanks! Unfortunately that site is basically unuseable for me, but perhaps if we dig into their code, we'll find how they figure out the federation state..

[–] maltfield@lemmy.ml 2 points 2 years ago

anyway, I'm posting here to figure out what data can be queried. Otherwise, it's manual entry and that's a maintenance nightmare.

[–] maltfield@lemmy.ml 3 points 2 years ago (2 children)

that's my issue ;)

[–] maltfield@lemmy.ml 2 points 2 years ago

Related: see also my feature request for join-lemmy.org to display this information about each instance in a data table that compares each instance available:

[–] maltfield@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) (1 children)

Can you post a video or written guide that shows me [a] how to actually see lemmy content inside mastodon and [b] how to see mastodon content inside lemmy?

Explainer videos are good, but I want to see screenshots of the UI and step-by-step instructions.

view more: ‹ prev next ›