wink icon indicating copy to clipboard operation
wink copied to clipboard

Guidelines / hooks for creating Wink addons / plugins

Open connecteev opened this issue 6 years ago • 5 comments
trafficstars

I know now that we want to keep Wink lightweight and avoid the bloat. At the same time I see here that you're open to wink addons or plugins to extend the functionality: https://github.com/writingink/wink/issues/115

I can think of several possible addons:

  1. Specify "Post Types" (like articles, podcast episodes, Quick Tips, etc) : This would involve adding a "type" field to the wink_posts table.
  2. Category hierarchy (Separate from tags)
  3. Front-end themes (with related posts, latest posts, etc)
  4. Commenting system etc etc etc

If there a set of guidelines / hooks for creating wink addons / plugins?

connecteev avatar Jan 11 '19 23:01 connecteev

Haven't thought about that yet TBH :) Will try to work on that in the next few weeks.

themsaid avatar Jan 14 '19 05:01 themsaid

Awesome, can't wait. Once we have the guidelines and hooks for creating extensions defined, the # of community contributions to Wink will start to take off. I can think of tons of ideas for packages to make wink more powerful as a CMS (like the ones above), and doing it this way will let you keep the core lean.

connecteev avatar Jan 15 '19 07:01 connecteev

I think this is a great approach. It would allow “Wink package creators” to submit their own functionality from the roadmap and ideas section and if those prove useful to the wider community, they could be merged into the core. We’re already using Wink in production for 2 client projects and would like to extend the functionality in terms of Categories, Localization and Multi-Lingual setup.

morpheus7CS avatar Jan 18 '19 11:01 morpheus7CS

Any thoughts on this, @themsaid ? I really want to add categories to mywink blog posts would be great to either add those or define how we can extend wink with plugins, while still being able to pull from the master codebase.

connecteev avatar Feb 15 '19 17:02 connecteev

"Multi-Lingual setup" would be the cherry on top of a cake!

ana-lisboa avatar Feb 26 '19 09:02 ana-lisboa