Skip to content

Streamline your process management using ChecklistFabrik and efficiently track your team's recurring workflows. Generate interactive HTML forms, apply Jinja for adaptive procedures, and track progress with Git—all powered by plain YAML files.

License

Notifications You must be signed in to change notification settings

Linuxfabrik/checklistfabrik


Linuxfabrik ChecklistFabrik

ChecklistFabrik made by Linuxfabrik

GitHub GitHub last commit Version OpenSSF Scorecard GitHubSponsors PayPal


ChecklistFabrik

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 with Git—supported by plain YAML files.

Features

  • Enhanced User Experience with an HTML Interface and Local Web Server:
    View and complete checklists via a user-friendly HTML interface powered by a built-in local web server.

  • 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.

  • Jinja Templating Support:
    Create dynamic checklists using variables and Boolean expressions enabled by the Jinja templating language.

  • Dynamic Item Exclusion:
    Automatically mark pages or tasks as inapplicable using conditional 'when' expressions. (See our examples for more details—search for "when:")

Definitions and Terms

  • 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 Task Module section below).

  • 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.modules namespace that provides a main method—returning a dictionary that includes an html key with the rendered HTML as its value.

Installation

Clone this repository and run pip install --user . at the root of the repo to build and install the ChecklistFabrik package.

Creating a Checklist Template

For documentation on the YAML format used by ChecklistFabrik, see the checklist template syntax documentation. Example checklist templates can be found in the examples folder of this project.

Creating a New Checklist From a Template

clf-play --template path/to/template.yml path/to/checklist_to_create.yml

The 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.

Re-Running an Existing Checklist

clf-play path/to/existing_checklist.yml

Credits, License