Open jtojnar opened 7 years ago
This would be very much appreciated. Currently the only way is to fork or hook in manually, very ugly and hard to maintain.
I kind of like how flarum handles extensions – extensions are composer packages that can define database migrations, routes, translations, etc. There is even an extension for installing extensions, using composer under the hood.
To allow users extending selfoss without the need for them to maintain their own forks, selfoss should offer a plug-in API. At the moment I would like to focus purely on server-side plug-ins.
For additional APIs like fever, calling the plug-in hook somewhere before dispatch should be enough since everything else is globally accessible ☢️
If anyone is interested in sketching this out you can look into how tt-rss does it.