Nabu is an simple, node.js powered, static site generator heavily inspired by Jekyll.
The goals of this tool are:
A website built with nabu is a result of a lot of small pieces working together. If you're new to nabu, it's hard to build a big picture view of all that's going on. Hopefully this will help!
nabu-cliis a simple tool that loads the locally installed (ie: the current folder) version of nabu. Apart from telling nabu what to do, it also gives you tools to easily create a new nabu site
nabuis the core library. It's responsible for loading files, reading the config, setting up nabu plugins into the render pipeline and providing methods that most plugins will use
naburuns through this list in serial, each plugin building off the work of the previous. Plugins are installed using npm. See the Plugins section for more detail
_, like the aforementioned
_config.json, are files specifically for nabu to reference or transform during site generation. For example,
_postscontain markdown files consumed by the
nabu-blog. You may already be familiar with this pattern from Jekyll.
To use nabu, you first need the nabu-cli module globally installed:
npm install -g nabu-cli
After the cli is installed, it's time to create the foundation your site will be built on top of:
mkdir my-blog && cd my-blog nabu init
init command will