1
submitted 1 year ago by esty@gayboyz.space to c/fediverse@lemmy.ml

@fediverse how do you defederate instances on akkoma?

i just set up this akkoma instance (that im posting from right now c: ) and before i move all my stuff over i want to add this list of domains to block https://writer.oliphant.social/oliphant/the-oliphant-social-blocklist i just dont get how to do it, does anyone know?

you are viewing a single comment's thread
view the rest of the comments
[-] Max_P@lemmy.max-p.me 1 points 1 year ago

That's gonna get old fast with an influx of non-lemmy instance users.

Autofixing of those would be nice

[-] lemann@lemmy.one 2 points 1 year ago

@rikodou@lemmings.world would it be possible to update this to only respond to users posting from a Lemmy or Kbin instance?

We cam detect this at the moment by requesting /.well-known/nodeinfo.json and following the link in the href key

https://lemmy.one/.well-known/nodeinfo

https://lemmy.one/nodeinfo/2.0.json

Kbin's nodeinfo includes escape chars though, but I don't think that would cause too much of a problem

https://kbin.social/.well-known/nodeinfo

Wonder if there is a library that could handle the detection part? I can try and contribute if one doesn't exist

Could also consider persisting the instance software to a local (sqlite?) database to save additional requests whenever a message comes in from a known instance

[-] rikudou@lemmings.world 2 points 1 year ago

Sounds nice, I'll look into that!

this post was submitted on 12 Jul 2023
1 points (66.7% liked)

Fediverse

17734 readers
35 users here now

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of "federation" and "universe".

Getting started on Fediverse;

founded 5 years ago
MODERATORS