TheKinrar / instances

Mastodon instances list
https://instances.social
GNU Affero General Public License v3.0
241 stars 25 forks source link

Support other fediverse software #51

Open lanodan opened 6 years ago

lanodan commented 6 years ago

For registeration status you can ask pleroma about it with /api/statusnet/config.json Example open registeration:

{"site":{"closed":"0","name":"Pleroma/Soykaf","server":"https://pleroma.soykaf.com","textlimit":"5000"}}

Example closed registeration:

{"site":{"closed":"1","name":"Social HacKtivism","server":"https://social.hacktivis.me","textlimit":"5000"}}
LemmaEOF commented 6 years ago

Would it be possible to support MissKey as well?

lanodan commented 6 years ago

I looked at the MissKey documentation about a month ago and the API wasn’t mastodon compatible, and I’m pretty sure it’s still not. Pleroma basically ended up in this list but wasn’t nicely supported (no version and registration status) because it have the mastodon API and wasn’t really distinguishable from a Mastodon except with the version string. And for an alternative there is https://fediverse.network which does a list of instances too, but uses the data differently.

Cl0v1s commented 3 years ago

Is this issue still interesting ? Pleroma support would be great, and since https://fediverse.network is down, there isn't an alternative

TheKinrar commented 3 years ago

I would really like to do a rewrite of instances.social some day when I get time, and Pleroma support would sure be a thing if I do so, so I'll keep this issue open in the meantime

TheKinrar commented 3 years ago

Maybe not a full rewrite but there's much work to do in order to make it more reliable, it really is a mess currently

Cl0v1s commented 3 years ago

In fact, I found the code pretty understandable + pleroma is already supported apparently. The only thing missing from what I can tell is removing the check here. (Assuming that there is an entry in the DB for Pleroma in the 'Software' document with the PK 2).

All the calls to Instance.prototype.getMastodonInstanceInfo are compliant with what I can read in the docs. (Yeah the func's name isn't perfect if pleroma tolerant but...)

Even the registration status mentioned sooner is implemented ! :D

TheKinrar commented 3 years ago

Okay, I'll have a look at it in the next days and will post an update here :)

Cl0v1s commented 3 years ago

Thanks a lot mate, if you need some help (for testing or anything), I'll be more than happy to help !

TheKinrar commented 3 years ago

Oh, it's about the admin space part. To be honest I thought about removing this. Instances now have more standardized ways of describing themselves

TheKinrar commented 3 years ago

I'll let you know if I need some help! :)

TheKinrar commented 3 years ago

@Cl0v1s I've allowed admin access for Pleroma admins in f672f51a0b5ed77adf92601b7e7f51d95b4df4d1. :)

It should work, as the reason for preventing that previously was not a technical one: instances.social was meant to be a mastodon instances list only, and still has the title "Mastodon instances" as of today. However as I want to support other fediverse software too, I guess it's fine.

Cl0v1s commented 3 years ago

Thanks a lot for your time ! :D

downeymj commented 1 year ago

It should work, as the reason for preventing that previously was not a technical one: instances.social was meant to be a mastodon instances list only, and still has the title "Mastodon instances" as of today. However as I want to support other fediverse software too, I guess it's fine.

Any chance it's possible to remove/modify the "Mastodon instances" title and other UI copy? Newer people seem to be confused thinking everything listed is Mastodon when it's now Pixelfed, Pleroma, etc.