pump-io / pump.io

Social server with an ActivityStreams API
http://pump.io/
Apache License 2.0
2.21k stars 333 forks source link

Plugins #588

Open mart-e opened 11 years ago

mart-e commented 11 years ago

Hello,

Is there plans to have some kind of plugins and theming mechanism ? I know the idea of pump is to keep the core minimal and rely on external services to do stuff such as RSS, bridges & co but there is still things you will not be able to do as an external services.

For instance look at request #547, it shouldn't be in the core but still interesting. Same for the additions that jpope made (eg: this one) with no other choices than maintaining of fork of pump for theming and minor additions.

Also the problem of external services is that it works only per user vs per instance for theme and plugins (I think that both cases are useful).

Thanks

jpope777 commented 11 years ago

Evan mentioned the possibility of having a ./local directory where overrides (such as themes) could be dropped.

mart-e commented 11 years ago

This may work indeed. Would you be able to do some more complex stuff in it ? For instance I was thinking of an auto-refresh plugin like you have in StatusNet (or Twitter).

Also if we add this kind of mechanism, we need to have something easy enough to share theses additions between each other. For instance put your changes in ./local/my-changes/templates/layout.utml to be able to share only the my-changes/ directory. Of course, the problem would them be how to manage conflicts...

evanp commented 11 years ago

The web interface already has auto-refresh.

Martin Trigaux notifications@github.com wrote:

This may work indeed. Would you be able to do some more complex stuff in it ? For instance I was thinking of an auto-refresh plugin like you have in StatusNet (or Twitter).

Also if we add this kind of mechanism, we need to have something easy enough to share theses additions between each other. For instance put your changes in ./local/my-changes/templates/layout.utml to be able to share only the repository. Of course, the problem would them be how to manage conflicts...


Reply to this email directly or view it on GitHub: https://github.com/e14n/pump.io/issues/588#issuecomment-17454007

Sent from my Android phone with K-9 Mail. Please excuse my brevity.

mart-e commented 11 years ago

Ok my bad for autorefresh :)

evanp commented 11 years ago

There's rudimentary support for plugins in 0.3.x. I'm really dubious about them; I wouldn't count on continued support.