{"id":16174197,"url":"https://github.com/relaxdiego/renderest","last_synced_at":"2025-10-12T23:59:58.661Z","repository":{"id":136171668,"uuid":"91151501","full_name":"relaxdiego/renderest","owner":"relaxdiego","description":"Way better than your average renderer.","archived":false,"fork":false,"pushed_at":"2020-08-24T04:38:29.000Z","size":34,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-15T04:44:11.072Z","etag":null,"topics":["bash","tdd","templating"],"latest_commit_sha":null,"homepage":"https://relaxdiego.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/relaxdiego.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-13T05:23:34.000Z","updated_at":"2024-03-29T08:52:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"08f5c1c1-d257-48c7-93a1-2145128ec23a","html_url":"https://github.com/relaxdiego/renderest","commit_stats":{"total_commits":17,"total_committers":5,"mean_commits":3.4,"dds":0.7058823529411764,"last_synced_commit":"1d2e2e344ffbfe3b6845cb7a86522debdd83e9b2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Frenderest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Frenderest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Frenderest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relaxdiego%2Frenderest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/relaxdiego","download_url":"https://codeload.github.com/relaxdiego/renderest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244331686,"owners_count":20435975,"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":["bash","tdd","templating"],"created_at":"2024-10-10T04:24:10.491Z","updated_at":"2025-10-12T23:59:58.558Z","avatar_url":"https://github.com/relaxdiego.png","language":"Shell","funding_links":[],"categories":["General Purpose Preprocessor"],"sub_categories":["Snippets Manager"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/relaxdiego/renderest/master/logo.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://travis-ci.org/relaxdiego/renderest.svg?branch=master\"\u003e\n\u003c/p\u003e\n\nThis repo is the companion source code for my article on\n[Templating and Testing with BASH](https://relaxdiego.com/2017/05/templating-and-testing-with-bash.html).\n\n## Usage\n\nGiven template.txt:\n\n```bash\nHello, {{person}}!\n```\n\nRun:\n\n```\n$ person=Bob ./render template.txt\n```\n\nAnd you'll see the output\n\n```\nHello, Bob!\n```\n\nWrite it to a file by redirecting stdout to a file:\n\n```\n$ person=Bob ./render template.txt \u003e rendered.txt\n```\n\nOr declare your variables in a file and then source it. Best done inside a script:\n\n```bash\n#!/usr/bin/env bash\nsource ./myvalues\n./render template.txt \u003e rendered.txt\n```\n\nError out on empty env variables:\n\n```\n$ person= ./render --no-empty template.txt \u003e rendered.txt\n```\n\n## Testing\n\nJust run:\n\n```\n./test-render\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelaxdiego%2Frenderest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelaxdiego%2Frenderest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelaxdiego%2Frenderest/lists"}