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. Harp can be used as a library or as a command line utility. You may also use harp as a node library for compiling or running as a server.

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

Project Samples

Project Activity

See All Activity >

Follow Harp

Harp Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Harp!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Realtime Processing Software, JavaScript Application Servers

Registered

2021-10-29