{"id":24539123,"url":"https://github.com/suchlab/get-template","last_synced_at":"2025-03-16T03:40:17.514Z","repository":{"id":64008289,"uuid":"572526435","full_name":"suchlab/get-template","owner":"suchlab","description":"Download any template. Ready to be used","archived":false,"fork":false,"pushed_at":"2022-12-12T20:06:25.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T15:21:15.770Z","etag":null,"topics":["npx","templates","tool"],"latest_commit_sha":null,"homepage":"https://npmjs.com/get-template","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suchlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-30T13:17:19.000Z","updated_at":"2022-12-23T10:38:40.000Z","dependencies_parsed_at":"2023-01-14T18:45:16.528Z","dependency_job_id":null,"html_url":"https://github.com/suchlab/get-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchlab%2Fget-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchlab%2Fget-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchlab%2Fget-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchlab%2Fget-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suchlab","download_url":"https://codeload.github.com/suchlab/get-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822308,"owners_count":20353498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["npx","templates","tool"],"created_at":"2025-01-22T16:15:22.038Z","updated_at":"2025-03-16T03:40:17.498Z","avatar_url":"https://github.com/suchlab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-template\n![CI](https://github.com/suchlab/get-template/actions/workflows/ci.yml/badge.svg)\n\nDownload any template for your project\n\n## How to use\n````sh\nnpx get-template \u003ctemplate\u003e [\u003cdownload-directory\u003e] [--execute-commands] [--keep-git]\n````\n\nThis will download a template in the directory you want. By default, the download directory will be the current one (i.e. `.`).\n\nTemplate names are GitHub's username and repository name. So, if you want to download the template from https://github.com/github/codespaces-react, your command would be:\n````sh\nnpx get-template github/codespaces-react\n````\n\nTo download it in an specific directory, your command would be:\n````sh\nnpx get-template github/codespaces-react my-folder-name\n````\n\nThe directory **must** be empty. If not, it won't download the template\n\nThe get-template tool removes the .git folder by default. To keep the original template's git, add the flag `--keep-git`:\n\n````sh\nnpx get-template package --keep-git\n````\n\n## Aliases\nTo make templates easier to download, you can use aliases. These aliases simplify how people download templates.\n\nFor example, the alias `package` downloads a template to [create TypeScript packages](https://github.com/suchlab/package-template):\n\n````sh\nnpx get-template package\n````\n\nAliases can include post-download commands to be executed (e.g. `npm install`). If you want to execute these commands, add the flag `--execute-commands`:\n\n````sh\nnpx get-template package --execute-commands\n````\n\nYou can propose new aliases in the [aliases repository](https://github.com/suchlab/get-template-aliases)\n\n## Popular templates\nThese are some popular templates you can download using get-template. Not only for JavaScript projects!\n\n- [get-template/react-app-template](https://github.com/suchlab/react-app-template) `npx get-template react-app`\n- [coreui/coreui-free-react-admin-template](https://github.com/coreui/coreui-free-react-admin-template) `npx get-template coreui-free-react-admin`\n- [github/codespaces-react](https://github.com/github/codespaces-react) `npx get-template github/codespaces-react`\n- [serverless/examples](https://github.com/serverless/examples) `npx get-template serverless/examples`\n- [prisma/prisma-examples](https://github.com/prisma/prisma-examples) `npx get-template prisma/prisma-examples`\n- [h5bp/html5-boilerplate](https://github.com/h5bp/html5-boilerplate) `npx get-template h5bp/html5-boilerplate`\n- [ColorlibHQ/AdminLTE](https://github.com/ColorlibHQ/AdminLTE) `npx get-template ColorlibHQ/AdminLTE`\n- [akveo/ngx-admin](https://github.com/akveo/ngx-admin) `npx get-template akveo/ngx-admin`\n- [async-labs/saas](https://github.com/async-labs/saas) `npx get-template async-labs/saas`\n- [kriasoft/react-starter-kit](https://github.com/kriasoft/react-starter-kit) `npx get-template kriasoft/react-starter-kit`\n- [dhg/Skeleton](https://github.com/dhg/Skeleton) `npx get-template dhg/Skeleton`\n\n## Pro tip\nAlternatively, you can use these npm/npx aliases:\n\n```sh\n# Original command\nnpx get-template package .\n\n# gete (flags not allowed yet)\nnpx gete package .\n\n# gette (flags not allowed yet)\nnpx gette package .\n```\n\n## People\nThe original author of get-template is [itaibo](https://github.com/itaibo)\n\nYou can contribute too!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchlab%2Fget-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuchlab%2Fget-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchlab%2Fget-template/lists"}