Bootleg

screenshot of Bootleg

Simple template processing command line tool to help build static websites

Overview

Bootleg is a powerful command line tool that simplifies the process of generating static websites using Clojure-based templates. It supports various templating languages such as HTML, Hiccup, Hickory, Selmer, Mustache, Markdown, Enlive, JSON, YAML, and EDN. By combining these disparate elements, users can easily create the static website of their choice.

Features

  • Rapid rendering of Clojure-based templates
  • Inbuilt support for multiple templating languages like HTML, Hiccup, Hickory, Selmer, Mustache, Markdown, Enlive, JSON, YAML, and EDN
  • Easy downloading of resources by URL
  • CSS selector based processing using Enlive
  • Data output with the -d flag

Linux:

  1. Download the latest tarball from Bootleg Releases
  2. Extract the tarball
  3. Move the binary to your preferred location in the path (e.g., /usr/local/bin or ~/bin)

MacOS:

  1. Install Bootleg for Linux (follow the Linux installation guide)
  2. Clone the Bootleg repository
  3. Change into the examples/quickstart directory

Windows (experimental):

  1. Download the Bootleg Windows release
  2. Unzip the archive
  3. Copy the "bootleg.exe" binary to a location in your system's path

Jar Release (requires Java):

  1. Download the Bootleg Jar release
  2. Run the JAR file using Java

Summary

Bootleg is a command line tool that simplifies static website generation using Clojure-based templates. It supports multiple templating languages and provides features such as rapid rendering, resource downloading, CSS selector based processing, and data output. The installation process varies based on the operating system, and users are encouraged to open tickets for any issues encountered during usage.