Metalsmith Plugin


#1

Just started using Cockpit and loving it so far…

I wanted to use it as the CMS for generating static sites with Metalsmith.io. I couldn’t find anything out there so have started to create a Metalsmith plugin that can retrieve resources from the Cockpit API and add them to the metalsmith files object for processing.

It’s the first Metalsmith plugin I’ve created (and first package I’ve created intended for NPM) and I’ve only just started using Cockpit too so would really appreciate any and all feedback on features I may have missed or people would find useful

EDIT: This is now available on NPM - https://www.npmjs.com/package/metalsmith-cockpit