News for hackers. Stuff that matters.
Re:Bearclaw – tiny static site generator with RSS by mpldr on Saturday February 25, 2023 @10:27AM (#34937343)
Looks cool! What are it's advantages over hugo?
Re:Bearclaw – tiny static site generator with RSS by lagniappe on Saturday February 25, 2023 @10:37AM (#34937416)
Hey thanks for looking :) hugo has a lot more moving parts, and a lot more dependencies [0]. bearclaw is written to be simple and easy to understand without instructions or learning any new paradigms about templating or frontmatter or other markup languages.

[0] https://github.com/gohugoio/hugo#dependencies

Re:Bearclaw – tiny static site generator with RSS by gnoack on Sunday February 26, 2023 @02:44AM (#34943832)
Not using a template language and avoiding to do error handling are not good ways to make a program "simple and easy to understand".

If your users run into one of the many string escaping bugs or get an unexpected error code from the file system, the program will not behave as expected and not detect the error either.