DEV Community

Julian.io
Julian.io

Posted on • Updated on

A quick intro to create-harold-app - simple static site generator

create-harold-app is a simple tool that provides a ready-to-use template for creating your static websites and blogs. Ii is based on well-known Handlebars, Markdown and Scss to be simple to use and start.

Although the website and documentation are in progress
You can check the documentation here: haroldjs.com

What can you do with it?

For example, with Harold and services like Netlify you can build your blog and website in a fraction of time. You’ll get a nice responsive design and a built-in search engine based on Lunr and indexed posts content. You can build small and medium websites, blogs, documentation sites, landing pages.

How to start with Harold?

First, initialize your project by running npm init harold-app your-app-name (npm 6+) or yarn create harold-app your-app-name. Then from within the project’s directory run npm start and that’s it! Your app will run at localhost:3000. You’ll see the website with pre-populated demo content.

Alt Text

Adjust styles, pages, post layouts, and frontend JavaScript logic.

You can change whatever you want. Do this in the src directory. Harold will compile everything and put it in the build directory. In the build directory, you’ll find a ready-to-deploy project.

Some links

I’ll probably write more detailed articles soon. I also plan to rebuild and refresh my website using create-harold-app so I'll battle test it and share my findings. Thanks.

Top comments (0)