{"id":13414102,"url":"https://github.com/tmrts/boilr","last_synced_at":"2025-05-15T18:08:53.543Z","repository":{"id":45398429,"uuid":"48290019","full_name":"tmrts/boilr","owner":"tmrts","description":":zap: boilerplate template manager that generates files or directories from template repositories","archived":false,"fork":false,"pushed_at":"2023-03-07T19:46:12.000Z","size":1533,"stargazers_count":1734,"open_issues_count":44,"forks_count":119,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-31T22:19:04.639Z","etag":null,"topics":["boilerplate","boilerplate-template","cli","go","golang","template","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmrts.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":"2015-12-19T16:57:26.000Z","updated_at":"2025-03-25T18:27:07.000Z","dependencies_parsed_at":"2024-06-18T16:50:05.607Z","dependency_job_id":"ef7d1d5e-6143-4097-9a9c-ac723f63dc1c","html_url":"https://github.com/tmrts/boilr","commit_stats":{"total_commits":129,"total_committers":10,"mean_commits":12.9,"dds":"0.10077519379844957","last_synced_commit":"8f51ad7884c5eb69c11d260a31da7a745e6b78e2"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrts%2Fboilr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrts%2Fboilr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrts%2Fboilr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmrts%2Fboilr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmrts","download_url":"https://codeload.github.com/tmrts/boilr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744333,"owners_count":20988783,"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":["boilerplate","boilerplate-template","cli","go","golang","template","tool"],"created_at":"2024-07-30T20:01:57.716Z","updated_at":"2025-04-07T23:08:27.996Z","avatar_url":"https://github.com/tmrts.png","language":"Go","readme":"\u003ch1 align=center\u003e\nBoilr\n\u003cbr\u003e\n\u003cimg src=\"/assets/logo.png\" height=\"360\"\u003e\n\u003cbr\u003e\n\u003ca href=\"http://travis-ci.org/tmrts/boilr\"\u003e\u003cimg alt=\"Build Status\" src=\"https://img.shields.io/travis/tmrts/boilr.svg?style=flat-square\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/tmrts/boilr/blob/master/LICENSE\" \u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/license-Apache%20License%202.0-E91E63.svg?style=flat-square\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/tmrts/boilr/releases\" \u003e\u003cimg alt=\"Release Version\" src=\"https://img.shields.io/badge/release-v0.3.0-blue.svg?style=flat-square\"/\u003e\u003c/a\u003e\n\u003ca href=\"http://goreportcard.com/report/tmrts/boilr\" \u003e\u003cimg alt=\"Code Quality\" src=\"https://img.shields.io/badge/report%20card-A%2B-F44336.svg?style=flat-square\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://godoc.org/github.com/tmrts/boilr\" \u003e\u003cimg alt=\"Documentation\" src=\"https://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://gitter.im/tmrts/boilr\" \u003e\u003cimg alt=\"Chat Room\" src=\"https://img.shields.io/badge/chat-on%20gitter-00BCD4.svg?style=flat-square\"/\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=center\u003e\n\u003cem\u003eAre you doing the \u003cb\u003esame steps over and over again\u003c/b\u003e every time you start a new programming project?\u003c/em\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003cem\u003eBoilr is here to help you \u003cb\u003ecreate projects from boilerplate templates\u003c/b\u003e.\u003c/em\u003e\n\u003c/p\u003e\n\n![Usage Demonstration](assets/usage.gif)\n\nFor more details, see [Introduction](https://github.com/tmrts/boilr/wiki/Introduction) page.\n\n# Features\n* **No dependencies (NodeJS, Python Interpreter etc.)** - Boilr is a single statically linked binary.\nGrab the one that fits your architecture, and you're all set to save time by using templates!\n* **Full Power of [Golang Templates](https://golang.org/pkg/text/template/)** - Golang has powerful templating\nconstructs which are very easy to learn and powerful.\n* **Dead-Simple Template Creation** - Creating boilerplate templates are very easy, check out\nthe [license template](https://github.com/tmrts/boilr-license) to see a simple, but very useful template for\nadding licenses to new projects with a single command.\n\n# Installation\nBinaries for Linux \u0026 OSX are built automatically by Travis every release.\nYou can download them directly or run the installation script.\n\nPlease see [Installation](https://github.com/tmrts/boilr/wiki/Installation) page for more information.\n\n# Getting Started with Boilr\nUse `boilr help` to get the list of available commands.\n\n## Download a Template\nIn order to download a template from a github repository, use the following command:\n\n```bash\nboilr template download \u003cgithub-repo-path\u003e \u003ctemplate-tag\u003e\nboilr template download tmrts/boilr-license license\n```\n\nThe downloaded template will be saved to local `boilr` registry.\n\n## Save a Local Template\nIn order to save a template from filesystem to the template registry use the following command:\n\n```bash\nboilr template save \u003ctemplate-path\u003e \u003ctemplate-tag\u003e\nboilr template save ~/boilr-license license\n```\n\nThe saved template will be saved to local `boilr` registry.\n\n## Use a Template\nFor a Boilr template with the given directory structure:\n\n```tree\n.\n├── project.json\n├── README.md\n└── template\n    └── LICENSE\n```\n\nAnd the following `project.json` context file:\n\n```json\n{\n    \"Author\": \"Tamer Tas\",\n    \"Year\": \"2015\",\n    \"License\": [\n        \"Apache Software License 2.0\",\n        \"MIT\",\n        \"GNU GPL v3.0\"\n    ]\n}\n```\n\nWhen using the template with the following command:\n\n```bash\nboilr template use \u003ctemplate-tag\u003e \u003ctarget-dir\u003e\nboilr template use license /workspace/tmrts/example-project/\n```\n\nThe user will be prompted as follows:\n\n```bash\n[?] Please choose an option for \"License\"\n    1 -  \"Apache Software License 2.0\"\n    2 -  \"MIT\"\n    3 -  \"GNU GPL v3.0\"\n    Select from 1..3 [default: 1]: 2\n[?] Please choose a value for \"Year\" [default: \"2015\"]:\n[?] Please choose a value for \"Author\" [default: \"Tamer Tas\"]:\n[✔] Created /workspace/tmrts/example-project/LICENSE\n[✔] Successfully executed the project template license in /workspace/tmrts/example-project\n```\n\nFor more information please take a look at [Usage](https://github.com/tmrts/boilr/wiki/Usage) and [Creating Templates](https://github.com/tmrts/boilr/wiki/Creating-Templates) pages in the wiki.\n\n# List of Templates\n\n\u003cimg alt=\"Electron Logo\" height=96 width=96\nsrc=\"https://cdn.rawgit.com/tmrts/boilr/master/assets/template-logos/electron.svg\" /\u003e\n\u003cimg alt=\"Docker Logo\" height=96 width=96\nsrc=\"https://cdn.rawgit.com/tmrts/boilr/master/assets/template-logos/docker.svg\" /\u003e\n\u003cimg alt=\"Kubernetes Logo\" height=96 width=96\nsrc=\"https://cdn.rawgit.com/tmrts/boilr/master/assets/template-logos/kubernetes.svg\" /\u003e\n\nTake a look at the [Templates](https://github.com/tmrts/boilr/wiki/Templates) page for an index of project templates, examples, and more information.\n\n# Need Help? Found a bug? Want a Feature?\nIf you'd like to contribute, share your opinions or ask questions, please feel free to open an issue.\n\nAt this stage, user feedback is of **utmost importance**, every contribution is welcome however small it may be.\n","funding_links":[],"categories":["Development","Go","Command-Line Productivity","Utilities","工具库","公用事业公司","cli","实用工具","\u003ca name=\"programming-boilerplate\"\u003e\u003c/a\u003eProgram templates and boilerplate","實用工具","工具库`可以提升效率的通用代码库和工具`","Utility","Repositories"],"sub_categories":["Boilerplate","HTTP Clients","Utility/Miscellaneous","Advanced Console UIs","查询语","实用程序/Miscellaneous","Fail injection","高級控制台界面","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","高级控制台界面"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmrts%2Fboilr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmrts%2Fboilr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmrts%2Fboilr/lists"}