{"id":21888606,"url":"https://github.com/swisscom/pongo2-runner","last_synced_at":"2026-04-01T17:02:25.845Z","repository":{"id":56795454,"uuid":"346794764","full_name":"swisscom/pongo2-runner","owner":"swisscom","description":"A small utility to render pongo2 templates","archived":false,"fork":false,"pushed_at":"2023-04-07T11:57:15.000Z","size":20,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2026-03-27T23:42:26.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swisscom.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-03-11T18:10:24.000Z","updated_at":"2023-05-05T13:02:19.000Z","dependencies_parsed_at":"2024-06-20T00:13:32.570Z","dependency_job_id":"3ceca167-3a4b-4dcb-a2d4-43c2cdd84ea1","html_url":"https://github.com/swisscom/pongo2-runner","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/swisscom/pongo2-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fpongo2-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fpongo2-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fpongo2-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fpongo2-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swisscom","download_url":"https://codeload.github.com/swisscom/pongo2-runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swisscom%2Fpongo2-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":[],"created_at":"2024-11-28T11:16:06.318Z","updated_at":"2026-04-01T17:02:25.812Z","avatar_url":"https://github.com/swisscom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pongo2-runner\n\nA small utility to render [pongo2](https://github.com/flosch/pongo2)\ntemplates. Intended to be used as a smarter replacement to `envsubst` \nto create smarter configuration files in the context\nof containers.\n\n## Example\n\nGiven the following template file saved in `./examples/test-2.cfg`\n```sh\n{% if env.SHELL == \"/bin/zsh\" %}\nis_using_awesome_shell=\"true\"\n{% else %}\nshell=\"{{ env.SHELL }}\"\nhome=\"{{ env.HOME }}\"\n{% endif %}\n```\n\nThe output of\n```sh\nSHELL=/bin/zsh pongo2-runner ./examples/test-2.cfg\n```\n\nis:\n\n```sh\nis_using_awesome_shell=\"true\"\n```\n\nwhile the output of\n```sh\nSHELL=/bin/bash pongo2-runner ./examples/test-2.cfg\n```\n\nis:\n```sh\nshell=\"/bin/bash\"\nhome=\"/home/username/\"\n```\n\n## Compiling\n\n### Requirements\n\n- Go (1.16+)\n\n### Compiling statically\n\n```bash\ngit clone https://github.com/swisscom/pongo2-runner\ncd pongo2-runner\nCGO_ENABLED=0 go build -o ./pongo2-runner ./cmd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fpongo2-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswisscom%2Fpongo2-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswisscom%2Fpongo2-runner/lists"}