Harp vs Obelisk

Harp and Obelisk are both open source static site generators. Harp is written in JavaScript and Obelisk is written in Elixir.

Property Harp Obelisk
Language JavaScript Elixir
Templates EJS, Jade EEx, Haml
License MIT MIT

Harp benefits

Harp is a static web server that also serves Jade, Markdown, EJS, Less, Stylus, Sass, and CoffeeScript as HTML, CSS, and JavaScript without any configuration. It supports the beloved layout/partial paradigm and it has flexible metadata and global objects for traversing the file system and injecting custom data into templates. Optionally, Harp can also compile your project down to static assets for hosting behind any valid HTTP server.

Why?

Pre-compilers are becoming extremely powerful and shipping front-ends as static assets has many upsides. It's simple, it's easy to maintain, it's low risk, easy to scale, and requires low cognitive overhead. I wanted a lightweight web server that was powerful enough for me to abandon web frameworks for dead simple front-end publishing.

Features

  • easy installation, easy to use
  • fast and lightweight
  • robust (clean urls, intelligent path redirects)
  • built in pre-processing
  • first-class layout and partial support
  • built in LRU caching in production mode
  • can export assets to HTML/CSS/JS
  • does not require a build steps or grunt task
  • fun to use

Supported Pre-Processors

| | Language Superset | Whitespace Sensitive | | -------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | HTML | EJS | Jade, Markdown | | CSS | LESS, Sass (SCSS) | Stylus | | JavaScript | (TBD) | CoffeeScript |

Resources

Obelisk benefits

Obelisk is a static site generator written in Elixir Programming Language.

Goals

  • Fast. Static websites can take a long time to generate when they start to grow large. obelisk should take advantage of Elixir's processes to increase this speed.
  • Simple, Obvious. It should be very straight forward to add new content and modify the way that your site works.
  • Templatable. It should be possible to store templates in github repos and reference them directly, allowing modification of the look and feel of a site instantaneously with no manual installation.