Join us at Jamstack Conf Virtual, October 6-7. Register now!
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.
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.
Language Superset | Whitespace Sensitive | |
---|---|---|
HTML | EJS | Jade, Markdown |
CSS | LESS, Sass (SCSS) | Stylus |
JavaScript | (TBD) | CoffeeScript |
StaticGen is hosted and maintained by Netlify, the perfect way to deploy your Jamstack sites and apps.