4 ms·
I wrote a ton of SSG myself. I'm going to talk about three of them. The first is fugitive [1]. It came to life because I just learned about git hooks and thoug
by p4bl0 6y ago
I wrote a ton of SSG myself. I'm going to talk about three of them.
The first is fugitive [1]. It came to life because I just learned about git hooks and thought of using them for generating a blog with all of its meta data in Git itself. I wanted to have only Git as a dependency so I wrote the whole thing in pure sh (not even using some convenient Bash features). It was for fun and for just myself initially but it had maybe like two dozen users in the end, some of them even contributed to the project or maintained their own forks.
The second one is not released. It's what I use for my own web page [2]. It's a make file + a few Bash scripts that make use of xml2 parse an HTML template and content files, then uses the GNU coreutils (mostly sed) to insert the content in the template and adjust a few things, and finally use 2xml to build the final HTML document. It also has two additional scripts: one that can take an XML file and build either an RSS feed or an HTML output to be inserted into a page, and one that can build an HTML representation of my list of publications.
The third and most recent one is called cigala [3]. It was written for people around me with no web development experience but who needed a simple web page (typically people in academia outside CS). It's a single PHP file that uses SQLite to store the CMS content and is able to build static HTML files whe you want to publish your website. It was originally run from my own server where I created accounts manually each time someone asked me to. But it now is available for larger use and is easy to install as well.
[1] https://code.up8.edu/pablo/fugitive https://code.up8.edu/pablo/fugitive
[2] https://pablo.rauzy.name/ https://pablo.rauzy.name/
[3] https://code.up8.edu/pablo/cigala https://code.up8.edu/pablo/cigala