{"id":13757457,"url":"https://github.com/groob/exec-template","last_synced_at":"2025-04-13T21:11:33.264Z","repository":{"id":70182858,"uuid":"80591702","full_name":"groob/exec-template","owner":"groob","description":"Do useful things with go templates. ","archived":false,"fork":false,"pushed_at":"2017-02-01T05:21:15.000Z","size":1,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T11:38:02.655Z","etag":null,"topics":["go","golang","utility"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/groob.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}},"created_at":"2017-02-01T05:13:12.000Z","updated_at":"2022-03-25T18:01:09.000Z","dependencies_parsed_at":"2023-02-22T16:45:12.509Z","dependency_job_id":null,"html_url":"https://github.com/groob/exec-template","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groob%2Fexec-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groob%2Fexec-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groob%2Fexec-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groob%2Fexec-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/groob","download_url":"https://codeload.github.com/groob/exec-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782260,"owners_count":21160717,"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":["go","golang","utility"],"created_at":"2024-08-03T12:00:39.083Z","updated_at":"2025-04-13T21:11:33.241Z","avatar_url":"https://github.com/groob.png","language":"Go","funding_links":[],"categories":["Other Awesome Lists"],"sub_categories":["Non-CloudSec Stuff (TODO: move this elsewhere)"],"readme":"Execute arbitrary Go template using some JSON input.\n\n# Example\n\n```\n./exec-template \\\n    -json='{\"Name\": \"groob\", \"Status\": \"active\"}' \\\n    -template='{{.Name}} is {{.Status}}.' \\\n    -string\n```\n\nUse the `-string` flag to specify wether the template is a path to a file or a string parameter like above.\n\n# Install\n\nIf you have Go installed:\n\n```\ngo get github.com/groob/exec-template\n```\n\nOtherwise, you can download the binary from the [releases](https://github.com/groob/exec-template/releases) page.\n\n\n\n# Usage\n\n```\n  -json string\n       \tjson input to use in template\n  -string\n       \ttemplate is a string, not a file\n  -template string\n       \tpath to template\n```\n\nGo template tutorial: https://golang.org/pkg/text/template/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroob%2Fexec-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgroob%2Fexec-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroob%2Fexec-template/lists"}