Post AoKgiWXQ5takGvTSMK by AJ02m2RByuKqNy0eES.tassoman@orwell.fun
(DIR) More posts by AJ02m2RByuKqNy0eES.tassoman@orwell.fun
(DIR) Post #AoKAhSlrPwj3lXg9ui by AJ02m2RByuKqNy0eES.tassoman@orwell.fun
2024-11-23T01:11:51.764361Z
0 likes, 0 repeats
@mkljczk do you have information about existence of kind-of Pleroma's api client such as masto.js ? https://github.com/neet/masto.js/cc @alex @0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd
(DIR) Post #AoKAhTwX3kr9OvgCBc by 0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd@mostr.pub
2024-11-23T05:21:46.000Z
0 likes, 0 repeats
I think mkljczk has one similar. I went a different approach and made a thin wrapper around `fetch`: https://gitlab.com/soapbox-pub/soapbox/-/blob/main/src/api/MastodonClient.ts
(DIR) Post #AoKRU6vd0xC5TkSzlA by mkljczk@pl.fediverse.pl
2024-11-23T08:29:58.304810Z
0 likes, 0 repeats
I use my own, it should support the entire pleroma API except some admin stuffhttps://www.npmjs.com/package/pl-api
(DIR) Post #AoKb3kUGpKn7tIjr4S by AJ02m2RByuKqNy0eES.tassoman@orwell.fun
2024-11-23T10:14:47.263986Z
0 likes, 0 repeats
cool thanks! Is that the starting point for your pl-api? 🤔
(DIR) Post #AoKb3l0WtOazVLpcLw by mkljczk@pl.fediverse.pl
2024-11-23T10:17:13.075921Z
0 likes, 0 repeats
What do you mean? It fully supports Mastodon API (according to the official documentation) and also implements features of its extensions like whatever Pleroma, Mitra, GoToSocial, Akkoma and so do. It uses minor parts of Mastodon/Soapbox code and some concepts from Soapbox, most importantly features definitions. And the responses are validated client-side so it’s typesafe
(DIR) Post #AoKgiWXQ5takGvTSMK by AJ02m2RByuKqNy0eES.tassoman@orwell.fun
2024-11-23T11:14:12.737775Z
0 likes, 0 repeats
Sure, I mean your pl-api package. I'm wondering if can be enveloped into an Elk Zone fork 🤔
(DIR) Post #AoKgiXkvZ9zU36nl3I by mkljczk@pl.fediverse.pl
2024-11-23T11:20:37.174346Z
0 likes, 0 repeats
It has nothing in common with masto.js, so it would involve rewriting a lot of Elk code
(DIR) Post #AoKgiYwf90yJjnIdyy by AJ02m2RByuKqNy0eES.tassoman@orwell.fun
2024-11-23T11:17:48.057005Z
0 likes, 0 repeats
I'm also interested on supporting #Misskey funny outputs by MFM integration https://github.com/misskey-dev/mfm.js
(DIR) Post #AoKiHrPGb5xf5H4f1E by AJ02m2RByuKqNy0eES.tassoman@orwell.fun
2024-11-23T11:25:39.311841Z
0 likes, 0 repeats
#ActivityPub #fediverse really needs a middleware framework to allow anyone writing custom clients supporting wide enough variety of servers, if servers don't agree to follow each other. Diversity is good but makes fragmentation.
(DIR) Post #AoKiHsMT2zJg2slwIK by mkljczk@pl.fediverse.pl
2024-11-23T11:38:12.853763Z
0 likes, 0 repeats
There’s already the ActivityPub cliënt 2 server API and the de facto standaard Mastodon API. This is enough.