Python tool that generates interactive HTML checklists from YAML templates. Jinja conditionals, reusable includes, pluggable modules, built-in web server. Ideal for SOPs, deployments & recurring ops. • made by Linuxfabrik
ChecklistFabrik (clf-play) is a Python 3 tool designed to manage your team's recurring checklists, processes, and procedures. It leverages simple yet powerful YAML templates to create interactive HTML forms for an enhanced user experience. Utilize variables and logic through the Jinja templating language to define adaptive procedures, and enjoy seamless progress tracking.
-
Dashboard: Run
clf-playwithout arguments to open a web dashboard that lists all your templates and reports. Start new checklists or re-open previous ones with a single click. -
Dynamic Item Exclusion: Automatically mark pages or tasks as inapplicable using conditional
whenexpressions. (See the User Guide for details.) -
HTML Interface with Built-In Web Server: View and complete checklists via a user-friendly HTML interface powered by a built-in local web server.
-
Jinja Templating Support: Create dynamic checklists using variables and Boolean expressions enabled by the Jinja templating language.
-
Simple YAML Checklists: Define templates and generate reports with plain YAML, making version control with systems such as Git straightforward.
-
Template Includes for Rapid Checklist Generation: Reuse checklist templates to quickly generate multiple checklists from a single file, eliminating the need to start from scratch each time.
-
Checklist:
A series of tasks outlining a procedure, organized into pages. -
Page:
A collection of tasks displayed simultaneously to the user. -
Report:
The output of a checklist run—a YAML file generated from a template. -
Task: A description of work to be performed. Tasks can appear in various forms, such as text fields, checkboxes, radio buttons, or non-interactive text blocks (see the User Guide for details).
-
Checklist Template: A YAML file used to create checklists, intended for reuse rather than direct execution.
-
Task Module: To support an extensible architecture, ChecklistFabrik delegates task rendering to separate, pluggable Python modules. A valid task module is any Python module within the
checklistfabrik.modulesnamespace that provides amainmethod returning a dictionary that includes anhtmlkey with the rendered HTML as its value.
ChecklistFabrik releases are available from PyPI.
Using pipx:
pipx install checklistfabrikUsing standard pip (user install):
pip install --user checklistfabrikPlease note that on certain Linux systems --break-system-packages might need to be added when using the system's Python/Pip.
Clone this repository and run pip install . at the root of the repo to install ChecklistFabrik.
For development use --editable to install ChecklistFabrik in Development/Editable Mode. The usage of a virtual environment is strongly recommended.
A checklist template is a simple YAML file:
title: 'Server Maintenance' description: 'Monthly maintenance procedure for production servers.' version: '2025031901' pages: - title: 'Preparation' tasks: - linuxfabrik.clf.text_input: label: 'Ticket number' required: true fact_name: 'ticket' - linuxfabrik.clf.checkbox_input: values: - label: 'Notify users about the maintenance window' - label: 'Create a full backup' required: true - title: 'Maintenance' tasks: - linuxfabrik.clf.markdown: content: 'Working on ticket **{{ ticket }}**.' - linuxfabrik.clf.checkbox_input: label: 'Apply updates and reboot' required: trueRun it:
# Open the dashboard (auto-detects templates/ and reports/ subdirectories): clf-play # Or run a template directly: clf-play --template server-maintenance.ymlTo explore the bundled examples in a dashboard, run:
cd examples/ clf-playFor the full guide on creating checklists—including conditional pages, imports, and all task modules—see the User Guide.
clf-playThe dashboard scans for *.yml files and lists them as templates and reports:
- If
templates/and/orreports/subdirectories exist in the current working directory, they are used automatically. - If only one of them exists, the other falls back to the current directory.
- If both point to the same directory, all files are shown in both sections — use "Run" to start a new checklist or "View" to re-open an existing one.
You can override this with explicit paths:
clf-play --templates-dir ./my-templates --reports-dir ./my-reportsclf-play --template path/to/template.yml path/to/report.ymlThe destination file may be omitted; in that case:
- If the template specifies a
report_path, then that field is used to generate a new filename. - Otherwise, a generic, timestamped filename is generated.
clf-play path/to/existing_checklist.yml- Authors: Linuxfabrik GmbH, Zurich
- License: The Unlicense, see LICENSE file