DEV Community

aclarembeau
aclarembeau

Posted on

2 2

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 ;)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay