vtrlx.ca (Victoria Lacroix)

Colophon

This site (vtrlx.ca) is powered by a Hetzner VPS running Ubuntu LTS, and the web server is powered by NGINX.

Hetzner website

Get Ubuntu

NGINX

The website's content is generated from Gemtext source code to HTML using a static site generator of my own making based on one by Pixelo789. Feel free to do what you want with my static site generator's source code.

My static site generator's source code

Gemtext Specification

Source code for Pixelo789's Codeberg Pages site

Updates to this site are made using a post-receive Git hook. Its code is reproduced below.

#!/bin/sh

TMP_DIR=/tmp/site
TMP_HTML=$TMP_DIR/html
GIT_DIR=/home/victoria/site
DEPLOY_DIR=/var/www/vtrlx.ca

rm -rf $TMP_DIR
git clone --recursive $GIT_DIR $TMP_DIR
cd $TMP_DIR
lua5.1 main.lua
cd /
rm -rf $DEPLOY_DIR
mv $TMP_HTML $DEPLOY_DIR
rm -rf $TMP_DIR