{"id":30106980,"url":"https://github.com/gcarreno/fp-tera-tpl","last_synced_at":"2026-02-10T16:10:35.846Z","repository":{"id":307504551,"uuid":"1029382095","full_name":"gcarreno/fp-tera-tpl","owner":"gcarreno","description":"Port of the Tera template engine to Free Pascal","archived":false,"fork":false,"pushed_at":"2025-07-31T14:25:14.000Z","size":80,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-31T18:06:38.900Z","etag":null,"topics":["fpc","free-pascal","freepascal","object-pascal","objectpascal","template-engine","template-tera","templates","tera-templates"],"latest_commit_sha":null,"homepage":"","language":"Pascal","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/gcarreno.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-31T01:03:34.000Z","updated_at":"2025-07-31T16:52:33.000Z","dependencies_parsed_at":"2025-07-31T18:07:04.991Z","dependency_job_id":"2660a984-cb2a-40aa-8442-bb020aa3f246","html_url":"https://github.com/gcarreno/fp-tera-tpl","commit_stats":null,"previous_names":["gcarreno/fp-tera-tpl"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gcarreno/fp-tera-tpl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcarreno%2Ffp-tera-tpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcarreno%2Ffp-tera-tpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcarreno%2Ffp-tera-tpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcarreno%2Ffp-tera-tpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gcarreno","download_url":"https://codeload.github.com/gcarreno/fp-tera-tpl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gcarreno%2Ffp-tera-tpl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269663321,"owners_count":24455796,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fpc","free-pascal","freepascal","object-pascal","objectpascal","template-engine","template-tera","templates","tera-templates"],"created_at":"2025-08-10T01:31:25.040Z","updated_at":"2026-02-10T16:10:35.815Z","avatar_url":"https://github.com/gcarreno.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tera Templates\n[![Supports Windows](https://img.shields.io/badge/support-Windows-blue?logo=Windows)](https://github.com/gcarreno/fp-tera-tpl/releases/latest)\n[![Supports Linux](https://img.shields.io/badge/support-Linux-yellow?logo=Linux)](https://github.com/gcarreno/fp-tera-tpl/releases/latest)\n[![Supports macOS](https://img.shields.io/badge/support-macOS-black?logo=macOS)](https://github.com/gcarreno/fp-tera-tpl/releases/latest)\n[![License](https://img.shields.io/github/license/gcarreno/fp-tera-tpl?logo=github)](https://github.com/gcarreno/fp-tera-tpl/blob/main/LICENSE)\n[![Latest Release](https://img.shields.io/github/v/release/gcarreno/fp-tera-tpl?label=latest%20release\u0026logo=github)](https://github.com/gcarreno/fp-tera-tpl/releases/latest)\n[![Downloads](https://img.shields.io/github/downloads/gcarreno/fp-tera-tpl/total?logo=github)](https://github.com/gcarreno/fp-tera-tpl/releases)\n\nThis package is an attempt to port the famous Tera template engine into Free Pascal.\n\n## Objectives\n\n- [x] Implement full `AST` on the engine.\n- [x] Implement `{{ \u003cvariable\u003e }}`.\n- [x] Implement filters: `{{ \u003cvariable\u003e | \u003cfilter\u003e | \u003cfilter\u003e }}`.\n- [x] Implement `{% include  \"\u003cfilename\u003e\" %}`.\n- [x] Implement `{% if \u003cexpression\u003e %}`, `{% else %}` and `{% endif %}`.\n- [x] Implement decent expression parser for `{% if \u003cexpression\u003e %}` with `AST`.\n- [x] Implement `{% for \u003cvariable\u003e in \u003cvariable_array\u003e %}` and `{% enfor %}`.\n- [ ] Implement full battery of tests.\n- [ ] Implement `{%-` and `-%}` for `TrimLeft` and `TrimRight`.\n\n## Examples\n\nThere are examples: [Examples Folder](examples)\n\n## Package\n\nYou can find the package here: [Packages Folder](packages)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcarreno%2Ffp-tera-tpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgcarreno%2Ffp-tera-tpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcarreno%2Ffp-tera-tpl/lists"}