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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

πŸ‘‹ Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay