DEV Community

aclarembeau
aclarembeau

Posted on

Statiz - Finally a simple static website generator

Hello to all,

Have you ever had to build a static website? Usually, you can do this with a few HTML files, a little CSS. However, this can quickly become repetitive: your HTML files multiply, and differ only by a few lines of code, your CSS grows, and contains many repetitions, which makes your project difficult to maintain.

There are solutions to fight against this, which are static website generators. However, I found that most of them are usually quite complex to use and limit you in the structure and design of your website. Do you agree with me?

That's why I decided to create Statiz: https://github.com/aclarembeau/statiz, an easy to use website generator that doesn't require any special learning. It works with two commands, nothing more:

statiz build 
statiz serve
Enter fullscreen mode Exit fullscreen mode

And it doesn't require any configuration. Thanks to a module system, it will allow you to add automatically to your project:

  • SCSS file compilation, to make your styling less repetitive
  • EJS templates, to unify your HTML

All this with a local server with hot-reload.

In order to make everyone benefit from it, I put it online for free on Github. Don't hesitate to send me your comments, or to use it for your projects ;)

Top comments (0)