{"id":15091741,"url":"https://github.com/thzinc/cake.handlebarsdotnet","last_synced_at":"2025-10-06T11:30:42.661Z","repository":{"id":83947891,"uuid":"123831213","full_name":"thzinc/Cake.HandlebarsDotNet","owner":"thzinc","description":"Cake addin for working with Handlebars templates","archived":true,"fork":false,"pushed_at":"2019-04-30T22:11:12.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-23T00:32:51.563Z","etag":null,"topics":["addin","cake","csharp","handlebars","handlebarsjs"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/thzinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2018-03-04T21:34:27.000Z","updated_at":"2023-01-28T18:26:39.000Z","dependencies_parsed_at":"2023-03-12T20:00:48.001Z","dependency_job_id":null,"html_url":"https://github.com/thzinc/Cake.HandlebarsDotNet","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thzinc/Cake.HandlebarsDotNet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzinc%2FCake.HandlebarsDotNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzinc%2FCake.HandlebarsDotNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzinc%2FCake.HandlebarsDotNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzinc%2FCake.HandlebarsDotNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thzinc","download_url":"https://codeload.github.com/thzinc/Cake.HandlebarsDotNet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thzinc%2FCake.HandlebarsDotNet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278601824,"owners_count":26013953,"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-10-06T02:00:05.630Z","response_time":65,"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":["addin","cake","csharp","handlebars","handlebarsjs"],"created_at":"2024-09-25T10:43:10.537Z","updated_at":"2025-10-06T11:30:42.399Z","avatar_url":"https://github.com/thzinc.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cake.HandlebarsDotNet\n\nCake addin for working with Handlebars templates\n\n(This is very close in functionality to https://github.com/agc93/Cake.Handlebars. At some point, these should probably be merged.)\n\n## Quickstart\n\nAdd the `Cake.HandlebarsDotNet` package to your Cake script:\n\n```csharp\n#addin nuget:?package=Cake.HandlebarsDotNet\u0026loaddependencies=true\n```\n\nThen use it in your script\n\n```csharp\nTask(\"RenderTemplate\")\n    .Does(() =\u003e\n    {\n        var rendered = HandlebarsRenderText(\"Hello, {{Name}}!\", new { Name = \"World\" });\n        Information($\"Result: {rendered}\");\n    });\n\nTask(\"RenderTemplateFromFile\")\n    .Does(() =\u003e\n    {\n        var rendered = HandlebarsRenderTextFile(\"./template.handlebars\", new { Name = \"World\" });\n        Information($\"Result: {rendered}\");\n    });\n\nTask(\"RenderTemplateFromFileToFile\")\n    .Does(() =\u003e\n    {\n        HandlebarsRenderTextFile(\"./template.handlebars\", \"./rendered.txt\", new { Name = \"World\" });\n    });\n```\n\n\n## Building\n\n[![AppVeyor CI](https://img.shields.io/appveyor/ci/thzinc/cake-handlebars.svg)](https://ci.appveyor.com/project/thzinc/cake-handlebars)\n[![AppVeyor Tests](https://img.shields.io/appveyor/tests/thzinc/cake-handlebars.svg)](https://ci.appveyor.com/project/thzinc/cake-handlebars/build/tests)\n[![NuGet](https://img.shields.io/nuget/v/Cake.HandlebarsDotNet.svg)](https://www.nuget.org/packages/Cake.HandlebarsDotNet/)\n[![NuGet Pre Release](https://img.shields.io/nuget/vpre/Cake.HandlebarsDotNet.svg)](https://www.nuget.org/packages/Cake.HandlebarsDotNet/)\n\nThis project is built using Cake. Because this Cake addin targets net46 for compatibility with Cake 0.25.0, it does require being built in an environment where net46 is available. (Generally Windows) Development and testing is possible on macOS/Linux, but packaging for use with Cake will require building against net46.\n\nOn macOS/Linux:\n\n```bash\n./build.sh\n```\n\nOn Windows:\n\n```powershell\n.\\build.ps1\n```\n\n## Code of Conduct\n\nWe are committed to fostering an open and welcoming environment. Please read our [code of conduct](CODE_OF_CONDUCT.md) before participating in or contributing to this project.\n\n## Contributing\n\nWe welcome contributions and collaboration on this project. Please read our [contributor's guide](CONTRIBUTING.md) to understand how best to work with us.\n\n## License and Authors\n\n[![Daniel James logo](https://secure.gravatar.com/avatar/eaeac922b9f3cc9fd18cb9629b9e79f6.png?size=16) Daniel James](https://github.com/thzinc)\n\n[![license](https://img.shields.io/github/license/thzinc/Cake.HandlebarsDotNet.svg)](https://github.com/thzinc/Cake.HandlebarsDotNet/blob/master/LICENSE)\n[![GitHub contributors](https://img.shields.io/github/contributors/thzinc/Cake.HandlebarsDotNet.svg)](https://github.com/thzinc/Cake.HandlebarsDotNet/graphs/contributors)\n\nThis software is made available by Daniel James under the MIT license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthzinc%2Fcake.handlebarsdotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthzinc%2Fcake.handlebarsdotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthzinc%2Fcake.handlebarsdotnet/lists"}