johnae / spook

Lightweight programmable evented utility based on LuaJIT and ljsyscall
Other
35 stars 0 forks source link

Build a plugin architecture #8

Closed johnae closed 8 years ago

johnae commented 8 years ago

It's kind of there but pretty much open, which I like. For notifiers and such it might be useful though to have some directory structure on disk where things are supposed to go. What kind of plugins should be enabled? As of now there's really just notifiers.

johnae commented 8 years ago

This is sort of done in 0.5.0-dev which will be released soon. It's really quite simple - load all notifiers from subdirs. That way they can be organized. The default is now to load notifiers from $HOME/.spook/notifiers.