Skip to content

Enhancement: Copier Template #248

@suspiciousRaccoon

Description

@suspiciousRaccoon

Summary

Copier is a tool that let's users scaffold projects from git urls. It asks some questions written in copier.yml and it creates the project with everything applied.

Since it supports conditionals the option to exclude the frontend and/or specific plugins could be added.

It also supports updating to the upstream template so users are able to keep the projects synced if new plugins/features/bufixes are added.

Other options:

  • cookiecutter
  • custom one (e.g django cli)

Honestly I'm just tired of having to clone the repo and ripping everything I don't need.

Basic Example

Drawbacks and Impact

Maintaining the templates manually would increase the maintenance burden, but adding a script that updates them via CI would fix this issue.

Adding copier would let users quickly start litestar projects with only the things they need and keep them synced with the upstream. This could also be done with the inertia example.

Unresolved questions

  • Where should the template live? Probably a new repository?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions