CyberFurz / furryfediverse-site

https://furryfediverse.org
MIT License
11 stars 10 forks source link

Calckey/Misskey support #23

Closed ThatOneCalculator closed 1 year ago

ThatOneCalculator commented 1 year ago

API docs: https://i.calckey.cloud/api-doc

JS lib: https://www.npmjs.com/package/calckey-js

hack13 commented 1 year ago

Thank you, I am looking through the API docs here... I am seeing where I can pull some of the information we collect from... but I am trying to locate 2 pieces I cannot find:

hack13 commented 1 year ago

Ok... nvm I found where to get your banner image... I am still needing a way to get your instance owner/maintaner I see how to get the email... but not their account to DM them.

Pokefan5 commented 1 year ago

The only endpoint to list admin users requires credentials

The alternative seems to be to scrape the public user search until you find an admin user

ThatOneCalculator commented 1 year ago

Ok... nvm I found where to get your banner image... I am still needing a way to get your instance owner/maintaner I see how to get the email... but not their account to DM them.

I don't see why an admin account would need to be public info, an email should be enough if they wish to share that.

hack13 commented 1 year ago

We have internally talked about it, and think if your instance is a misskey/calckey it will prompt you to put in your admin username, we will check against the API for "isAdmin" then send the DM to the admin to confirm they have pemrission to add the instance to the list.

ineffyble commented 1 year ago

Should possibly also add a Misskey app to the recommended apps section in some form, since unfortunately none of the Mastodon apps have Misskey support.

hack13 commented 1 year ago

@ineffyble can you please suggest an Android and iOS since I don't have much experience with the Misskey forks.

ineffyble commented 1 year ago

@ThatOneCalculator I think I'd defer to you for this, but I know there's not many options at all.

ThatOneCalculator commented 1 year ago

For iOS and Android, the most complete option is going to be the PWA (install/add to home screen option on your browser). It has offline support, notifications, etc and acts like a native app.

For actual native apps, there's a couple choices for Android:

iOS:

SailfishOS, Linux mobile:

None at the time of writing this.

ineffyble commented 1 year ago

I've implemented partial support in https://github.com/ineffyble/transfediverse now but it's very hacky:

Working:

Not working:

hack13 commented 1 year ago

thank you for these contributions, I have been pretty busy, so I haven't had a chance to really look at this in a while. I will look at adapting some of the work you have done.

hack13 commented 1 year ago

Patched, closing