statik icon indicating copy to clipboard operation
statik copied to clipboard

Statik needs a good plugin system

Open thanethomson opened this issue 6 years ago • 8 comments

It's all good and well to be able to include custom template tags and filters, but there's some functionality (e.g. the Netlify deployment) that really should be provided by some kind of plugin.

The best plugin architecture would replace custom template tags and filters completely, and have the following properties:

  1. Simple to install: e.g. statik plugin install https://github.com/path-to/plugin or statik plugin install some_plugin_name (for plugins whose packages are on PyPI).
  2. Simple to remove: e.g. statik plugin uninstall https://github.com/path-to/plugin
  3. Automatically detected by Statik.
  4. Be able to provide custom template tags and filters.
  5. Be easily testable.

thanethomson avatar Jan 13 '19 09:01 thanethomson

Should consider refactoring Statik to use Cement as its underlying framework. Plugin functionality comes built-in.

thanethomson avatar Oct 13 '19 15:10 thanethomson

When is this happening @thanethomson ?

dennohpeter avatar May 19 '20 20:05 dennohpeter

we kinda need plugins now..

dennohpeter avatar May 19 '20 20:05 dennohpeter

@dennohpeter - feel free to build one and submit a PR! 😁

thanethomson avatar May 19 '20 20:05 thanethomson

😁😁😁👋

dennohpeter avatar May 19 '20 20:05 dennohpeter

A plugin or the cement integration thing...?

dennohpeter avatar May 19 '20 20:05 dennohpeter

A rebuild of Statik on top of Cement, since Cement comes with a plugin system.

I haven't had time to work on this in the past couple of months due to other pressures.

thanethomson avatar May 19 '20 20:05 thanethomson

ok got you :+1:

dennohpeter avatar May 19 '20 21:05 dennohpeter