{"id":47632421,"url":"https://github.com/doberkofler/create-template-project","last_synced_at":"2026-05-28T06:02:14.173Z","repository":{"id":344273887,"uuid":"1175257939","full_name":"doberkofler/create-template-project","owner":"doberkofler","description":"An ultra-modular, type-safe Node.js CLI tool used to scaffold new project templates (CLI, Webpage, Webapp, Fullstack) with best-practice configurations pre-installed.","archived":false,"fork":false,"pushed_at":"2026-05-26T04:07:47.000Z","size":741,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T06:12:53.911Z","etag":null,"topics":["cli-tool","monorepo","node-js","react","scaffolding","template-generator","trpc","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doberkofler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-07T13:11:01.000Z","updated_at":"2026-05-26T04:07:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/doberkofler/create-template-project","commit_stats":null,"previous_names":["doberkofler/create-template-project"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/doberkofler/create-template-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doberkofler%2Fcreate-template-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doberkofler%2Fcreate-template-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doberkofler%2Fcreate-template-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doberkofler%2Fcreate-template-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doberkofler","download_url":"https://codeload.github.com/doberkofler/create-template-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doberkofler%2Fcreate-template-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33596317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-tool","monorepo","node-js","react","scaffolding","template-generator","trpc","typescript"],"created_at":"2026-04-01T23:49:53.096Z","updated_at":"2026-05-28T06:02:14.142Z","avatar_url":"https://github.com/doberkofler.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-template-project\n\n[![NPM Version](https://img.shields.io/npm/v/create-template-project.svg)](https://www.npmjs.com/package/create-template-project)\n[![NPM Downloads](https://img.shields.io/npm/dm/create-template-project.svg)](https://www.npmjs.com/package/create-template-project)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Node.js CI](https://github.com/doberkofler/create-template-project/actions/workflows/node.js.yml/badge.svg)](https://github.com/doberkofler/create-template-project/actions/workflows/node.js.yml)\n[![Coverage Status](https://coveralls.io/repos/github/doberkofler/create-template-project/badge.svg?branch=main)](https://coveralls.io/github/doberkofler/create-template-project?branch=main)\n\nAn ultra-modular, type-safe Node.js CLI tool used to scaffold new project templates (CLI, Web-Vanilla, Web-App, Web-Fullstack) with best-practice configurations pre-installed.\n\n## 🚀 Quick Start\n\nRun directly without installation:\n\n```bash\nnpx create-template-project interactive\n# or\npnpm dlx create-template-project interactive\n```\n\n## ✨ Features\n\n- **Modern Tech Stack:** All templates come with `commitlint`, `husky`, `vitest`, `oxlint`, `oxfmt`, and `typescript` (strict mode).\n- **Enhanced Oxlint Setup:** Linting is driven by a shared, type-aware Oxlint configuration (`oxc.config.ts` + `oxlint.config.ts`) so template updates keep rule behavior consistent.\n- **Interactive CLI:** Prompts you for project details if CLI arguments are missing, using `@clack/prompts`.\n- **🔄 Update Mode:** Detects existing projects and offers a safe update path.\n  - **Intelligent Tracking:** Automatically generates a detailed `GENERATED.md` with an \"Upgrade Details\" table showing exactly what changed, why, and what actions (like conflict resolution) are needed.\n  - **Seed File Protection:** Files in `src/`, all `*.md` files, and other core files are skipped to protect your application logic and custom documentation.\n  - **Tooling Sync:** Keeps your project's boilerplate (linting, CI, configs, scripts) up-to-date with the latest template versions.\n- **No-Build Option:** Supports creating simple projects without a build step (strips Vite).\n- **GitHub Integration:** Automatically initializes a Git repository and can create a GitHub repository (including initial commit and push) using the `gh` CLI.\n- **CI Ready:** Generates GitHub Actions workflows for automated testing and linting.\n\n## Installation\n\n```bash\npnpm add -g create-template-project\n# or\nnpm install -g create-template-project\n```\n\nOr run directly using pnpm dlx or npx:\n\n```bash\npnpm dlx create-template-project\n# or\nnpx create-template-project\n```\n\n## Usage\n\n### Interactive Mode\n\nTo start the interactive wizard, use the `interactive` command:\n\n```bash\ncreate-template-project interactive\n```\n\nRunning the tool without any command will display the help message.\n\n### CLI Commands\n\nYou can skip the wizard by using the `create` or `update` commands with the appropriate options.\n\n#### Create a new project\n\n```bash\ncreate-template-project create --template cli --name my-cool-tool --path ./my-cool-tool --github\n```\n\n#### Update an existing project\n\n```bash\ncreate-template-project update --template cli\n```\n\n#### Global Options:\n\n- `--debug`: Enable debug output\n- `-h, --help`: Show help\n- `-V, --version`: Show version\n\n#### Command Options (create):\n\n- `-t, --template \u003ctype\u003e`: Template type (`cli`, `web-vanilla`, `web-app`, `web-fullstack`)\n- `-n, --name \u003cname\u003e`: Project name\n- `--description \u003cdescription\u003e`: Project description\n- `-k, --keywords \u003ckeywords\u003e`: Project keywords (comma separated)\n- `-a, --author \u003cauthor\u003e`: Author name (defaults to 'git config user.name')\n- `--github-username \u003cusername\u003e`: GitHub username (defaults to 'git config github.user')\n- `-p, --package-manager \u003cpm\u003e`: Package manager (`npm`, `pnpm`, `yarn`) (defaults to `pnpm`)\n- `--create-github-repository`: Create GitHub repository and push initial commit (requires `gh` CLI authenticated)\n- `--path \u003cpath\u003e`: Output directory (mandatory)\n- `--build`: Run the CI script (lint, build, test) after scaffolding\n- `--no-progress`: Do not show progress indicators\n\n#### Command Options (update):\n\n- `-t, --template \u003ctype\u003e`: Template type (`cli`, `web-vanilla`, `web-app`, `web-fullstack`)\n- `--description \u003cdescription\u003e`: Project description\n- `-k, --keywords \u003ckeywords\u003e`: Project keywords (comma separated)\n- `-a, --author \u003cauthor\u003e`: Author name (defaults to 'git config user.name')\n- `--github-username \u003cusername\u003e`: GitHub username (defaults to 'git config github.user')\n- `-p, --package-manager \u003cpm\u003e`: Package manager (`npm`, `pnpm`, `yarn`) (defaults to `pnpm`)\n- `--create-github-repository`: Create GitHub repository and push initial commit (requires `gh` CLI authenticated)\n- `-d, --directory \u003cpath\u003e`: Output directory (defaults to `.`)\n- `--build`: Run the CI script (lint, build, test) after updating\n- `--dev`: Run the dev server after updating\n- `--open`: Open the browser after updating\n- `--no-progress`: Do not show progress indicators\n\n## Project Templates\n\n### 🟢 CLI\n\nA clean Node.js CLI environment featuring `commander` and `cli-progress`. Supports optional Vite bundling.\n\n### 🔵 Web-Vanilla\n\nStandalone web page setup for modern browsers. Can be used with or without a build step.\n\n### 🟡 Web-App\n\nModern React application featuring MUI components and TanStack Query for state management.\n\n### ⚛️ Web-Fullstack\n\nA full-stack monorepo featuring:\n\n- **Client**: React with MUI (including Icons) and TypeScript.\n- **Server**: Express.js backend with tRPC for end-to-end type safety.\n- **E2E**: Playwright for end-to-end testing.\n\n## Release Process\n\nTo cut a new release and automatically create a GitHub Release securely:\n\n```bash\nGITHUB_TOKEN=$(gh auth token) pnpm release -- patch # minor, or major\n```\n\nFor more details on the release flow, see [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Contributing\n\nPlease see [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.\n\n## License\n\nMIT © [Dieter Oberkofler](https://github.com/doberkofler)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoberkofler%2Fcreate-template-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoberkofler%2Fcreate-template-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoberkofler%2Fcreate-template-project/lists"}