{"id":28937468,"url":"https://github.com/andreykaipov/env2conf","last_synced_at":"2026-05-09T06:35:24.835Z","repository":{"id":87929576,"uuid":"192036091","full_name":"andreykaipov/env2conf","owner":"andreykaipov","description":"quickly convert environment variables into configuration files","archived":false,"fork":false,"pushed_at":"2019-06-21T00:53:16.000Z","size":45,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T21:06:02.026Z","etag":null,"topics":["configuration","environment","json","toml","yaml"],"latest_commit_sha":null,"homepage":null,"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/andreykaipov.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-06-15T04:22:37.000Z","updated_at":"2019-06-21T00:48:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e35e496b-48fc-4406-9ded-e5c199a4672b","html_url":"https://github.com/andreykaipov/env2conf","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/andreykaipov/env2conf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreykaipov%2Fenv2conf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreykaipov%2Fenv2conf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreykaipov%2Fenv2conf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreykaipov%2Fenv2conf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreykaipov","download_url":"https://codeload.github.com/andreykaipov/env2conf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreykaipov%2Fenv2conf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32809851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["configuration","environment","json","toml","yaml"],"created_at":"2025-06-22T21:06:02.078Z","updated_at":"2026-05-09T06:35:24.824Z","avatar_url":"https://github.com/andreykaipov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# env2conf\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/andreykaipov/env2conf)](https://goreportcard.com/report/github.com/andreykaipov/env2conf)\n[![CircleCI](https://img.shields.io/circleci/build/github/andreykaipov/env2conf/master.svg)](https://circleci.com/gh/andreykaipov/env2conf)\n[![Wow Badges](https://img.shields.io/badge/wow-badges-blue.svg)](https://github.com/andreykaipov/env2conf)\n\nenv2conf converts environment variables into configuration files.\n\n## usage\n\nAvailable configuration outputs are:\n\n- JSON (default)\n\n  ```console\n  $ env server.host=0.0.0.0 server.port=8080 env2conf -prefix server\n  {\n    \"server\": {\n      \"port\": 8080,\n      \"host\": \"0.0.0.0\"\n    }\n  }\n  ```\n\n- YAML\n  ```console\n  $ env fruits[0]=apple fruits[1]=banana fruits[2]=orange env2conf -prefix fruits -output yaml\n  ---\n  fruits:\n    - banana\n    - mango\n    - pineapple\n  ```\n\n- TOML (inline)\n  ```console\n  $ env inputs.cpu[0]={} outputs.file[0].files[0]=stdout env2conf -prefix inputs,outputs -output toml\n  outputs = {file = [{files = [\"stdout\"]}]}\n  inputs = {cpu = [{}]}\n  ```\n\n## installation\n\nBinaries are available for download from the [GitHub releases](https://github.com/andreykaipov/env2conf/releases) page.\nFor example:\n\n```console\n$ curl -Lo env2conf https://github.com/andreykaipov/env2conf/releases/download/v0.2.0/env2conf-0.2.0-linux-amd64\n$ chmod +x env2conf\n$ mv env2conf /usr/local/bin\n```\n\nAlternatively, if you have Go installed:\n\n```console\n$ go get github.com/andreykaipov/env2conf\n```\n\n## development\n\nenv2conf is written in Go and has no external dependencies. Make is the build tool:\n\n```console\n$ make\n$ make test\n```\n\n## limitations\n\n- You can't use `.`, `[`, or `]` in key names\n- The top-level object can't be an array\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreykaipov%2Fenv2conf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreykaipov%2Fenv2conf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreykaipov%2Fenv2conf/lists"}