fossar / selfoss

multipurpose rss reader, live stream, mashup, aggregation web application
https://selfoss.aditu.de
GNU General Public License v3.0
2.37k stars 343 forks source link

Plug-in system #877

Open jtojnar opened 7 years ago

jtojnar commented 7 years ago

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.

amaccuish commented 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.

jtojnar commented 7 years ago

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.