VOLGIT



LOG | FILES | OVERVIEW


git clone git://volconst.com/volgit

A very bare bones static site generator.

Let /tmp/a be git repository and /tmp/b be a directory

You invoke it like this: volgit /tmp/a /tmp/b /tmp/header.html /tmp/footer.html

Which generates in b

         /tmp/b
              |
              -> /tmp/b/master 
                             |
                             -> /tmp/master/log.html
                             |
                             -> /tmp/master/files
                             |                  |
                             |                  -> /tmp/master/index.html
                             |                  ...
                             |
                             ->/tmp/master/diffs/
		

It prepends the header and appends the footer to all generated html files.

You could put php in them to make the generated pages more dynamic.

Note that in the example only the master directory is shown, but volgit generates similar directories for all the branches of a.