{"id":47875306,"url":"https://github.com/callowayproject/cookie-composer","last_synced_at":"2026-04-04T01:11:53.393Z","repository":{"id":37079773,"uuid":"464628125","full_name":"callowayproject/cookie-composer","owner":"callowayproject","description":"Create Cookiecutter projects from multiple templates","archived":false,"fork":false,"pushed_at":"2026-02-23T20:00:21.000Z","size":4055,"stargazers_count":20,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-24T02:43:14.504Z","etag":null,"topics":["cookiecutter","cookiecutter-template","jinja2","python","template","template-engine","templates","templating"],"latest_commit_sha":null,"homepage":"https://callowayproject.github.io/cookie-composer/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/callowayproject.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","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":null,"dco":null,"cla":null}},"created_at":"2022-02-28T20:07:59.000Z","updated_at":"2026-01-27T14:26:05.000Z","dependencies_parsed_at":"2026-02-23T22:04:11.224Z","dependency_job_id":null,"html_url":"https://github.com/callowayproject/cookie-composer","commit_stats":null,"previous_names":["coordt/cookie-composer"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/callowayproject/cookie-composer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fcookie-composer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fcookie-composer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fcookie-composer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fcookie-composer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/callowayproject","download_url":"https://codeload.github.com/callowayproject/cookie-composer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fcookie-composer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31383783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cookiecutter","cookiecutter-template","jinja2","python","template","template-engine","templates","templating"],"created_at":"2026-04-04T01:11:52.701Z","updated_at":"2026-04-04T01:11:53.385Z","avatar_url":"https://github.com/callowayproject.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cookie Composer\n\n\u003c!-- start-badges --\u003e\n\n[![PyPI](https://img.shields.io/pypi/v/cookie-composer)][pypi_]\n[![Status](https://img.shields.io/pypi/status/cookie-composer)][status]\n[![Python Version](https://img.shields.io/pypi/pyversions/cookie-composer)][python version]\n[![License](https://img.shields.io/pypi/l/cookie-composer)][license]\n[![codecov](https://codecov.io/gh/callowayproject/cookie-composer/branch/master/graph/badge.svg?token=YO2JQLV1OB)](https://codecov.io/gh/callowayproject/cookie-composer)\n\n[pypi_]: https://pypi.org/project/cookie-composer/\n[status]: https://pypi.org/project/cookie-composer/\n[python version]: https://pypi.org/project/cookie-composer\n[license]: https://github.com/callowayproject/cookie-composer/blob/master/LICENSE\n\nDocumentation: https://callowayproject.github.io/cookie-composer/\n\n\u003c!-- end-badges --\u003e\n\nCookie composer builds on the [cookie cutter](https://github.com/cookiecutter/cookiecutter) project to generate projects based on one or more cookiecutter templates.\n\n## Goals\n\n- Create new projects from a composition of several templates\n- Add new capabilities to an existing repository by applying a template\n- Apply template updates to the generated project\n\n## Introduction\n\nCookie Cutter treats templates like sandwiches. There are templates for hamburgers, clubs, and any other kind of sandwich you can dream up. You might have options and defaults on a template, like `Hold the mustard?[False]:` or `Mustard type [dijon]:`, but those are decided by the template author. \n\n\n\u003cimg src=\"https://raw.githubusercontent.com/coordt/cookie-composer/master/docs/assets/img/sandwiches.png\" alt=\"Templates are treated like finished sandwiches\" style=\"zoom:50%;\" /\u003e\n\nIf you look closely at the sandwiches (templates), there is usually many things in common. What if we treated the templates as compositions of other templates:\n\n\u003cimg src=\"https://raw.githubusercontent.com/coordt/cookie-composer/master/docs/assets/img/compositions.png\" alt=\"Sandwiches as a composition of layers\" style=\"zoom:50%;\" /\u003e\n\nYou now can manage several smaller and specialized templates that provide functionality. Each template's options will be specific to what that template needs.\n\n\u003cimg src=\"https://raw.githubusercontent.com/coordt/cookie-composer/master/docs/assets/img/layers.png\" alt=\"Templates broken out as layers on a sandwich\" style=\"zoom:50%;\" /\u003e\n\nCookie Composer uses a composition file to describe the layers required, and even override a template's default answers.\n\n```yaml\ntemplate: bottom-bun\ncontext:\n  toasting_level: light\n  buttered: False\n---\ntemplate: burger\n---\ntemplate: cheese\ncontext:\n  kind: swiss\n---\ntemplate: bacon\ncontext:\n  cooking_level: crispy\n---\ntemplate: ketchup\n---\ntemplate: mustard\ncontext:\n  type: yellow\n---\ntemplate: top-bun\ncontext:\n  toasting_level: light\n  buttered: False\n```\n\nWe have created [a repo of highly composable templates](https://github.com/coordt/cookiecomposer-templates) as examples or reference. However, Cookie Composer is designed to handle any Cookie Cutter template.\n\n## Purpose\n\n- Separate out parts to a repo into composable templates\n  - Boilerplate\n    - README, CONTRIBUTING, docs, Makefile, license, tooling configurations\n  - Project-specific\n    - Django\n    - Flask\n    - Library\n    - Data science\n  - CI/CD specific\n    - Helm chart\n    - GitHub Actions vs. Jenkins vs. ...\n  - Documentation specific\n    - Sphinx\n    - MkDocs\n- Each composable template is managed and updated individually\n- A project can update itself based on chages in layers\n\n\n## Please contribute\n\n- Documentation critiques\n- Documentation suggestions\n- Feature suggestions\n- Feature improvements\n- Edge case identification\n- Code improvements\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallowayproject%2Fcookie-composer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallowayproject%2Fcookie-composer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallowayproject%2Fcookie-composer/lists"}