Settings

Theme

Show HN: Small .NET core static site generator

github.com

5 points by jpgleeson 6 years ago · 2 comments

Reader

lostmsu 6 years ago

Just FYI. I am using Graze, that uses Razor templates as the backend: https://github.com/mikoskinen/graze

jpgleesonOP 6 years ago

piaine is a small static site generator I have been working on for the past few days. It runs on .net Core and uses no dependencies outside of the System library.

The project implements two very basic parsers that generate html from a given template and a separate content file. The parsers are the main point of interest for me in the project, mainly using Bob Nystrom's excellent Crafting Interpreters book.

Loop support for the indexing page is the next feature to be added, but other than that, the project already does 99% of what I need it to do, and it has been a hugely satisfying itch to scratch.

I am not a professional programmer, this has been done on lunch breaks and before/after work over the past few days, so any critique would be very much appreciated.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection