dahlia / fedify

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

AdonisJS Integration #139

Open SquareDot3301 opened 1 month ago

SquareDot3301 commented 1 month 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 1 month 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.