{"id":23867156,"url":"https://github.com/abcum/tmpl","last_synced_at":"2026-06-18T03:31:53.684Z","repository":{"id":57497606,"uuid":"83040609","full_name":"abcum/tmpl","owner":"abcum","description":"A template parser and compiler for Go","archived":false,"fork":false,"pushed_at":"2019-09-29T09:24:56.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T10:16:22.543Z","etag":null,"topics":["generator","go","golang","golang-tools","template-processor"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/abcum.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":"2017-02-24T12:46:26.000Z","updated_at":"2024-04-03T06:21:14.000Z","dependencies_parsed_at":"2022-09-03T23:20:56.102Z","dependency_job_id":null,"html_url":"https://github.com/abcum/tmpl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcum%2Ftmpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcum%2Ftmpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcum%2Ftmpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abcum%2Ftmpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abcum","download_url":"https://codeload.github.com/abcum/tmpl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240198404,"owners_count":19763744,"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":["generator","go","golang","golang-tools","template-processor"],"created_at":"2025-01-03T10:16:23.920Z","updated_at":"2025-11-13T03:01:29.520Z","avatar_url":"https://github.com/abcum.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tmpl\n\nA command line tool for parsing and generating template files for Go (Golang).\n\n[![](https://img.shields.io/circleci/token/acab5a4d494bbdf0c97c4636063cc3d5d601bdac/project/abcum/tmpl/master.svg?style=flat-square)](https://circleci.com/gh/abcum/tmpl) [![](https://img.shields.io/badge/status-alpha-ff00bb.svg?style=flat-square)](https://github.com/abcum/tmpl) [![](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/abcum/tmpl) [![](https://goreportcard.com/badge/github.com/abcum/tmpl?style=flat-square)](https://goreportcard.com/report/github.com/abcum/tmpl) [![](https://img.shields.io/badge/license-Apache_License_2.0-00bfff.svg?style=flat-square)](https://github.com/abcum/tmpl) \n\n#### Features\n\n- Generate files from templates\n- Useful for go:generate commands\n- Accepts data as json or from a file\n- Templates are processed and compiled\n- Process and compile multiple templates at once\n\n#### Installation\n\n```bash\ngo get github.com/abcum/tmpl\n```\n\n#### Usage\n\n```bash\ntmpl -file data.json file1.go.tmpl file2.go.tmpl\n```\n\n```bash\ntmpl -data '[\"foo\",\"bar\",\"baz\"]' file1.go.tmpl file2.go.tmpl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabcum%2Ftmpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabcum%2Ftmpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabcum%2Ftmpl/lists"}