{"id":17003262,"url":"https://github.com/jayfk/bakery","last_synced_at":"2026-05-08T00:36:52.420Z","repository":{"id":73238971,"uuid":"66066919","full_name":"jayfk/bakery","owner":"jayfk","description":"Bakery is a cookiecutter render server. It takes JSON and returns rendered cookiecutter templates as zipfiles.","archived":false,"fork":false,"pushed_at":"2016-10-05T14:27:41.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T09:41:34.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jayfk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-19T08:35:43.000Z","updated_at":"2016-12-13T11:17:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"4fbc9915-75f0-4f8e-ae1f-2475638590f5","html_url":"https://github.com/jayfk/bakery","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/jayfk%2Fbakery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayfk%2Fbakery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayfk%2Fbakery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayfk%2Fbakery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jayfk","download_url":"https://codeload.github.com/jayfk/bakery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937740,"owners_count":20535124,"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":[],"created_at":"2024-10-14T04:30:09.237Z","updated_at":"2026-05-08T00:36:47.394Z","avatar_url":"https://github.com/jayfk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bakery\n\nBakery is a cookiecutter render server. It takes JSON and returns rendered cookiecutter templates as zipfiles.\n\n## Usage\n\nClone the project:\n \n    git clone https://github.com/jayfk/bakery.git\n    \nAdd the cookiecutter templates you want to use to `cookiecutters.txt`:\n\n```\nhttps://github.com/pydanny/cookiecutter-django.git\nhttps://github.com/audreyr/cookiecutter-pypackage.git\n```\n\nStart the server in development mode:\n\n    docker-compose -f dev.yml up\n    \nOpen your browser and go to [localhost:5000](http://localhost:5000) to see the list of your installed cookiecutters:\n\n```\n{\n  \"cookiecutters\": {\n    \"cookiecutter-pypackage\": {\n      \"cookiecutter.json\": {\n        \"command_line_interface\": [\n          \"Click\", \n          \"No command-line interface\"\n        ], \n        \"create_author_file\": \"y\", \n        \"email\": \"aroy@alum.mit.edu\", \n        \"full_name\": \"Audrey Roy Greenfeld\", \n        \"github_username\": \"audreyr\", \n        \"open_source_license\": [\n          \"MIT license\", \n          \"BSD license\", \n          \"ISC license\", \n          \"Apache Software License 2.0\", \n          \"GNU General Public License v3\", \n          \"Not open source\"\n        ], \n        \"project_name\": \"Python Boilerplate\", \n        \"project_short_description\": \"Python Boilerplate contains all the boilerplate you need to create a Python package.\", \n        \"project_slug\": \"{{ cookiecutter.project_name.lower().replace(' ', '_') }}\", \n        \"pypi_username\": \"{{ cookiecutter.github_username }}\", \n        \"use_pypi_deployment_with_travis\": \"y\", \n        \"use_pytest\": \"n\", \n        \"version\": \"0.1.0\"\n      }, \n      \"path\": \"/cookiecutters/cookiecutter-pypackage\"\n    }\n  }\n}\n```\n\nTo render a template, send a `POST` request to the server. The request needs to contain\n\n - 1. the cookiecutter template you want to use \n - 2. the `cookiecutter.json` values you want to change\n \nas JSON parameters.\n\nFor example, to render a **cookiecutter-django** template with a **project_name** of **foo**:\n\n    http POST http://localhost:5000/ cookiecutter=cookiecutter-django project_name=foo \u003e project.zip\n\n## State of the project\n\nThis is a proof of concept at this point. It's insecure, don't run this in anywhere near production. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayfk%2Fbakery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayfk%2Fbakery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayfk%2Fbakery/lists"}