Can GitHub templates be used for more than just replication?

This page summarizes the projects mentioned and recommended in the original post on /r/github

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • django-project-template

  • Yea GitHub templates should really be more used for reproducing an empty repository and not for starting a new coding project. What I mean by that is the template repo should contain git and GitHub specific things, like .gitignore file or .github directory. I also tend to include a .editorconfig file. What you are looking to do is more about a project template. Most coding languages and frameworks provide their own version of templates that are better used for this. My workflow I have is I will start a new repository from my GitHub template and then run the necessary command for the language to generate a project template. I have my own project template I have defined. Here is an example.

  • cookiecutter

    A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.

  • Good alternatives that are more complex to use but allow for more customization would be things like Cookiecutter: https://github.com/cookiecutter/cookiecutter

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • awesome-projen

    P6M7G8's Awesome Projen

  • Or if you like a declarative approach you could look into Projen: https://github.com/projen/projen

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts