Skip to content

TheParadoxBox/diabolical-website-builder

Repository files navigation

Diabolical Website Builder

shell build script for markdown in 2025 is diabolical

Diabolical Website Builder is a static site generator written in POSIX sh. It uses Pandoc to convert Markdown to HTML, allowing you to write your boilerplate once and never worry about it again. Designed for Linux, but should work on MacOS or Windows Subsystem for Linux as well.

Setup

  1. Ensure you have pandoc, sed, and yq installed.
  2. Clone or fork this repository.
  3. Customize site-title.txt, head-content.html, and foot-content.html to your liking.
  4. Edit resources/style.css as you see fit.
  5. Build by running build.sh (may need to be marked as executable: chmod +x ./build.sh)

By default, the output will be in the folder ./output, but it can be changed by specifying the OUTPUT_DIR environent variable. For example: OUTPUT_DIR=~/Remote/public_html ./build.sh

License

See LICENSE.md for details.

About

Static sites made easy with Pandoc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors