bloginamatrix.xyz/README.md
array-in-a-matrix abf11ed60a tekh stakh
2023-07-29 17:16:10 -04:00

1.1 KiB

Blog in a Matrix

New server side rendered blog site written in Nim.

Articles/blogs written in markdown using Joplin then exported as HTML to the /src/public directory. Joplin has support for the extended markdown syntax, KaTeX, and Mermaid.js out of the box. The syntax can be farther extended with plugins (e.g. music sheet notation).

MTH tech stack is used, pronounced Meth or Math:

Development

Install Nim dependencies:

nimble install happyx

Build website:

nim c "src/main.nim"

Run HTTP server:

./main

Build debug site and run server using a single command:

nim c -d:debug -r "src/main.nim"