{"id":21421154,"url":"https://github.com/axuno/texttemplating","last_synced_at":"2025-07-14T07:32:25.100Z","repository":{"id":38366664,"uuid":"311697553","full_name":"axuno/TextTemplating","owner":"axuno","description":"Text templating is used to dynamically render contents based on a template and a model.","archived":false,"fork":false,"pushed_at":"2024-07-25T11:55:49.000Z","size":699,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T10:57:56.938Z","etag":null,"topics":["csharp","scriban","text-template","text-templating"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/axuno.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}},"created_at":"2020-11-10T15:15:12.000Z","updated_at":"2024-09-18T15:08:51.000Z","dependencies_parsed_at":"2023-02-08T19:46:13.013Z","dependency_job_id":null,"html_url":"https://github.com/axuno/TextTemplating","commit_stats":null,"previous_names":["axuno/axuno.texttemplating"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/axuno/TextTemplating","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FTextTemplating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FTextTemplating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FTextTemplating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FTextTemplating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axuno","download_url":"https://codeload.github.com/axuno/TextTemplating/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FTextTemplating/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265255274,"owners_count":23735222,"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":["csharp","scriban","text-template","text-templating"],"created_at":"2024-11-22T20:32:00.423Z","updated_at":"2025-07-14T07:32:24.734Z","avatar_url":"https://github.com/axuno.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/axuno/Axuno.TextTemplating/main/TextTemplating.png\" width=\"64\" alt=\"Logo\"\u003e\n\n# Axuno.TextTemplating\n\n[![build + test](https://github.com/axuno/Axuno.TextTemplating/workflows/build%20%2B%20test/badge.svg)](https://github.com/axuno/Axuno.TextTemplating/actions?query=workflow%3A%22build+%2B+test%22)\n\nText templating is used to dynamically render contents based on a template and a model.\n\n* It is based on the [Scriban library](https://github.com/lunet-io/scriban), a language that supports conditional logics, loops and much more.\n* Template content can be localized.\n* You can define layout templates to be used as the layout while rendering other templates.\n* You can pass arbitrary objects to the template context (beside the model) for advanced scenarios.\n\nThe library is a modified version of the lightweight TextTemplating.Scriban part of [Volo.Abp.TextTemplating](https://github.com/abpframework/abp/tree/dev/framework/src/Volo.Abp.TextTemplating/Volo/Abp/TextTemplating) 7.0, (i.e., exluding the more heavy TextTemplating.Razor)\nModifications to the source code were made by axuno in 2020-23. Changes focused on:\n\n* decouple Volo.Abp.TextTemplating from all dependencies of the Abp Framework\n* replace the dependency Volo.Abp.VirtualFileSystem with a modified forked version of it ([Axuno.VirtualFileSystem](https://github.com/axuno/Axuno.VirtualFileSystem))\n* use Microsoft DependencyInjection instead of [AutoFac](https://autofac.org/)\n* use .Net resource files for inline localization instead JSON files\n* change of namespaces\n\n### Getting started\n* [![NuGet](https://img.shields.io/nuget/v/Axuno.TextTemplating.svg)](https://www.nuget.org/packages/Axuno.TextTemplating/) Install the NuGet package\n* Run the demo program included in the repo\n* Read the [Scriban language](https://github.com/lunet-io/scriban) docs\n* Read the [Text Templating wiki](https://github.com/axuno/Axuno.TextTemplating/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxuno%2Ftexttemplating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxuno%2Ftexttemplating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxuno%2Ftexttemplating/lists"}