Skip to content

Templating

Related pages: General-purpose SSGs

Introduction to templating

Goals

Some goals to consider when choosing tools for project templating:

  • Low setup cost.
  • Support for interactivity.
  • Ability to handle dynamic scaffolding.
  • Low learning curve.
  • Low maintenance burden.

Project generators

For a comparison of popular project generators, see the Copier documentation.

GitHub template repositories

GitHub template repositories are easy to maintain, but they lack built-in interactivity. Any scaffolding has to rely on scripts included inside the template itself.

Cookiecutter

Copier

Yeoman

Yeoman is another scaffolding tool popular in web development.

Code scaffolding tools

Jinja