{"repo":"PostgREST/plmustache","free":true,"listed":false,"github":"https://github.com/PostgREST/plmustache","clone":"git clone https://github.com/PostgREST/plmustache.git","description":"Logic-less templates for Postgres","language":"C","stars":56,"topics":["html","mustache","postgres","postgresql","postgresql-extension","c"],"license":"MIT","category":"databases-storage","readme_excerpt":"plmustache A PostgreSQL extension that provides a language handler for Mustache templates using https://gitlab.com/jobol/mustach. Roadmap - [x] variable interpolation - [x] sections - [x] bools - [ ] arrays - [ ] partials - [ ] inheritance - [ ] lambdas Features Variables Variables are handled as per the mustache spec, a {{key}} variable will be interpolated. Escaped and Unescaped A double mustache {{key}} will be escaped and a triple mustache {{{key}}} will not be escaped. Sections Boolean sections: Array iterators: Installation Clone the repo and submodules: Build mustach: Build plmustache: Then on SQL you can do: plmustache is tested on Postgres 12, 13, 14, 15, 16. Development For testing on your local database: For an isolated and reproducible enviroment you can use Nix.","default_branch":null,"files":null,"tree":[],"storefront":"/r/PostgREST","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PostgREST/plmustache/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."}