{"id":15871054,"url":"https://github.com/unfunco/envsub","last_synced_at":"2026-04-15T13:32:11.635Z","repository":{"id":167576518,"uuid":"216649290","full_name":"unfunco/envsub","owner":"unfunco","description":"CLI tool designed to simplify the process of placeholder replacement.","archived":false,"fork":false,"pushed_at":"2023-05-20T17:15:28.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T16:35:44.185Z","etag":null,"topics":["cli-tool","env-vars","environment-variables","envsubst","interpolation","linux","macos","rust","substitution"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/unfunco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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-10-21T19:30:17.000Z","updated_at":"2024-07-01T06:01:49.000Z","dependencies_parsed_at":"2023-05-29T02:00:07.055Z","dependency_job_id":null,"html_url":"https://github.com/unfunco/envsub","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"0c11def0226d2beda7bdcde98a9200814793443e"},"previous_names":["unfunco/envsub"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/unfunco/envsub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfunco%2Fenvsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfunco%2Fenvsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfunco%2Fenvsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfunco%2Fenvsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unfunco","download_url":"https://codeload.github.com/unfunco/envsub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfunco%2Fenvsub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli-tool","env-vars","environment-variables","envsubst","interpolation","linux","macos","rust","substitution"],"created_at":"2024-10-06T00:41:35.687Z","updated_at":"2026-04-15T13:32:11.612Z","avatar_url":"https://github.com/unfunco.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# envsub\n\n**WIP**\n\nCLI tool designed to simplify the process of placeholder replacement in\ntext files. It's similar to [envsubst] in that it is primarily used for\ninjecting environment variables into configuration files.\n\n## Getting started\n\n### Installation\n\nTODO\n\n### Usage\n\n```yaml\napiVersion: v1\nkind: Pod\nmetadata:\n  name: nginx\nspec:\n  containers:\n  - image: nginx:${NGINX_VERSION}\n    name: nginx\n    ports:\n    - containerPort: ${PORT | default(80)}\n    restartPolicy: Never\n```\n\n```bash\nNGINX_VERSION=1.23.4 envsub \u003c manifest.yaml\n```\n\n```yaml\napiVersion: v1\nkind: Pod\nmetadata:\n  name: nginx\nspec:\n  containers:\n  - image: nginx:1.23.4\n    name: nginx\n    ports:\n    - containerPort: 80\n    restartPolicy: Never\n```\n\n### Filters\n\n|           Filter | Description                                                      |\n|-----------------:|------------------------------------------------------------------|\n| `default(value)` | Replaces the input with the default value if the input is empty. |\n|      `lowercase` | Transforms the characters in the input to lower case.            |\n|           `trim` | Removes whitespace from the start and end of the input.          |\n|      `uppercase` | Transforms the characters in the input to upper case.            |\n\n## License\n\n© 2019 [Daniel Morris](https://unfun.co)  \nMade available under the terms of the [Apache License 2.0](LICENSE.md).\n\n[envsubst]: https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfunco%2Fenvsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funfunco%2Fenvsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfunco%2Fenvsub/lists"}