If you are asking why again static web-page generator then this might not be for you. It aims to integrate org-mode and command-line, for generating a very simple static page. Since, there are many implementation which I found were either really complex, really simple and dull or requires extensive lisp or ruby hacking which is kinda not my thing.
THIS IS THE IDEA SKETCH
Still UNDER DEVELOPMENT, GENERATOR DOESN’T WORK
YOU ARE WELCOMED TO HELP
configure can automatically check what you are missing.
- emacs : org-mode
- bash : GNU sed, GNU awk
make recipes for alternatives.
$ git clone https://github.com/rhoit/bekar-static-gen $ cd bekar-static-gen $ ./configure | bash $ ./configure $ make $ sudo make install
How to Use
Features are still under development… The following shows the architecture and design for now.
$ bekar --help bekar - A Static Page CLI Generator Usage: bekar <command> [OPTION(s)] [<args>] -c | --credits Say hello to developers -h | --help Display this message Commands: init [PATH] Create static pages source directory clone [URL|PATH] Clone a templates. add [FILE(s)] Add the page to generation list rm [FILE(s)] Remove the page from generation list gen [FILE(s)] Generate a static page status Show current status git Integration with git version Show version information
First initialize the generator to the directory.
$ bekar clone sample # skip it, if you want to set existing directory $ cd sample $ bekar init # don't forget too see --help $ bekar add . # add files to generation list $ bekar gen
You might want to link it first, so changes can reflect directly without re-installation.
$ sudo make link
src/README.org for more information.