Static site generator written in Rust

Overview

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 ---):
  • title
  • description
  • language
  • author
  • list ('True' or 'False') [Optional]

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 ---):
  • title
  • description
  • language
  • author
  • list ('True' or 'False') [Optional]

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.
You might also like...
A hypersonic static-site generator written in Rust. πŸš€ πŸ’Š πŸ”₯
A hypersonic static-site generator written in Rust. πŸš€ πŸ’Š πŸ”₯

MANDY πŸš€ πŸ’Š πŸ”₯ A hypersonic static-site generator written in Rust. πŸš€ πŸ’Š πŸ”₯ ABOUT πŸ“š Mandy is fast, easy to use, easy to deploy, and very flexible! Ge

serve a static site, single page application or just a static file with Rust
serve a static site, single page application or just a static file with Rust

cargo-server tl;dr: Does the same as "python -m http.server" or "npx serve" but for Rust ecosystem. cargo-server helps you serve a static site, single

Serve a static site, single page application or just a static file with Rust
Serve a static site, single page application or just a static file with Rust

cargo-server tl;dr: Does the same as "python -m http.server" or "npx serve" but for Rust ecosystem. cargo-server helps you serve a static site, single

Hot reload static web server for deploying mutiple static web site with version control.

SPA-SERVER It is to provide a static web http server with cache and hot reload. δΈ­ζ–‡ README Feature Built with Hyper and Warp, fast and small! SSL with

⚑ A Blazingly-Fast Static Site Generator, built with Rust.
⚑ A Blazingly-Fast Static Site Generator, built with Rust.

Stuart A Blazingly-Fast Static Site Generator. Download Now Β» Stuart is a very fast and flexible static site generator, with build times as low as 0.1

Kurzlink is a simple static site generator built in rust

kurzlink What is kurzlink? Kurzlink is a simple static site generator built in rust.

A fast static site generator in a single binary with everything built-in. https://www.getzola.org

zola (nΓ© Gutenberg) A fast static site generator in a single binary with everything built-in. Documentation is available on its site or in the docs/co

static site generator from markdown files.

Mdblog Static site generator from markdown files with features: TeX style math support file path is the post url file name is the post title post can

A fast static site generator in a single binary with everything built-in. https://www.getzola.org

zola (nΓ© Gutenberg) A fast static site generator in a single binary with everything built-in. Documentation is available on its site or in the docs/co

the best static site generator

the best static site generator you've ever seen

An ultra simple static site generator designed to appeal to technical as well as non technical users.

Hulk is an ultra simple static site generator designed to appeal to both technical and non technical users.

Oinky - A blazing fast, data-oriented static site generator.

Oinky Oinky is a static site generator, written in Rust, that compiles Handlebars templates and Markdown files into a static site. Oinky also enables

A file format-agnostic static site generator

mksite A file format-agnostic static site generator Installation If you already have Rust and Cargo installed: cargo install mksite Alternatively, you

rublog /rʌblΙ‘g/ is a static blog generator written in Rust
rublog /rʌblΙ‘g/ is a static blog generator written in Rust

README README About rublog demo DEMO Install use Initialize from rublog-template rublog command Publishing the web page Development Plan TOML Front Ma

Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.

rust-musl-builder: Docker container for easily building static Rust binaries Source on GitHub Changelog UPDATED: Major updates in this release which m

Static Web Server - a very small and fast production-ready web server suitable to serve static web files or assets
Static Web Server - a very small and fast production-ready web server suitable to serve static web files or assets

Static Web Server (or SWS abbreviated) is a very small and fast production-ready web server suitable to serve static web files or assets.

VoceChat is a superlight rust written social server. Easy integration to your site/app.

Re-decentralized the Internet through personal cloud computing. VoceChat is the lightest chat server prioritizes private hosting! Easy integratation t

GitHub Actions for mdBook (rust-lang/mdBook) ⚑️ Setup mdBook quickly and build your site fast. Linux (Ubuntu), macOS, and Windows are supported.
GitHub Actions for mdBook (rust-lang/mdBook) ⚑️ Setup mdBook quickly and build your site fast. Linux (Ubuntu), macOS, and Windows are supported.

GitHub Actions for mdBook rust-lang/mdBook Setup Action. We can run mdBook on a virtual machine of GitHub Actions by this mdBook action. Linux, macOS,

A Rust on-site channel benchmarking helper. Inter-Process (async / busy) & Intra-Process (async single threaded / async multi threaded)

On-Site Rust Channel Benchmarking Helper Deploy on server to determine which public crates are the fastest for communicating in different architecture

Comments
  • Update extract-frontmatter from v2.1.0 to v4.1.0

    Update extract-frontmatter from v2.1.0 to v4.1.0

    I'm getting back into doing a bit of Rust dev, and on a bit of a whim, I decided to rewrite extract-frontmatter (I wasn't the happiest with it to begin with).

    Given it was a bit arbitrary (and there's not too many consuming crates at the moment), I figured I'd do a PR that updates it for Sedum.

    Kinda glad I did, as I did discover that I had inadvertantly removed buggy/quirky behaviour that you were relying on before. πŸ™‚ Now there's something proper in place to support front-matter with a delimiter before it as well as after it.

    I tested this by running it locally against the website under the web branch. Looks like the front-matter is correctly being picked up and put into the <head>.

    opened by Kage-Yami 1
  • Revert

    Revert "Update extract-frontmatter from v2.1.0 to v4.1.0"

    Reverts ellygaytor/Sedum#10. A build error occurs when compiling extract-frontmatter:

    error: there is no argument named `suffix`
      --> extract-frontmatter-4.1.0/src/extraction.rs:77:33
       |
    77 |     meta.strip_suffix(&format!("{suffix}\r\n")).unwrap_or_else(|| {
       |                                 ^^^^^^^^
    
    error: there is no argument named `suffix`
      -->  extract-frontmatter-4.1.0/src/extraction.rs:78:37
       |
    78 |         meta.strip_suffix(&format!("{suffix}\n")).unwrap_or_else(|| meta.strip_suffix(suffix).unwrap_or(meta))
       |                                     ^^^^^^^^
    
    error: there is no argument named `prefix`
      -->  extract-frontmatter-4.1.0/src/extraction.rs:83:33
       |
    83 |     meta.strip_prefix(&format!("{prefix}\r\n")).unwrap_or_else(|| {
       |                                 ^^^^^^^^
    
    error: there is no argument named `prefix`
      -->  extract-frontmatter-4.1.0/src/extraction.rs:84:37
       |
    84 |         meta.strip_prefix(&format!("{prefix}\n")).unwrap_or_else(|| meta.strip_prefix(prefix).unwrap_or(meta))
       |                                     ^^^^^^^^
    
    error: could not compile `extract-frontmatter` due to 4 previous errors
    
    opened by ellygaytor 0
  • cargo-audit warns of RUSTSEC-2020-0159

    cargo-audit warns of RUSTSEC-2020-0159

    From the comment thread:

    Either you accept that calling localtime requires environment variables to be static (or for your program to be single-threaded) or you don't ever get the local time or figure out how far your computer is from GMT. We could add more docs around this, but fundamentally AFAIK this is how getting the local time works and has worked in basically every mainstream programming language for ... decades? I mean, Java uses localtime_r for this purpose. IMO this rustsec advisory is misleading, and for many people it's unactionable. It is technically broken in multithreaded environments that change env vars after spawning multiple threads (which IIRC is undefined for libc in general anyway) and it would be nice to fix, but (AFAIK) fixing it would rely on fixing or reimplementing libc.

    This shouldn't be an issue and there's very little that can be done to prevent it as far as I can tell

    wontfix 
    opened by ellygaytor 0
Releases(v0.2.52-ae17866)
Owner
Elly
Student in NYC.
Elly
A hypersonic static-site generator written in Rust. πŸš€ πŸ’Š πŸ”₯

MANDY ?? ?? ?? A hypersonic static-site generator written in Rust. ?? ?? ?? ABOUT ?? Mandy is fast, easy to use, easy to deploy, and very flexible! Ge

✭ ANGEL DOLLFACE ✭ 5 Jun 30, 2023
serve a static site, single page application or just a static file with Rust

cargo-server tl;dr: Does the same as "python -m http.server" or "npx serve" but for Rust ecosystem. cargo-server helps you serve a static site, single

Raphael Amorim 18 Oct 14, 2022
Serve a static site, single page application or just a static file with Rust

cargo-server tl;dr: Does the same as "python -m http.server" or "npx serve" but for Rust ecosystem. cargo-server helps you serve a static site, single

Raphael Amorim 18 Oct 14, 2022
A fast static site generator in a single binary with everything built-in. https://www.getzola.org

zola (nΓ© Gutenberg) A fast static site generator in a single binary with everything built-in. Documentation is available on its site or in the docs/co

Zola 10.1k Jan 5, 2023
static site generator from markdown files.

Mdblog Static site generator from markdown files with features: TeX style math support file path is the post url file name is the post title post can

Fu 51 Dec 6, 2022
the best static site generator

the best static site generator you've ever seen

Anirudh Balaji 14 Jan 24, 2022
An ultra simple static site generator designed to appeal to technical as well as non technical users.

Hulk is an ultra simple static site generator designed to appeal to both technical and non technical users.

Bilal Tariq 1 Dec 27, 2021
A file format-agnostic static site generator

mksite A file format-agnostic static site generator Installation If you already have Rust and Cargo installed: cargo install mksite Alternatively, you

Michelle S. 5 Nov 25, 2022
rublog /rʌblΙ‘g/ is a static blog generator written in Rust

README README About rublog demo DEMO Install use Initialize from rublog-template rublog command Publishing the web page Development Plan TOML Front Ma

null 10 Jul 24, 2023
Static site generator written in Rust

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. Usage Local P

Elly 1 Jan 5, 2022