{"repo":"yakkomajuri/teeny","free":true,"listed":false,"github":"https://github.com/yakkomajuri/teeny","clone":"git clone https://github.com/yakkomajuri/teeny.git","description":"A super simple static site generator","language":"JavaScript","stars":120,"topics":["static-site-generator","static-site","blog","personal-website","cli","javascript","nodejs"],"license":null,"category":"docs-static-sites","readme_excerpt":"Teeny: A tiny static site generator Teeny is a static site generator written in 350 lines of plain JavaScript. You can easily understand exactly how it works and you can launch a blog in 5 minutes. If you need more, you can use plugins to extend functionality. Teeny was originally built over a couple of hours (pre-AI) because I wanted something simple for my own personal website. You can read that story on my blog. 🏃 Quick start For an example of a project using Teeny, check out my personal blog's repo. 💻 Supported commands Initialize a Teeny project in the current directory Build the static HTML files and add them to&#x20; public/ Start a local Teeny server that listens for file changes 📄 How it works Teeny is a super simple static site generator originally built to suit my needs and my needs only, but it's very powerful in its simplicity, and may be of use to others. All it does is generate pages based on HTML templates and Markdown content. It does very little and is strongly opinionated, but has allowed me to build a blog I'm happy with extremely quickly. Essentially, there are really only 2 concepts you need to think about: templates and pages. Templates Templates are plain HTML and should be added to a templates/ subdirectory. They can contain an element with the id page-content , which is where Teeny adds the HTML generated by parsing the Markdown content. Pages Markdown is a first-class citizen in Teeny, so all of your website's pages are defined by a Markdown file","default_branch":null,"files":null,"tree":[],"storefront":"/r/yakkomajuri","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yakkomajuri/teeny/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."}