{"id":16271059,"url":"https://github.com/b4rtaz/t3mpl-core","last_synced_at":"2025-10-04T06:30:34.652Z","repository":{"id":65513766,"uuid":"294400361","full_name":"b4rtaz/t3mpl-core","owner":"b4rtaz","description":"Static site generator in browser or nodejs.","archived":false,"fork":false,"pushed_at":"2022-02-03T18:31:47.000Z","size":385,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T21:33:30.775Z","etag":null,"topics":["blog-engine","markdown","nodejs","static-site-generator","t3mpl"],"latest_commit_sha":null,"homepage":"https://t3mpl.n4no.com/","language":"TypeScript","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/b4rtaz.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2020-09-10T12:16:09.000Z","updated_at":"2024-03-02T00:52:01.000Z","dependencies_parsed_at":"2023-01-26T21:16:08.033Z","dependency_job_id":null,"html_url":"https://github.com/b4rtaz/t3mpl-core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Ft3mpl-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Ft3mpl-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Ft3mpl-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b4rtaz%2Ft3mpl-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b4rtaz","download_url":"https://codeload.github.com/b4rtaz/t3mpl-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235222542,"owners_count":18955329,"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":["blog-engine","markdown","nodejs","static-site-generator","t3mpl"],"created_at":"2024-10-10T18:12:19.043Z","updated_at":"2025-10-04T06:30:29.362Z","avatar_url":"https://github.com/b4rtaz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T3MPL Core\n\n[![Build Status](https://app.travis-ci.com/b4rtaz/t3mpl-core.svg?branch=master)](https://app.travis-ci.com/b4rtaz/t3mpl-core) [![Coverage Status](https://coveralls.io/repos/github/b4rtaz/t3mpl-core/badge.svg?branch=master)](https://coveralls.io/github/b4rtaz/t3mpl-core?branch=master) [![License: MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](/LICENSE) [![Twitter: b4rtaz](https://img.shields.io/twitter/follow/b4rtaz.svg?style=social)](https://twitter.com/b4rtaz)\n\nT3MPL is the core library of [T3MPL Editor](https://github.com/b4rtaz/t3mpl-editor). This project contains the template YAML parser and the template generator. The generator can be used in the browser or by command line (by Nodejs).\n\nThis project contains [the template example](examples/boilerplate-template) and [the data example](examples/boilerplate-data).\n\n## ⚙️ How to Build\n\n[Node.js](https://nodejs.org/en/) is required.\n\n```\nnpm install\nnpm run build\n```\n\n## ✨ CLI\n\nYou can use T3MPL from CLI. To install globally enter bellow commands. Node.js is required.\n\n```\nnpm install -g t3mpl-core\nt3mpl version\n```\n\n### Build\n\nTo build a template, the generator needs the template manifest path and the data. You can pass the path to the own data by  `--data=PATH` argument or generate an example data by `--exampleData=true` argument.\n\n##### Own Data\n\n```t3mpl build --manifest=examples/boilerplate-template/template.yaml --data=examples/boilerplate-data/data.json --outDir=build/```\n\n##### Example Data\n\n```t3mpl build --manifest=examples/boilerplate-template/template.yaml --exampleData=true --outDir=build/```\n\n## 💡 License\n\nThis project is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb4rtaz%2Ft3mpl-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb4rtaz%2Ft3mpl-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb4rtaz%2Ft3mpl-core/lists"}