Home

Awesome

<p align="center"> <img alt="babel" src="https://avatars3.githubusercontent.com/u/11148006?v=3&s=200" width="164"> </p> <p align="center"> <strong>Crossbow</strong> is a <em>lightning fast</em> Static Site Generator & Blog Engine </p> <p align="center"> It gives you insane speed, unique features and the best development workflow on the planet! </p> <p align="center"> So, if you want Jekyll-style thing, minus the all the Ruby and the <em>slowness</em>, then you've come to correct place! <a href="http://quick.as/mvrsaqz">Checkout this 2 min screencast</a> for a preview. Also, there's a gif below. </p>

#Crossbow Build Status

Join the chat at https://gitter.im/Crossbow-js/crossbow

Crossbow-js

Killer Features

We'll have more info and more docs coming soon, but just to keep you interested, why not try out the beta?

Quick start

Crossbow is a brand new project, as such we're light on documentation right now as we're still in beta. It's completely stable though and if you want to see what it's like to run a Crossbow static site/blog you can check out the Crossbow Starter Blog

Install (beta)

npm install crossbow --save-dev

Usage with Gulp

var gulp     = require("gulp");
var crossbow = require("crossbow");

gulp.task("crossbow", function () {
    return gulp.src(["app/*.html"])
        .pipe(crossbow.stream({
            config: {
                base: "app"
            }
        }))
        .pipe(gulp.dest("_site"));
});

API usage

var site = crossbow.builder();
var page = site.add({type: "page", key: "index.html", content: "<p>Hey I'm an index file</p>"});
site.compile({
    item: page,
    cb: function (err, out) {
        if (err) {
            throw err
        }
        console.log(out.get("compiled"));
    }
});

Credits

Todo