brcl: static site generator

brcl is static site generator, that relies on you actually writing html. You can find it here

There are mainly 4 features of brcl:

It also supports simple variables in templates, that's why you will find <!--date:2023/05/15--> comment in source of this article.

Minimal template for brcl consists of two parts and looks like this:

<!doctype html>
<html lang='en'>
        <meta charset='UTF-8'>
        <link type='text/css' rel='stylesheet' href='/style.css'>
            <a id='title' href='/'>mcksp</a></span>
                <a href='/blog'>blog</a>
                <a href='/about'>about</a>
                <a href='/rss.xml'>rss</a>
            <span id='date'>%s</span>
            have a nice day!

And now promise of the brcl is that everything between those template parts will be untouched by it, and anytime template will change, it will swap it for any existing article.

If you want to create new article you can copy existing one and change title and date values, or you can call

brcl [dir] [filename] [title...]
brcl blog tart My recipe for lemon tart

that will create a new file in blog/tart.html with the title My recipe for lemon tart and current date.

I created that mostly because I was tired of setting up Jekyll environment from zero every two years that I remind myself that I own a blog webpage.