2022-09-23 06:42:55 +00:00
|
|
|
# Mystic Site Builder (2022 Edition)
|
2022-09-23 06:40:26 +00:00
|
|
|
|
|
|
|
Micro static site generator in Node.js
|
|
|
|
|
|
|
|
Based on the ideas in this post: https://medium.com/douglas-matoso-english/build-static-site-generator-nodejs-8969ebe34b22
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ npm i
|
|
|
|
$ npm run build
|
|
|
|
$ npm run serve
|
|
|
|
```
|
|
|
|
|
|
|
|
Go to http://localhost:5000 to see the generated site.
|
|
|
|
|
|
|
|
## How to use
|
|
|
|
|
|
|
|
If you want to use NanoGen to generate your own site, just fork this repository and add your content to the `src` folder.
|