Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including blode with all npm packages installed. Try it out:

blode lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("blode/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

blode v0.1.2

A simple static site/blog generator like jekyll.


A simple static site/blog generator like jekyll but simpler, made in node.js


$npm install blode -g


|-- config.json
|-- static
|-- layouts
|   |-- main.html
|-- pages
|   |--
|   |   main
|   |   |--
|-- output


Main site configuration.


All static files like html, images, documents, etc. They'll be copied to the output folder.


Layout files represented as doT html files (allowed extensions: .htm, .html). Somewhere in your layout you must define a variable called blode.body.

-- header --
-- footer --

All files should be utf-8 encoded.


The dynamic content. They should be markdown files (extension .md). If you put a page inside a subfolder called X then X is the name of the layout (without extension) to use for this page. All files should be utf-8 encoded.


The folder where the generated content will be placed.


You can use -v or --verbose to execute the commands in verbose mode.

blode -h

Show the help.

blode -n /my/new/site

Creates a new site skeleton at /my/new/site or at the current working dir if none is specified.

blode -g

Generates the site at current dir (must be a valid blode directory).

blode -s 3000

Starts a web server at port 3000 (default: 4000) to test the site (must be a valid blode directory).

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free