Show HN: Shite: The little hot-reloadin' static site maker from shell Or more precisely, my little site maker... It is a personal tool that I thoroughly enjoyed making, and enjoy using to write my website < https://evalapply.org >. A caveat before any more; nobody was supposed to promote this insanity. Like, terrible things have been done involving inotify and xdotool. But . It showed up on HN some months ago. That too while it was still, shall we say, fermenting. It got "done" some time thence, and of course one could not let the half-past just be . So here we are, for better or worse. Thank you HN mods for helping me repost! _\\// The README explains all, animated GIFs and whatnot. Some assorted highlights: - shite's, ah, "business logic" (except templates) is about 300 lines of Bash, written in Functional Programming style [^]. Pipeline all the things! - The innards won't surprise Perl/PHP/Shell gentleperson hackers from the last century. - The local hot reloading workflow is surprisingly nice, and occasionally hilarious! No JavaScript needed. - Full rebuilds are low performance and that's fine :) - Pandoc is great. - Sometimes sed and regex is exactly the HTML parser you need. *Very* sometimes. - stdio buffering can mess you up - jq -Rr @html # escapes HTML; what?! ... and all sorts of other stuff noted in the README and inline docs. [^] because shell ain't a bad place to FP... https://ift.tt/BIvpzJq... --- P.S.The commit history stops at 3-odd months ago, because I've been using a private fork for day-to-day content drafting, publishing, and layout tweaks. The "business logic" is by and large the same as the public version linked here. https://ift.tt/hRtMOZg January 22, 2023 at 10:13PM
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation test link ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate another link velit esse cillum dolore eu fugiat nulla pariatur.
Sample Text
10 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text.
0 Comments