{"repo":"zigster64/zts","free":true,"listed":false,"github":"https://github.com/zigster64/zts","clone":"git clone https://github.com/zigster64/zts.git","description":"Zig Templates made Simple","language":"Zig","stars":74,"topics":["http","template","web-template","webdev","zig-package"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"ZTS Zig Templates made Simple A template library for Zig that executes at comptime to divide a given input file into named sections. Jun 2026 - Updated to work with Zig 0.16 Breaking Change - Nov 2025 Refer to this issue for discussion https://github.com/zigster64/zts/issues/6 Breaking change is that both write() and writeHeader() are now fully comptime, needing a comptime known \"section\" param. If you are using write() in existing code to make use of dynamic section names, then please use the new function writeDynamic() which fills this niche use case. If you are not using dynamic section names, then you shouldnt need any changes to your code. Zig Templates made Simple (ZTS) ZTS is a minimalist Zig module that helps you use text templates in a way that is simple, maintainable, and efficient. Simple: - Uses Zig like field tags in your template - Uses Zig fmt.print for formatting data - No funky new templating syntax, no DSL, no new formatting conventions to learn Maintainable: - Control of the template logic is done in your Zig code, not delegated to the template engine - Data passed through the template must be explicitly defined - There is no magic expansion of data structs that works fine today, and breaks tomorrow as your data model evolves - Mismatches between your code, your data, and the template are caught at compile time, not runtime Efficient: - All template parsing is performed at comptime, no runtime overhead - Minimal codebase - There is just less going on compar","default_branch":null,"files":null,"tree":[],"storefront":"/r/zigster64","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zigster64/zts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}