{"id":13441522,"url":"https://github.com/mono/t4","last_synced_at":"2025-05-13T23:05:57.786Z","repository":{"id":18759850,"uuid":"85246185","full_name":"mono/t4","owner":"mono","description":"T4 text templating engine","archived":false,"fork":false,"pushed_at":"2024-11-15T20:47:04.000Z","size":802,"stargazers_count":403,"open_issues_count":55,"forks_count":104,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-04-12T22:16:21.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mono.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"code_of_conduct.md","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":"2017-03-16T22:13:37.000Z","updated_at":"2025-04-06T23:31:39.000Z","dependencies_parsed_at":"2023-10-03T04:45:48.704Z","dependency_job_id":"ba8ffdc8-bead-47fc-9c21-c506a6914371","html_url":"https://github.com/mono/t4","commit_stats":{"total_commits":519,"total_committers":33,"mean_commits":"15.727272727272727","dds":"0.18882466281310217","last_synced_commit":"e128cfc9c86f4de2191cfe8ccbb58fccbe965096"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Ft4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Ft4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Ft4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mono%2Ft4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mono","download_url":"https://codeload.github.com/mono/t4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637787,"owners_count":21137538,"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":[],"created_at":"2024-07-31T03:01:35.030Z","updated_at":"2025-04-12T22:16:28.797Z","avatar_url":"https://github.com/mono.png","language":"C#","funding_links":[],"categories":["HarmonyOS","General Purpose Preprocessor","others","C\\#"],"sub_categories":["Windows Manager","Snippets Manager"],"readme":"# Mono.TextTemplating\n\n[![Build](https://github.com/mono/t4/actions/workflows/build.yml/badge.svg)](https://github.com/mono/t4/actions/workflows/build.yml) [![NuGet version (dotnet-t4)](https://img.shields.io/nuget/v/dotnet-t4.svg?style=flat-square)](https://www.nuget.org/packages/dotnet-t4)\n\nT4 templates are a simple general-purpose way to use C# to generate any kind of text or code files.\n\n[`Mono.TextTemplating`](https://github.com/mono/t4) started out as an open-source reimplementation of the Visual Studio T4 text templating engine, but has since evolved to have many improvements over the original, including support for C# 10 and .NET 6.\n\nThe [dotnet-t4](https://www.nuget.org/packages/dotnet-t4/) tool  can be used either to process T4 templates directly, or preprocess them into runtime template classes that can be included in your app and processed at runtime.\n\n```bash\n$ dotnet tool install -g dotnet-t4\n$ echo \"\u003c#@ parameter name='Name' #\u003eHello \u003c#=Name#\u003e\" | t4 -o - -p:Name=World\nHello World\n```\n\nTo learn more, see the [dotnet-t4 readme](dotnet-t4/readme.md).\n\nFor advanced use, the engine itself is available as a package called [Mono.TextTemplating](https://www.nuget.org/packages/Mono.TextTemplating) that can be embedded in an app. For details, see the [Mono.TextTemplating package readme](Mono.TextTemplating/readme.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmono%2Ft4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmono%2Ft4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmono%2Ft4/lists"}