blmayer@~ $ cat meta

index works/ meta whoami

About this site

This website is generated using some thicks I find interesting, for example, in the index page the tree is created using a shell command, namely tree. The funny part is that this code is actually part of the HTML file, and the command is run on the build process. For some commands I included it before the output, for fun.

The main thing here is the template.sh script that injects shell commands directly into the file, so I can use simple programs to help creating the content. Do not use it in production, it is not secure, but fine for this simple website that I have control.

This shell script also can be found on my github:

template.sh

I hope you find this interesting, if so take a look at the source code on my GitHub account.


Here's an example:

blmayer@~ $ fortune | cowsay -W 30

 _______________________________ 
/ "Ah, you know the type. They  \
| like to blame it all on the   |
| Jews or the Blacks, 'cause if |
| they couldn't, they'd have to |
| wake up to the fact that      |
| life's one big, scary,        |
| glorious, complex and         |
| ultimately unfathomable       |
| crapshoot -- and the only     |
| reason THEY can't seem to     |
| keep up is they're a bunch of |
| misfits and losers."          |
|                               |
| -- an analysis of neo-Nazis   |
\ and such, Badger comics       /
 ------------------------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||