{"id":13587561,"url":"https://github.com/lavoiesl/bash-templater","last_synced_at":"2026-03-13T04:30:52.381Z","repository":{"id":5311696,"uuid":"6493637","full_name":"lavoiesl/bash-templater","owner":"lavoiesl","description":"Very simple templating system that replace {{VAR}} by $VAR environment value, supports defines","archived":false,"fork":false,"pushed_at":"2021-01-07T10:59:23.000Z","size":9,"stargazers_count":54,"open_issues_count":3,"forks_count":61,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-02-13T21:52:16.893Z","etag":null,"topics":["shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"JioCloud/contrail-vrouter","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lavoiesl.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":"2012-11-01T17:18:08.000Z","updated_at":"2023-09-28T10:20:57.000Z","dependencies_parsed_at":"2022-07-21T13:32:29.077Z","dependency_job_id":null,"html_url":"https://github.com/lavoiesl/bash-templater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lavoiesl/bash-templater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lavoiesl%2Fbash-templater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lavoiesl%2Fbash-templater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lavoiesl%2Fbash-templater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lavoiesl%2Fbash-templater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lavoiesl","download_url":"https://codeload.github.com/lavoiesl/bash-templater/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lavoiesl%2Fbash-templater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30457998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T03:55:51.346Z","status":"ssl_error","status_checked_at":"2026-03-13T03:55:33.055Z","response_time":60,"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":["shell"],"created_at":"2024-08-01T15:06:15.988Z","updated_at":"2026-03-13T04:30:52.353Z","avatar_url":"https://github.com/lavoiesl.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# BASH Templater\n\nVery simple templating system that replace `{{VAR}}` by `$VAR` environment value.\n\nSupports default values by writting `{{VAR=value}}` in the template.\n\n[![Build Status](https://travis-ci.org/lavoiesl/bash-templater.svg?branch=master)](https://travis-ci.org/lavoiesl/bash-templater)\n\n## Author\n\nSébastien Lavoie \u003cgithub@lavoie.sl\u003e\n\nSee http://blog.lavoie.sl/2012/11/simple-templating-system-using-bash.html for other details\n\n## Usage\n\n```sh\n# Passing arguments directly\nVAR=value templater.sh template\n\n# Evaluate /tmp/foo and pass those variables to the template\n# Useful for defining variables in a file\n# Parentheses are important for not polluting the current shell\n(set -a \u0026\u0026 . /tmp/foo \u0026\u0026 templater.sh template)\n\n# A variant that does NOT pass current env variables to the templater\nsh -c \"set -a \u0026\u0026 . /tmp/foo \u0026\u0026 templater.sh template\"\n```\n\n## Examples\nSee examples/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flavoiesl%2Fbash-templater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flavoiesl%2Fbash-templater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flavoiesl%2Fbash-templater/lists"}