Files
newproject/README.md
T

1023 B

newproject

Composes a project from the templates in this organization: infra at the root, then backend-python, frontend-svelte and caddy on top, each with its own answers file in .copier/.

source ~/projects/templates/newproject/shell.sh
newproject ~/projects/my-thing
updateproject            # every part
updateproject backend    # one part

newproject asks for the parts, the backend language, the frontend framework and how the frontend is served, then hands over to each template's own questions. Every prompt has a flag for non-interactive use:

newproject ~/projects/my-thing --parts backend,frontend,caddy --backend python --frontend svelte --serve bun --defaults

One part alone is rendered at the root of the project; two parts live in backend/ and frontend/. Templates are cloned from https://git.kotikot.com/templates unless TEMPLATES_DIR points at a directory with local checkouts.

Requires uv; bun, docker and pre-commit are used by the generated projects.