#puzzle #website #static-site-generator #server-side #nginx #portfolio #website-generator

app puzzlesite

A script to build and run a lightweight puzzle website. Code runs entirely on server-side; no JS is used.

6 releases (3 breaking)

0.4.0 Mar 9, 2024
0.3.1 Jul 27, 2023
0.3.0 Jun 7, 2023
0.2.0 Jun 2, 2023
0.1.1 May 28, 2023

#5 in #portfolio

MIT license

17KB
362 lines

This is a lightweight not-static site generator for a puzzle portfolio website.

Features:

  • Generate the entire website just through some config files
  • Filter puzzles by tags or difficulty on the website
  • NO JS

Any css, svg, png, and jpg (extension jpg/jpeg both work) files in the main website directory will be copied to the build output. Therefore you may freely cite those files in the template.html file.

NGINX users should see a minimal NGINX configuration in nginx.conf and should replace DOMAIN with the domain they are hosting the website on and replace /BUILD with the build directory of their website.

Go to examplesite/ to see an example of a valid site configuration. Alternatively, for a real site, see

https://gitlab.com/chennisden/puzz-dennisc

Dependencies

~8–19MB
~234K SLoC