{"id":26980157,"url":"https://github.com/therayvoice/monsterhtml","last_synced_at":"2026-04-04T20:33:01.112Z","repository":{"id":57302598,"uuid":"414844663","full_name":"therayvoice/MonsterHTML","owner":"therayvoice","description":"A compiler for html+css+markdown+latex. Monster HTML is a very Powerfull HTML framework, formerly known as PHTML. It is a templating markup framework which allows writting code within HTML to run at compile-time and modify the final product. The file use the '.phtml' extention, and are compiled to a '.html' file.","archived":false,"fork":false,"pushed_at":"2021-10-26T03:49:19.000Z","size":57,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T23:48:11.815Z","etag":null,"topics":["bootstrap","css","hacktoberfest","html","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/therayvoice.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":"2021-10-08T04:24:13.000Z","updated_at":"2021-10-18T07:46:17.000Z","dependencies_parsed_at":"2022-09-13T07:10:47.297Z","dependency_job_id":null,"html_url":"https://github.com/therayvoice/MonsterHTML","commit_stats":null,"previous_names":["therayvoice/monsterhtml","ray6464/monsterhtml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/therayvoice/MonsterHTML","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therayvoice%2FMonsterHTML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therayvoice%2FMonsterHTML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therayvoice%2FMonsterHTML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therayvoice%2FMonsterHTML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/therayvoice","download_url":"https://codeload.github.com/therayvoice/MonsterHTML/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therayvoice%2FMonsterHTML/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","css","hacktoberfest","html","javascript","nodejs"],"created_at":"2025-04-03T14:30:16.337Z","updated_at":"2026-04-04T20:33:01.090Z","avatar_url":"https://github.com/therayvoice.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monster HTML\nA compiler for Monster HTML, formerly known as PHTML aka Powerfull-HTML and informally known as HTMLX (as in Xtreme) is a templating markup framework which allows writting code within HTML to run at compile-time and modify the final product. In Many ways Monster HTML a very advanced HTML.\n\nThe file use the '.phtml' extention, and are compiled to a '.html' file.\n\n# Installation\nTo install the Monster HTML Compiler use:\n`npm i monsterhtml -g`\n\nOr install it as a development dependency.\n\n# Usage\nTo compile a `.phtml` file to a `.html` file use:\n`monsterhtml -f /path/to/file.phtml`\n\n# Features\n1. Built in engine to run code at compile time.\n2. Smaller end files then other industry-standard (outdated and bloated) frameworks.\n3. Built in CSS like styling engine to run styling code at compile time.\n4. Bootstrap like UI/UX library with a large collection of objects.\n5. Suggest more features by contacting directly: rayvanet@gmail.com\n\n# Monster HTML Syntax\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n\t\u003cmeta charset=\"UTF-8\"\u003e\n\t\u003ctitle\u003e {{ project.title }} \u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\t\u003cheader\n\t  sticky=true\n\t  linear-gradient-color1=\"#00000000\"\n\t  linear-gradient-color2=\"#eeeeeeee\"\n\t  gradient-direction=\"top-down\"\n\t  chevron-icon-right=true\n\t  home-icon-right=true\u003e\n\t  \u003cbrand-logo sticky=true href=\"/path/to/brand-logo\"\u003e\u003c/brand-logo\u003e\n\t  \u003cwebsite-name\u003e  {{ project.title }} \u003c/website-name\u003e\n\t\u003c/header\u003e\n\t\u003cleftside\u003e\u003c/leftside\u003e\n\t\u003cmain\u003e\n\t  \u003carticle\u003e\u003c/article\u003e\n\t  \u003c\n\t\u003c/main\u003e\n\t\u003criteside\u003e\u003c/riteside\u003e\n\t\u003cfooter\n\t  sticky=true\n\t  linear-gradient-color1=\"#00000000\"\n\t  linear-gradient-color2=\"#eeeeeeee\"\n\t  gradient-direction=\"top-down\"\u003e\n\t  \u003cp\u003e\u0026copy; Ray Voice\u003c/p\u003e\n\t\u003c/footer\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Include (Attribute)\n  All elements have a `include` attribute which works like a `href` attribute. This can be used to import the `innerHTML`, `attributes`, etc. for that element from an external file. If the name of the element does not match the name of the included element then the name of the included element takes precedence. Similarly, the content of the included element will completely overwrite the content of the existing element.\n\n  If you have configured an element's external file url in the `monsterHTML.config` file then you can just use `include=true` to that element import it.\n\n## Body\n  Defaults for Monster HTML\n```\nposition:relative;\n```\n\n## Header\n  The header element works just like the regular HTML5 header, but has a few extra styling attributes.\n### Options\n  ```\n  sticky=true                        (default)\n  linear-gradient-color1=\"#00000000\" (default)\n  linear-gradient-color2=\"#eeeeeeee\"\n  gradient-direction=\"top-down\"      (default)\n  chevron-icon-right=false           (default)\n  home-icon-right=true               (default)\n  ```\n\n### brand-logo options\n```\n  sticky=true                        (default)\n  href=\"./brand-logo.svg\"            (default)\n```\n\n### website-name\n\n## Leftside\n\n## Rightside\n\n## Main\nAll the unique page content goes inside the `\u003cmain\u003e` n, site logos, and search forms.\n\nNote: There must not be more than one \u003cmain\u003e element in a document. The \u003cmain\u003e element must NOT be a descendant of an \u003carticle\u003e, \u003caside\u003e, \u003cfooter\u003e, \u003cheader\u003e, or \u003cnav\u003e element.\n\n\n## Footer\n  The header element works just like the regular HTML5 header, but has a few extra styling attributes.\n\n### CSS\n```\n  left: 0;\n  bottom: 0;\n  width: 100%;\n  text-align: center;\n```\n\n### Options\n  ```\n  sticky=false                       (default)\n  linear-gradient-color1=\"#00000000\"\n  linear-gradient-color2=\"#eeeeeeee\" (default)\n  gradient-direction=\"top-down\"      (default)\n  ```\n\n## Article\n\n## Import Directives\n\n## Variables\nMonsterHTML variables are declared in the 'monsterHTML.config' file. Only strings and numbers are supported yet! To access them use {{ project.variableName }}. Only camelCasing is supported.\n\n## Conditionals\n\n## Loops\n\n\n\n\n# License\nMIT License\n\nCopyright (c) 2021 Ray Voice\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherayvoice%2Fmonsterhtml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherayvoice%2Fmonsterhtml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherayvoice%2Fmonsterhtml/lists"}