{"id":16370873,"url":"https://github.com/liquidz/mint","last_synced_at":"2025-03-23T02:34:11.888Z","repository":{"id":62282541,"uuid":"559362507","full_name":"liquidz/mint","owner":"liquidz","description":"A proof of concept for simple template engine using threading macros","archived":false,"fork":false,"pushed_at":"2024-01-01T06:22:01.000Z","size":25,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T17:04:26.548Z","etag":null,"topics":["babashka","clojure","clojurescript","nbb","template-engine"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/liquidz.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2022-10-29T21:54:49.000Z","updated_at":"2023-12-31T23:03:59.000Z","dependencies_parsed_at":"2024-10-28T15:23:03.107Z","dependency_job_id":null,"html_url":"https://github.com/liquidz/mint","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"ca989a7cd2118c58f3c49e4eccd8fcbbdee4b684"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fmint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fmint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fmint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidz%2Fmint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liquidz","download_url":"https://codeload.github.com/liquidz/mint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245048014,"owners_count":20552431,"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":["babashka","clojure","clojurescript","nbb","template-engine"],"created_at":"2024-10-11T03:06:21.057Z","updated_at":"2025-03-23T02:34:11.642Z","avatar_url":"https://github.com/liquidz.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Mint\n\nimage:https://github.com/liquidz/mint/workflows/test/badge.svg[\"GitHub Actions for test workflow\", link=\"https://github.com/liquidz/mint/actions?query=workflow%3Atest\"]\nimage:https://github.com/liquidz/mint/workflows/lint/badge.svg[\"GitHub Actions for lint workflow\", link=\"https://github.com/liquidz/mint/actions?query=workflow%3Alint\"]\nimage:https://img.shields.io/badge/babashka-compatible-brightgreen[\"Babashka\", link=\"https://github.com/babashka/babashka\"]\nimage:https://img.shields.io/badge/nbb-compatible-brightgreen[\"nbb\", link=\"https://github.com/babashka/nbb\"]\n\nA simple single-line template engine like Mustache and Clojure.\n\n== Concept\n\n* Similar mustache, but Clojure like style\n** `{{foo}}`\n** `{{-\u003e v f (g \"foo\")}}`\n** `{{-\u003e\u003e v f (g \"foo\")}}`\n* No dependencies\n\n== Usage\n\nimage:https://img.shields.io/clojars/v/com.github.liquidz/mint[\"Clojars Project\", link=\"https://clojars.org/com.github.liquidz/mint\"]\n\n[source,clojure]\n----\n(require '[mint.core :as mint])\n;; =\u003e nil\n\n(mint/render \"{{-\u003e name greet}}!\"\n             {:name \"world\" :greet #(str \"Hello \" %)})\n;; =\u003e \"Hello world!\"\n\n(mint/render \"{{-\u003e\u003e name (str \\\"Hello \\\")}}!\"\n             {:name \"world\" :str str})\n;; =\u003e \"Hello world!\"\n----\n\n== Supported functions\n\n* `-\u003e`, `-\u003e\u003e`, `some-\u003e`, `some-\u003e\u003e`\n* `when`\n\n== License\n\nCopyright © 2022-2024 https://scrapbox.io/uochan/uochan[Masashi Iizuka]\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidz%2Fmint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidz%2Fmint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidz%2Fmint/lists"}