{"id":15698924,"url":"https://github.com/alesanchezr/html-template-engine","last_synced_at":"2025-08-30T23:44:43.304Z","repository":{"id":57267634,"uuid":"126217058","full_name":"alesanchezr/html-template-engine","owner":"alesanchezr","description":"Pure HTML template engine, no need for any other language or knowledge.","archived":false,"fork":false,"pushed_at":"2024-02-08T03:17:11.000Z","size":44,"stargazers_count":6,"open_issues_count":0,"forks_count":26,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T08:19:19.399Z","etag":null,"topics":["html","html-include","html-require","html-template","template-engine","template-engine-html"],"latest_commit_sha":null,"homepage":"https://alesanchezr.github.io/html-template-engine/demo/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alesanchezr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-03-21T17:33:28.000Z","updated_at":"2024-06-22T09:26:08.000Z","dependencies_parsed_at":"2024-10-24T03:55:25.314Z","dependency_job_id":"6741c52e-0e02-4e8b-8101-adc478b765ba","html_url":"https://github.com/alesanchezr/html-template-engine","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"6f30bc9953dff7f87acf7bdcc0bc5261bcbdd7ef"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alesanchezr/html-template-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesanchezr%2Fhtml-template-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesanchezr%2Fhtml-template-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesanchezr%2Fhtml-template-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesanchezr%2Fhtml-template-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alesanchezr","download_url":"https://codeload.github.com/alesanchezr/html-template-engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alesanchezr%2Fhtml-template-engine/sbom","scorecard":{"id":179423,"data":{"date":"2025-08-11","repo":{"name":"github.com/alesanchezr/html-template-engine","commit":"6f30bc9953dff7f87acf7bdcc0bc5261bcbdd7ef"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}}]},"last_synced_at":"2025-08-16T18:31:12.581Z","repository_id":57267634,"created_at":"2025-08-16T18:31:12.581Z","updated_at":"2025-08-16T18:31:12.581Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272922274,"owners_count":25015766,"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-08-30T02:00:09.474Z","response_time":77,"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":["html","html-include","html-require","html-template","template-engine","template-engine-html"],"created_at":"2024-10-03T19:36:01.497Z","updated_at":"2025-08-30T23:44:43.251Z","avatar_url":"https://github.com/alesanchezr.png","language":"JavaScript","readme":"# HTML Template Engine [(live demo)](https://alesanchezr.github.io/html-template-engine/demo/)\n\nInclude other files into your current file:\n```html\n\u003c!-- Include other html files into your own --\u003e\n\u003cspan require-file=\"./parts/footer.html\"\u003e\u003c/span\u003e\n```\n\n## Instalation\n- Using NPM\n```sh\n$ npm install html-template-engine --save\n```\n- Or using a **simple script tag** before your body closing tag and use the **autoload** feature to avoid using any Javascript whatsoever.\n```html\n\u003cscript type=\"text/javascript\" src=\"https://rawgit.com/alesanchezr/html-template-engine/master/dist/html-template-engine.js?autoload\"\u003e\u003c/script\u003e\n```\nImportant! Please notice the **?autoload** at the end of the script url, [here is the library code](../../tree/master/dist)\n\n## Usage (Remember to install the library first)\n\nOn your HTML paste the following code whenever you want to include another html file (nested calls are supported since version 0.0.5)\n```html\n\u003c!-- Include other html files into your own --\u003e\n\u003cspan require-file=\"./parts/footer.html\"\u003e\u003c/span\u003e\n\n\u003c!-- You can also include svg files --\u003e\n\u003cspan require-file=\"./parts/images/name.svg\"\u003e\u003c/span\u003e\n```\n\nOnly for NPM installations:\n```js\nimport TemplateManager from 'html-template-engine';\n\n//if you want to load the templates when the website finishes loading\nwindow.onload = function(){ TemplateManager.start(); }\n```\n\n### Additional Available Params\n\n1. Log on the console all the pieces being loaded into the html\n```html\n    \u003cbody log-template-requests=\"true\"\u003e\n```\n\n2. Set a base template path for all your url's\n```html\n    \u003cbody base-template-path=\"./parts/\"\u003e\n    ...\n        \u003cspan require-file=\"footer.html\"\u003e\u003c/span\u003e\n    \u003c/body\u003e\n```\n\n## Authors\n| ![Alejandro Sanchez](https://www.gravatar.com/avatar/92dc7ea3850dea745ac8a4932583827d?s=20) | Alejandro Sanchez | [@alesanchezr](https://twitter.com) | [alesanchezr.com](https://alesanchezr.com) |\n|---------------------------------------------------------------------------------------------|-------------------|-------------------------------------|--------|\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falesanchezr%2Fhtml-template-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falesanchezr%2Fhtml-template-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falesanchezr%2Fhtml-template-engine/lists"}