cover

Sedum is a static site generator written in Rust. It can be used locally or with a service like Netlify to generate websites on the fly.

Check and Lint Security audit Release Netlify Status

Usage

Local

Prerequisites

You must have rust and cargo installed and available on the path.

Setup

  1. Run git clone https://github.com/ellygaytor/Sedum.git
  2. Prepend the appropriate yaml to your markdown files (prepending and appending ---):

Generation

  1. Run cargo run [source] [result], setting the source directory and the directory you want the generated files to be placed in

Netlify

Setup

  1. Set your build command to wget -N https://github.com/ellygaytor/Sedum/releases/latest/download/sedum && chmod +x sedum && ./sedum [source] [result], setting the source directory and the directory you want the generated files to be placed in.
  2. Set your publish directory to [result] that you chose in step one.
  3. Prepend the appropriate yaml to your markdown files (prepending and appending ---):

Generation

  1. Place your markdown files in [source] that you set in step one of setup
  2. Push the changes, and Netlify will automatically download the latest version of Sedum, and generate the files.