This is a simple static site generator. It generates a static site from markdown files. Using with a VPS, it can be used to host a simple blog / doc / notes. It use prismjs for code highlighting. Because it use github actions to deploy over shh/rsync, you can write your content in markdown and push to github on main branch, the site will be updated automatically. Directly edit the content in github web interface will also work.
npm installContent has to be written in markdown format and placed in the content directory. or other CONTENT_DIR defined in .env file.
It's mandatory to include the following frontmatter at the beginning of the file:
---
title: Some title
description: Some description
date: YYYY-MM-DD
tags: some, tags
---They are used to generate the metadata of the page and to display the content in the home page.
Content support code highlighting, just use the following syntax:
```javascript
console.log('Hello, world!');
\```npm run generatenpm run devUsed pipeline to deploy to a VPS using rsync. Read the article here
git push origin main