docpad-plugin-minicms

Add admin features to docpad

Usage no npm install needed!

<script type="module">
  import docpadPluginMinicms from 'https://cdn.skypack.dev/docpad-plugin-minicms';
</script>

README

miniCMS

Add admin features to Docpad

screen1

An admin panel for Docpad?

I know there has been a lot of talk about defining a roadmap to build a docpad GUI, but I needed an admin panel with basic CMS features right now, so I just made one. It is far from being perfect but it works.

Key features

  • Configure everything on your docpad.coffee file: admin path, password, lists, filters, forms
  • List and Manage your content with a very easy user interface
  • Create forms to edit your content with built-in components: datepicker, wysiwyg, markdown, image upload, tags with autocomplete

How to use

Run docpad install minicms

Then, you should definitely take a look at the docpad.coffee file of the blog example project in order to know how to configure the plugin.

Demo

To run the demo, download the zip file including a blog example project.

Go to the examples/blog/ directory and run:

npm install
./app run

Then you can try the admin panel by going on http://localhost:9778/cms/ (access: admin/password) and see what it becomes on clicking the "Site" item of the navbar.

Articles listing in admin panel

screen2

Editing an article

screen4

Blog example resulting main page

screen3

Thanks to...

All these projects that were very helpful: