Lysine


Lysine is a templating language intended for use with HTML and CSS styling, originally intended to replace SCSS/Sass in my projects.

The Python version is a fork of Jinja2 and the Rust version is a fork of Tera.

History

In July 2024, Lysine came up as a project for a preprocessor language for web styling.

On November 30, 2024, the functionality of Lysine, namely the CSS preprocessor, split into the project Serine. Later, in January 2025, this functionality was merged back into Lysine as a separate project for CSS was not needed.

With my switch back to Python for most of my web-related projects, I do not expect to work on the Rust version any time soon.

Usage

StaticSite uses this as more or less a drop-in replacement for Jinja2 to do both HTML templating and CSS styling.