{"repo":"Julien-Marcou/static-html","free":true,"listed":false,"github":"https://github.com/Julien-Marcou/static-html","clone":"git clone https://github.com/Julien-Marcou/static-html.git","description":"A simple, lightweight and fast static HTML website generator which makes use of Template Literals","language":"TypeScript","stars":11,"topics":["template","html","render","static","website","builder","generator"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Static-Html Static-Html is a simple & lightweight static HTML website generator which makes use of Template Literals to let you render JavaScript data and expressions into HTML templates. Static-Html is not a binding engine as it do not keep track of your data or expressions to update portions of your templates dynamically, templates are only render once. If your looking for a more advanced rendering engine with dynamic data binding, I suggest you take a look at Lit on which this project is inspired. Install Table of Contents - Getting Started - Project Configuration - Minimal Project Example - HTML Tag & Syntax Highlighting - Building your Website - Assets - Asset Revisions with Content Hash - External Assets - Static Data Rendering - Dynamic Data Rendering - Special Variables - Page URL & Active Page - Page Scripts - Development Stack - Deploy to Production - URL Redirections Getting Started First, if you don't have a folder for your project yet, make one: Then, make sure you are in the root folder of your project: Install static-html : And finally run the init command to create the default structure for your project: You can also initialize your Git repository, so you can start tracking the changes you make to your project: Project Configuration The package.json file contains information about your project, and shoud look like this: The tsconfig.json file contains information about how TypeScript will interpret your code, and should look like this: In some cases, you might","default_branch":null,"files":null,"tree":[],"storefront":"/r/Julien-Marcou","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Julien-Marcou/static-html/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."}