{"id":15286342,"url":"https://github.com/toolsascode/gomodeler","last_synced_at":"2025-10-13T15:10:35.624Z","repository":{"id":255942829,"uuid":"851801399","full_name":"toolsascode/gomodeler","owner":"toolsascode","description":"Go Modeler is a small CLI and Library that brings the powerful features of the golang template into a simplified form.","archived":false,"fork":false,"pushed_at":"2025-07-02T17:24:34.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T18:33:19.185Z","etag":null,"topics":["ci","cloud","devops","github-actions","infra","it","pipeline","platform","sre"],"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/toolsascode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2024-09-03T18:12:38.000Z","updated_at":"2025-07-02T17:24:37.000Z","dependencies_parsed_at":"2024-09-30T15:14:02.229Z","dependency_job_id":"126abc3f-2efd-4366-a8bc-5b9328f2f8d4","html_url":"https://github.com/toolsascode/gomodeler","commit_stats":{"total_commits":51,"total_committers":2,"mean_commits":25.5,"dds":"0.019607843137254943","last_synced_commit":"55f70ffa064b1d048de468dcadbeb4e373369466"},"previous_names":["toolsascode/gomodeler"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/toolsascode/gomodeler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsascode%2Fgomodeler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsascode%2Fgomodeler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsascode%2Fgomodeler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsascode%2Fgomodeler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toolsascode","download_url":"https://codeload.github.com/toolsascode/gomodeler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolsascode%2Fgomodeler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015904,"owners_count":26085777,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ci","cloud","devops","github-actions","infra","it","pipeline","platform","sre"],"created_at":"2024-09-30T15:13:26.333Z","updated_at":"2025-10-13T15:10:35.595Z","avatar_url":"https://github.com/toolsascode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Modeler CLI and Library \n[![Go Reference](https://pkg.go.dev/badge/github.com/toolsascode/gomodeler.svg)](https://pkg.go.dev/github.com/toolsascode/gomodeler) [![Dependabot Updates](https://github.com/toolsascode/gomodeler/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/toolsascode/gomodeler/actions/workflows/dependabot/dependabot-updates) [![Testing](https://github.com/toolsascode/gomodeler/actions/workflows/go.yml/badge.svg)](https://github.com/toolsascode/gomodeler/actions/workflows/go.yml) [![Publishing Version](https://github.com/toolsascode/gomodeler/actions/workflows/releaser.yml/badge.svg)](https://github.com/toolsascode/gomodeler/actions/workflows/releaser.yml)\n\nThe objective of this project is to help those people who need a small software to carry out their template compilations easily and quickly. The version is available to be used as a small CLI or a library in `golang`. We use Golang's templating system to perform the main demands of the application.\n\nIn this project we also have a set of our own functions and the phenomenal arrangement of the [Sprig](https://masterminds.github.io/sprig/) project to help you with the maximum resources available by the communities.\n\n\n## How to install?\n\n### Go Install\n\n```shell\ngo install github.com/toolsascode/gomodeler@latest\n```\n\n### Via Github\n\n- [Latest version](https://github.com/toolsascode/gomodeler/releases/latest)\n\n```shell\ncurl -fLSs https://raw.githubusercontent.com/toolsascode/gomodeler/main/scripts/install.sh | bash\n```\n\nOr \n\n```shell\ncurl -fLSs https://raw.githubusercontent.com/toolsascode/gomodeler/main/scripts/install.sh | sudo bash\n```\n\n### Homebrew\n\n```shell\nbrew install toolsascode/tap/gomodeler\n```\n\n### Scoop\n\n1. Run **PowerShell as an Administrator** and:\n2. To add this bucket, run `scoop bucket add gomodeler-scoop https://github.com/toolsascode/scoop-bucket`.\n3. To install, do `scoop install gomodeler`.\n\n_*Soon we will be making it available through other installation sources._\n\n## How to use?\n\nSee full documentation at [gomodeler.md](./docs/gomodeler.md)\n\n1. Create a structure.\n    **Example:**\n\n    ```shell\n    root/\n        /templates/\n            file1.json.gotmpl\n            file2.yaml.gotmpl\n            file3.md.gotmpl\n            file4.html.gotmpl\n        /envFile.yaml\n\n    ```\n\n    *An important point is the file format, it is not mandatory, it avoids the need to inform each name for the output.\n\n    - **Template file name format:** _{filename}.{extension to output}.{extension to template}_\n    - **The following file will be generated automatically by the output:** _{filename}.{extension to output}_ \n\n2. Create templates using the following available resources:\n    1. [Go template](https://pkg.go.dev/text/template#hdr-Actions)\n    2. [GoModeler Funcs](./docs/functions.md)\n    3. [Sprig](https://masterminds.github.io/sprig/)\n\n3. Create a variables file in `Yaml` or `Json` format. It is also possible to pass the variables directly to the CLI in the `key=value` format.\n    - **Example:** `envFile.yaml`\n4. Run the command with the following options:\n\n```shell\ngomodeler -f root/envFile.yaml --template-path root/templates --output-path root/outputs\n```\n\n5. Just check the `root/outputs` folder where all files will be generated.\n\n## Examples\n\nIn the [examples](./examples/) folder, some examples and models of how to use the CLI are available.\n\n- [Complete](./examples/complete/)\n- [Summary](./examples/summary/)\n- [Multiple templates](./examples/multiple-templates/)\n\nFor more options run the `gomodeler --help` command or use `gomodeler [command] --help` for more information about a command. See [gomodeler.md](./docs/gomodeler.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolsascode%2Fgomodeler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoolsascode%2Fgomodeler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolsascode%2Fgomodeler/lists"}