{"id":15097587,"url":"https://github.com/wpjunior/yml-expander","last_synced_at":"2026-01-07T04:39:50.207Z","repository":{"id":140825153,"uuid":"206804239","full_name":"wpjunior/yml-expander","owner":"wpjunior","description":"Create simple and easy yml templates without massive dependency instalation","archived":false,"fork":false,"pushed_at":"2019-09-18T21:02:09.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T18:15:33.661Z","etag":null,"topics":["template-metaprogramming","yml"],"latest_commit_sha":null,"homepage":null,"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/wpjunior.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":"2019-09-06T13:51:59.000Z","updated_at":"2019-09-18T21:01:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3280fa0-1f7f-4843-aeca-6f7747c51e46","html_url":"https://github.com/wpjunior/yml-expander","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpjunior%2Fyml-expander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpjunior%2Fyml-expander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpjunior%2Fyml-expander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpjunior%2Fyml-expander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpjunior","download_url":"https://codeload.github.com/wpjunior/yml-expander/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858880,"owners_count":20684057,"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":["template-metaprogramming","yml"],"created_at":"2024-09-25T16:23:49.373Z","updated_at":"2026-01-07T04:39:45.172Z","avatar_url":"https://github.com/wpjunior.png","language":"Go","readme":"# yml-expander\nCreate simple and easy yml templates without massive dependency instalation\n\n\n## Instalation\n\nInstall a release from: [github.com/wpjunior/yml-expander/releases](github.com/wpjunior/yml-expander/releases)\n\n## Example of usage\n\nCreate a context file named `data.yml`\n\n```\nenvironments:\n   - dev\n   - staging\n```\n\nCreate a template file named config.yml.tpl\n\n```\nenvironments:\n{{ range $_, $environment := .environments }}\n- name: example.{{ $environment }}\n  testing: true\n{{ end }}\n```\n\nGenerate `config.yml` running\n\n```\nyml-expander -data.path=data.yml -template.path=config.yml.tpl -output.path=config.yml\n```\n\nThe output will be:\n\n```\nenvironments:\n- name: example.dev\n  testing: true\n- name: example.staging\n  testing: true\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpjunior%2Fyml-expander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpjunior%2Fyml-expander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpjunior%2Fyml-expander/lists"}