dahlia / fedify

ActivityPub server framework in TypeScript
https://fedify.dev/
MIT License
588 stars 32 forks source link

AdonisJS Integration #139

Open SquareDot3301 opened 2 months ago

SquareDot3301 commented 2 months ago

Helloooo I think I'm not the only one who want Fedify in AdonisJS ! It should be possible because AdonisJS supports custom middleware and, since the V6, the ESM packages ! But I don't have any ideas to solve the problem : how to implement ? A person on the discord of AdoniJS tells me : So the middleware will return a response, and works with the raw request, which I think is possible to get from Adonis' Request class But I tryed and, obviously it doesn't work. I think integreate Fedify in AdonisJS should be an advance because Adonis has a big community instead of the others web frameworks x) Anyone have an idea to integreate ?

dahlia commented 2 months ago

Since I'm new to AdonisJS, I'll have to take a look at it. I'll play around with it a bit and let you know.

ThisIsMissEm commented 1 month ago

That might actually be me being quoted there. I am looking at hacking on this, but I'm wanted to make the API work in an "adonis-like" manner with loaders and such for endpoints/resolvers