{"id":34232831,"url":"https://github.com/arithran/go-cookiecutter","last_synced_at":"2026-03-11T09:04:25.381Z","repository":{"id":83195851,"uuid":"256896884","full_name":"arithran/go-cookiecutter","owner":"arithran","description":"A command-line utility that creates projects from templates","archived":false,"fork":false,"pushed_at":"2020-04-19T21:57:54.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-19T07:52:27.514Z","etag":null,"topics":["cookiecutter","cookiecutter-template","template-repository"],"latest_commit_sha":null,"homepage":"","language":"Go","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/arithran.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}},"created_at":"2020-04-19T02:27:58.000Z","updated_at":"2022-09-06T11:46:35.000Z","dependencies_parsed_at":"2024-01-16T18:59:16.037Z","dependency_job_id":"bf55d82a-f681-4e74-953c-31b4e088911f","html_url":"https://github.com/arithran/go-cookiecutter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/arithran/go-cookiecutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arithran%2Fgo-cookiecutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arithran%2Fgo-cookiecutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arithran%2Fgo-cookiecutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arithran%2Fgo-cookiecutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arithran","download_url":"https://codeload.github.com/arithran/go-cookiecutter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arithran%2Fgo-cookiecutter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30376786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"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","template-repository"],"created_at":"2025-12-16T01:55:33.864Z","updated_at":"2026-03-11T09:04:25.376Z","avatar_url":"https://github.com/arithran.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-cookiecutter\n\nA command-line utility that creates projects from templates for any language\nThe templating language is similar to [handlebars](https://handlebarsjs.com/) or [mustache](http://mustache.github.io/) templates. \n\n\n## Installation\n- Download the latest binary for your OS release from the [releases page](https://github.com/arithran/go-cookiecutter/releases)\n- Rename the file to `cookiecutter`\n- Make the file executable (`chmod +x cookiecutter`)\n- Check out the help menu for usage instructions `cookiecutter help`\n- (Optional Step) Move it to a folder in your PATH variable. (`mv cookiecutter /bin`)\n\n\n## Features\n\n- [x] Basic find and replacement of variables\n- [ ] Ignore parsing files in .gitignore\n- [ ] Find \u0026 replace directory names that are templates\n\n## Usage\n```bash\ncookiecutter run [directory] [find1 replace1 find2 replace2 ...]\n```\n\n**Example:**\n\nThis is a handler file in a project directory\n\n```go\npackage handler\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n)\n\nvar (\n\tSERVICE = \"{{SERVICE}}\"\n\tVERSION = \"{{VERSION}}\"\n)\n\nfunc Info(w http.ResponseWriter, req *http.Request) {\n\tfmt.Fprintf(w, \"service name is %s and version %s\\n\", SERVICE, VERSION)\n}\n\n```\n\nRunning the following command in the directory which holds this file will replace SERVICE \u0026 VERSION with login and v1 respectively\n```bash\ncookiecutter run . SERVICE login VERSION v1\n\n```\n\nExample templates can be found in the [examples folder](./examples/go-microservice-template)\n\n## Contribute\nPull requests are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farithran%2Fgo-cookiecutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farithran%2Fgo-cookiecutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farithran%2Fgo-cookiecutter/lists"}