Posts from May 2025
-
A modern theme for cgit
cgit is a lightweight web frontend for git repositories. As opposed to modern git forges such as GitLab, Gitea and Forgejo, cgit provides view-only access, and does not have attached bells and whistles such as issue tracking or pull requests. This allows cgit to be… »
-
htmlcc: Statically compiled HTML templates for C
This article presents htmlcc, an HTML templating engine for C utilising static compilation.
Motivation
Web applications are not commonly written in C; one notable counterexample is cgit, a web frontend for git repositories. HTML output in cgit is implemented from scratch, using bespoke… »
-
Foreground segmentation with JBIG2 for improved PDF compression: pdf-segmented
Motivation
JBIG2 is an efficient image compression format for bi-level (bi-tonal) images, which is supported by the PDF file format and common PDF viewers. To date, tooling for producing documents using JBIG2 (particularly open source tooling) has been limited; I have previously presented file-jbig2pdf,… »