JavaScript-based Jekyll clone
  • JavaScript 100%
Find a file
2026-03-17 13:33:47 +01:00
.gitignore Upgrade deps 2019-03-01 13:37:06 +01:00
heckle.js Support missing _posts/ dir 2017-04-21 20:06:52 +02:00
highlightCode.js Upgrade to mold 2.0 2017-03-15 11:39:05 +01:00
LICENSE Add README, LICENSE 2012-09-04 21:13:38 +02:00
markdownRenderer.js Switch to markdown-it 2017-03-15 11:07:28 +01:00
package.json Update repository info in readme 2026-03-17 13:33:47 +01:00
README.md Update README for easier dependency installation 2012-09-05 12:03:46 +02:00
util.js Upgrade deps 2019-03-01 13:37:06 +01:00

Heckle

A minimal Jekyll clone in node.js.

Why?

I like the approach to managing a site taken by Jekyll. A lot.

I don't like Ruby, and I don't like strict logic-less templates. Jekyll is Ruby with Liquid as the templating engine.

Heckle is JavaScript with Mold (programmable template extravaganza) as the templating engine.

Setup

Don't use Heckle at this point if you want something stable and finished. It's a work in progress, and may be radically changed or pitilessly abandoned at any time.

If that didn't scare you off, you should be able to get dependencies with npm install.

When the dependencies have been installed, you should be able to change to the directory that contains your blog files, and run...

nodejs /path/to/heckle/heckle.js

It parses a _config.yml and treats _posts, _layouts, and _includes dirs much like Jekyll. Your templates should be in Mold syntax and read $arg rather than post or page to get context information.

At some point, more detailed docs, as well as commmand-line arguments, might materialize. For now, read the code, it's (at the time of writing) less than 200 lines.