Static blog generator
Last updated 2 years ago by alex7kom .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install alleluia 
SYNC missed versions from official npm registry.


Alleluia is a static site generator that I use for my own sites.

It is intended to be fast, simple, extensible, and moddable. Alleluia uses a concept of pipelines where input data goes through a series of functions (pipes) with standardized inputs and outputs which transform the data. Alleluia comes with a basic set of pipes but you can write and use your own pipes that fit your needs better.


The easiest way to install Alleluia is using npm:

npm install -g alleluia

You need to have Node.js installed beforehand.

Get started

Clone or download this sample project.

The only required part of any Alleluia project is alleluia.json config file. It contains all information about your project as well as pipelines that Alleluia runs for your project.

To compile a project, just run alleluia (if you have installed Alleluia globally) in the project directory.


An alleluia workflow consists of one or several pipelines, each pipeline runs pipes on its own set of data and saves the final results with the name of the pipeline. Those results may later be loaded and processed by other pipelines. There are several types of pipes, such as pipe, filter, data, and tee.

The data pipe is used to load saved results of pipelines, while tee is a concept similar to map-reduce. Alleluia passes to a generic pipe data, pipe settings, alleluia config, set of filters and a callback function, to which the pipe should pass the results of its work. filter is a simple function that accepts a string, transforms it and outputs the resulting string. Alleluia runs a given filter against given property of each object in pipeline's data set. Also stock renderTemplate pipe binds all loaded filters to Swig template engine so the filters can be used in templates.

A basic pipeline looks like this:

  "name": "posts",
  "pipes": [
    { "pipe": "loadPosts" }

This pipeline uses loadPosts pipe to load posts and does nothing more. Actually it does one more thing: caches the loaded data so it can be used later.

A pipe can accept params:

{ "pipe": "sort", "by": "date", "order": "asc" }

TODO: more on pipelines

Stock pipes


Stock filters




Current Tags

  • 0.0.8                                ...           latest (2 years ago)

7 Versions

  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           4 years ago
  • 0.0.6                                ...           4 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           6 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (7)
Dev Dependencies (0)
Dependents (2)

Copyright 2014 - 2016 © |