A simple GTK application for live-editing of Jinja2 templates.
Jinja2's rules aren't the easiest to understand at times, particularly when it comes to editing whitespace. After going round this loop with Ansible a few times, and finding a web-based version here I decided to try and build something I could run locally.
This isn't properly developed, but it works for it's basic function.
Ubuntu:
sudo apt install libcairo2-dev libgirepository1.0-dev gir1.2-gtk-3.0
virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt
python -m j2live