{"id":21951884,"url":"https://github.com/go-coldbrew/cookiecutter-coldbrew","last_synced_at":"2025-07-10T15:40:20.504Z","repository":{"id":43152710,"uuid":"327932554","full_name":"go-coldbrew/cookiecutter-coldbrew","owner":"go-coldbrew","description":"A cookiecutter template to build golang services powered by ColdBrew","archived":false,"fork":false,"pushed_at":"2025-06-11T02:30:09.000Z","size":6080,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-11T03:44:44.332Z","etag":null,"topics":["coldbrew","cookiecutter","docker","framework","golang","lightweight","microservice"],"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/go-coldbrew.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-08T14:57:44.000Z","updated_at":"2025-06-11T02:30:09.000Z","dependencies_parsed_at":"2025-02-21T09:32:17.164Z","dependency_job_id":"14e718be-5f2e-4041-a241-84151a53f4b6","html_url":"https://github.com/go-coldbrew/cookiecutter-coldbrew","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/go-coldbrew/cookiecutter-coldbrew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-coldbrew%2Fcookiecutter-coldbrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-coldbrew%2Fcookiecutter-coldbrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-coldbrew%2Fcookiecutter-coldbrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-coldbrew%2Fcookiecutter-coldbrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-coldbrew","download_url":"https://codeload.github.com/go-coldbrew/cookiecutter-coldbrew/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-coldbrew%2Fcookiecutter-coldbrew/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264599635,"owners_count":23635310,"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":["coldbrew","cookiecutter","docker","framework","golang","lightweight","microservice"],"created_at":"2024-11-29T06:18:01.928Z","updated_at":"2025-07-10T15:40:20.472Z","avatar_url":"https://github.com/go-coldbrew.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cookiecutter-coldbrew\n\nPowered by [Cookiecutter](https://github.com/audreyr/cookiecutter), Cookiecutter Coldbrew is a framework for jumpstarting production-ready go projects quickly.\n\n## Features\n\n- Generous `Makefile` with management commands\n- injects build time and git hash at build time.\n- Powered by [ColdBrew](https://docs.coldbrew.cloud)\n\n## Constraints\n\n- Uses `mod` for dependency management\n- Only maintained 3rd party libraries are used.\n- Use multistage docker builds for super small docker images\n- Make sure '$GOBIN' is set in PATH\n\n## Docker\n\nThis template uses docker multistage builds to make images slimmer and containers only the final project binary and assets with no source code whatsoever.\n\n## Usage\n\nLet's pretend you want to create a project called \"echoserver\".\n\nRather than starting from scratch maybe copying some files and then editing the results to include your name, email, and various configuration issues that always get forgotten until the worst possible moment, get cookiecutter to do all the work.\n\n### Prerequisites\nFirst, get Cookiecutter. Trust me, it's awesome:\n\n```shell\n$ pip install cookiecutter\n```\n\nAlternatively, you can install `cookiecutter` with homebrew:\n\n```shell\n$ brew install cookiecutter\n```\n### Using the ColdBrew Cookiecutter Template\n\nTo run it based on this template, type:\n\n```shell\n$ cookiecutter gh:go-coldbrew/cookiecutter-coldbrew\n```\n\nYou will be asked about your basic info \\(name, project name, app name, etc.\\). This info will be used to customise your new project.\n\n### Providing your app information to the cookiecutter\n\nWarning: After this point, change 'github.com/ankurs', 'MyApp', etc to your own information.\n\nAnswer the prompts with your own desired options. For example:\n\n```shell\nsource_path [github.com/ankurs]: github.com/ankurs\napp_name [MyApp]: MyApp\ngrpc_package [github.com.ankurs]: github.com.ankurs\nservice_name [MySvc]: MySvc\nproject_short_description [A Golang project.]: A Golang project\ndocker_image [alpine:latest]:\ndocker_build_image [golang]:\nSelect docker_build_image_version:\n1 - 1.19\n2 - 1.20\nChoose from 1, 2 [1]: 2\n```\n\n### Checkout your new project\n\nEnter the project and take a look around:\n\n```shell\n$ cd MyApp/\n$ ls\n```\n\nRun `make help` to see the available management commands, or just run `make build` to build your project.\n\n```shell\n$ make run\n```\n### Working with your new project\n\nYour project is now ready to be worked on. You can find the generated `README.md` file in the project root directory. It contains a lot of useful information about the project. You can also find the generated `Dockerfile` in the project root directory. It contains a lot of useful commands to build, test, and run your project. You can also find the generated `Makefile` in the project root directory. It contains a lot of useful commands to build, test, and run your project. You can run `make help` to see the available management commands.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-coldbrew%2Fcookiecutter-coldbrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-coldbrew%2Fcookiecutter-coldbrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-coldbrew%2Fcookiecutter-coldbrew/lists"}