{"id":36537849,"url":"https://github.com/benoahriz/envtoconf","last_synced_at":"2026-01-15T02:23:43.336Z","repository":{"id":57608299,"uuid":"97260169","full_name":"benoahriz/envtoconf","owner":"benoahriz","description":"Simple env to conf files ","archived":false,"fork":false,"pushed_at":"2025-11-27T20:32:51.000Z","size":4048,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-30T11:47:48.111Z","etag":null,"topics":["confd","environment","golang","template","variables"],"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/benoahriz.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}},"created_at":"2017-07-14T18:00:32.000Z","updated_at":"2019-07-30T22:20:04.000Z","dependencies_parsed_at":"2022-09-03T10:22:18.459Z","dependency_job_id":null,"html_url":"https://github.com/benoahriz/envtoconf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benoahriz/envtoconf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoahriz%2Fenvtoconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoahriz%2Fenvtoconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoahriz%2Fenvtoconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoahriz%2Fenvtoconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoahriz","download_url":"https://codeload.github.com/benoahriz/envtoconf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoahriz%2Fenvtoconf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["confd","environment","golang","template","variables"],"created_at":"2026-01-12T05:11:18.800Z","updated_at":"2026-01-15T02:23:43.328Z","avatar_url":"https://github.com/benoahriz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# envtoconf\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/benoahriz/envtoconf)](https://goreportcard.com/report/github.com/benoahriz/envtoconf)\n\nStriving to be a simple env program to process go templates primarily used for docker containers to read environment variables at runtime. The funcMap() for the template processor comes from [sprig](https://github.com/Masterminds/sprig) which gives you all kinds of functions if you wish to use them.\n\nBelow is some exmaples of using environment variables in a template.\n\n``` bash\nhome is :{{ env \"HOME\" }} endhome.\npath is :{{ expandenv \"Your path is set to $PATH\" }} endpath.\n\n```\n\n\nTODO:\n\n  Create tests for malformed template\n  Write article about going from an idea to production in golang.\n  Create option for required vars strict mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoahriz%2Fenvtoconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoahriz%2Fenvtoconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoahriz%2Fenvtoconf/lists"}