{"id":15886663,"url":"https://github.com/olebedev/var","last_synced_at":"2025-04-02T16:23:50.660Z","repository":{"id":57523246,"uuid":"62331689","full_name":"olebedev/var","owner":"olebedev","description":"tool to fill in json/yaml stdin stream from the environment variables","archived":false,"fork":false,"pushed_at":"2016-08-08T09:56:44.000Z","size":128,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T07:11:48.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olebedev.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":"2016-06-30T17:57:04.000Z","updated_at":"2016-10-17T08:51:17.000Z","dependencies_parsed_at":"2022-08-28T11:20:42.686Z","dependency_job_id":null,"html_url":"https://github.com/olebedev/var","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/olebedev%2Fvar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olebedev%2Fvar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olebedev%2Fvar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olebedev%2Fvar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olebedev","download_url":"https://codeload.github.com/olebedev/var/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246848293,"owners_count":20843678,"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":[],"created_at":"2024-10-06T05:41:14.971Z","updated_at":"2025-04-02T16:23:50.633Z","avatar_url":"https://github.com/olebedev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# var\n\nTool to fill in json/yaml stdin stream from the environment variables.\n\n### Usage\n\nInstall: `go get github.com/olebedev/var` or download compiled binaries at [releases](https://github.com/olebedev/var/releases) page.\n\n```\n$ var --help\nNAME:\n   var - tool to fill in json/yaml stdin stream from the environment variables\n\nUSAGE:\n   var \u003c conf.yaml \u003e env-conf.yaml\n\n   The tool reads stdin, lookups env variables, sets them up and\n   produce the result to stdout.\n\n   All dotted(\"some.path.to.the.value\") paths in the input file\n   will be transformed to UPPERCASE and dot(\".\") will be replaced\n   to underscore(\"_\") to lookup the env.\n   For example, env lookup for this input:\n\n     {\n       \"port\": 5000,\n         \"rabbitmq\": {\n         \"url\": \"...\"\n       },\n       \"proxies\": [\n         \"...\",\n         \"...\"\n       ]\n     }\n\n   will be:\n\n     port         -\u003e PORT\n     rabbitmq.url -\u003e RABBITMQ_URL\n     proxies      -\u003e PROXIES_0, PROXIES_1\n\n\nVERSION:\n   0.1.1\n\nAUTHOR(S):\n   olebedev \u003cole6edev@gmail.com\u003e\n\nCOMMANDS:\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --alias value, -a value   alias to be matched: \u003cFROM\u003e=\u003cTO\u003e\n   --indent value, -i value  indent string(only for json files)\n   --help, -h                show help\n   --version, -v             print the version\n```\n\n### License\n\nApache 2.0 - http://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folebedev%2Fvar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folebedev%2Fvar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folebedev%2Fvar/lists"}