• Stars
    star
    345
  • Rank 122,750 (Top 3 %)
  • Language
    JavaScript
  • License
    Other
  • Created about 12 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JavaScript-based Jekyll clone

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.

More Repositories

1

Eloquent-JavaScript

The sources for the Eloquent JavaScript book
JavaScript
3,023
star
2

Postmodern

A Common Lisp PostgreSQL programming interface
Common Lisp
397
star
3

Eloquent-JavaScript-1st-edition

The source for http://eloquentjavascript.net
JavaScript
324
star
4

getdocs

Getdocs is not JSDoc
JavaScript
145
star
5

moduleserve

Development shim for serving up CommonJS modules
JavaScript
68
star
6

style-mod

JavaScript
48
star
7

mold

Minimalist JavaScript templating
JavaScript
45
star
8

ST-JSON

JSON for Common Lisp
Common Lisp
43
star
9

parse-js

A JavaScript parser in Common Lisp
Common Lisp
42
star
10

rope-sequence

A persistent sequence data structure
JavaScript
42
star
11

browserkeymap

Map key events to key names, and key names to values
JavaScript
41
star
12

distfs

Mount a directory of ES6 code as a FUSE directory of babel-compiled output
JavaScript
40
star
13

orderedmap

Persistent ordered mapping
JavaScript
39
star
14

esmoduleserve

Serves ES modules over HTTP, resolving and rewriting imports
JavaScript
37
star
15

w3c-keyname

Get a KeyboardEvent.key-style string from an event
JavaScript
27
star
16

crelt

Tiny DOM-element creation utility
JavaScript
25
star
17

cetriolo

Time management tool
JavaScript
24
star
18

uscheme

Unlikely Scheme: A small Scheme interpreter
C++
21
star
19

builddocs

Convert getdocs-style doc comments into HTML documentation
JavaScript
20
star
20

getdocs-ts

Extract builddocs-style info from typescript sources
TypeScript
19
star
21

ieee-floats

Common Lisp IEEE-754 float en- and decoding
Common Lisp
18
star
22

UglifyJS-service

Node script for JS-minification HTTP service
JavaScript
16
star
23

localport

Proxy to local ports based on the hash of subdomains
JavaScript
16
star
24

blint

No-ceremony JavaScript linter
JavaScript
15
star
25

module-workshop

Material for a workshop about JavaScript module systems
JavaScript
15
star
26

ist

Tiny assertion library
JavaScript
15
star
27

defservice

A URL dispatch minilanguage
Common Lisp
15
star
28

cl-tk

Shallow Tcl/Tk bindings for Common Lisp
Common Lisp
15
star
29

eslint4b-prebuilt

JavaScript
12
star
30

pcall

A Common Lisp parallelization library
Common Lisp
11
star
31

blog

Sources for http://marijnhaverbeke.nl/blog/ (see also https://github.com/marijnh/heckle)
CSS
11
star
32

PencilScript

Some utilities for generating SVG graphics
JavaScript
10
star
33

w3c-keycode

A mapping from KeyEvent.keyCode numbers to KeyEvent.code strings
JavaScript
9
star
34

buildtool

Helper library for building TypeScript packages
TypeScript
9
star
35

prosemirror-schema-translation-sketch

TypeScript
7
star
36

Presence

A different way to read IRC
JavaScript
6
star
37

selfwebdriver

Driving a Selenium webdriver, from the client
JavaScript
5
star
38

subscription

Simple abstraction for first-class event emitters
JavaScript
5
star
39

extending-char

Check whether a UTF-16 word is either a continuing word or a Unicode extending character
5
star
40

find-cluster-break

Find the position of grapheme cluster breaks in a string
JavaScript
5
star
41

testtool

Test runner utility
JavaScript
2
star
42

tariff

Crudely convert ES6 import/export declarations to CommonJS
JavaScript
2
star
43

acl-zmq

A hacky ZeroMQ wrapper for Allegro Common Lisp
Common Lisp
1
star