{"id":23061835,"url":"https://github.com/rrwen/cookiecutter-template","last_synced_at":"2026-05-01T14:33:22.791Z","repository":{"id":91307841,"uuid":"110197630","full_name":"rrwen/cookiecutter-template","owner":"rrwen","description":"Personal Python cookiecutter base template","archived":false,"fork":false,"pushed_at":"2017-11-26T08:48:44.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T07:20:01.288Z","etag":null,"topics":["base","cli","command","cookiecutter","interface","json","line","personal","project","python","template","travis"],"latest_commit_sha":null,"homepage":"","language":null,"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/rrwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2017-11-10T03:25:35.000Z","updated_at":"2023-02-13T23:20:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"09678619-955e-4d35-8ff0-0b2361a28ffe","html_url":"https://github.com/rrwen/cookiecutter-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rrwen/cookiecutter-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fcookiecutter-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fcookiecutter-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fcookiecutter-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fcookiecutter-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrwen","download_url":"https://codeload.github.com/rrwen/cookiecutter-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrwen%2Fcookiecutter-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["base","cli","command","cookiecutter","interface","json","line","personal","project","python","template","travis"],"created_at":"2024-12-16T03:18:36.600Z","updated_at":"2026-05-01T14:33:22.771Z","avatar_url":"https://github.com/rrwen.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# cookiecutter-template\n\nRichard Wen  \nrrwen.dev@gmail.com  \n\nPersonal Python cookiecutter base template.\n\n[![Build Status](https://travis-ci.org/rrwen/cookiecutter-template.svg?branch=master)](https://travis-ci.org/rrwen/cookiecutter-template)\n[![GitHub license](https://img.shields.io/github/license/rrwen/cookiecutter-template.svg)](https://github.com/rrwen/cookiecutter-template/blob/master/LICENSE)\n\n## Install\n\n1. Install [Python](https://www.python.org/downloads/)\n2. Install [cookiecutter](https://pypi.python.org/pypi/cookiecutter) via `pip`\n3. Install [Node.js](https://nodejs.org/en/)\n\n```\npip install cookiecutter\n```\n\n## Usage\n\nCreate a [cookiecutter](https://pypi.python.org/pypi/cookiecutter) template:\n\n```\ncookiecutter gh:rrwen/cookiecutter-template\n```\n\nSee [Implementation](#implementation) for more details.\n\n## Developer Notes\n\n### Create Github Repository\n\n1. Ensure [git](https://git-scm.com/) is installed\n2. Change directory to the generated folder `cd \u003ctemplate_name\u003e`\n3. Initialize the repository\n4. Add the generated files to commit\n5. Create an empty [Github repository](https://help.github.com/articles/create-a-repo/) with the same name as `template_name`\n6. Pull any changes if the Github repository is not empty\n7. Push the commit from `4.` to your created Github repository\n\n```\ngit init\ngit add .\ngit commit -a -m \"Initial commit\"\ngit remote add origin https://github.com/\u003cgithub_user\u003e/\u003ctemplate_name\u003e.git\ngit pull origin master --allow-unrelated-histories\ngit push -u origin master\n```\n\n### Implementation\n\nThis code creates folders and files for [cookiecutter](https://pypi.python.org/pypi/cookiecutter) templates.\n\n* The main file is [cookiecutter.json](https://github.com/rrwen/cookiecutter-template/blob/master/cookiecutter.json) which defines the inputs for the command line interface\n* The inputs then replace any values surrounded with `{{}}` inside the folder [{{cookiecutter.template_name}}](https://github.com/rrwen/cookiecutter-template/tree/master/%7B%7Bcookiecutter.template_name%7D%7D)\n\n```\n        cookiecutter              \u003c-- template tool\n             |\n      cookiecutter.json           \u003c-- template inputs\n             |\n{{cookiecutter.template_name}}    \u003c-- generated template\n```\n\nThe following files will be created inside a folder with the same name as the `template_name` input:\n\nFile | Description\n--- | ---\n**{{cookiecutter.template_name}}** | Templating folder with README.md and MIT LICENSE files\n**.gitignore** | A Python [.gitignore](https://git-scm.com/docs/gitignore) automatically generated from github\n**.travis.yml** | A [.travis.yml](https://docs.travis-ci.com/user/customizing-the-build/) file for automatic builds and tests\n**LICENSE** | MIT [license file](https://help.github.com/articles/licensing-a-repository/) automatically created from github\n**README.md** | A readme [Markdown](https://daringfireball.net/projects/markdown/) file with header, install, usage, and developer notes sections\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrwen%2Fcookiecutter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrwen%2Fcookiecutter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrwen%2Fcookiecutter-template/lists"}