| Crates.io | rustyll |
| lib.rs | rustyll |
| version | 0.8.4 |
| created_at | 2025-11-21 03:12:40.456918+00 |
| updated_at | 2025-11-21 20:45:11.298705+00 |
| description | A blazing fast, Jekyll-compatible static site generator written in Rust |
| homepage | https://rustyll.better-web.org |
| repository | https://github.com/betterwebinit/rustyll |
| max_upload_size | |
| id | 1943032 |
| size | 7,230,677 |
A blazing fast, Jekyll-compatible static site generator written in Rust.
A Better Web Initiative Project
Rustyll was born from the belief that static site generation should be:
As part of the Better Web Initiative, we're committed to making the web faster, more accessible, and more sustainable. We believe that by building tools that respect these principles, we can contribute to a web that works better for everyone.
Rustyll combines the best of both worlds: the familiar Jekyll ecosystem with the performance and safety of Rust. Whether you're migrating an existing Jekyll site or starting fresh, Rustyll offers significant advantages:
cargo install rustyll
brew install rustyll
curl -sSL https://get.rustyll.dev | sh
winget install rustyll
Create a new site:
rustyll new my-awesome-site
cd my-awesome-site
Build your site:
rustyll build
Serve your site locally:
rustyll serve
USAGE:
rustyll [OPTIONS] [SUBCOMMAND]
OPTIONS:
-s, --source <DIR> Source directory (defaults to ./)
-d, --destination <DIR> Destination directory (defaults to ./_site)
--layouts <DIR> Layouts directory (defaults to ./_layouts)
--safe Safe mode (defaults to false)
-g, --debug Enable verbose debugging
-t, --trace Show the full backtrace when an error occurs
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
build Build your site
serve Serve your site locally
clean Clean the site (removes site output and metadata file)
report Generate a comprehensive report of your site
migrate Migrate a site from another static site generator
new Creates a new Rustyll site scaffold
help Print this message or the help of the given subcommand(s)
Build your site with incremental rebuilds:
rustyll build --incremental
Serve your site with live reload:
rustyll serve --livereload
Generate a site report:
rustyll report --verbose
Migrate from another static site generator:
rustyll migrate --engine jekyll --source ./my-jekyll-site --destination ./my-rustyll-site
Rustyll can be configured using a _config.yml file in your site's root directory. Here's an example:
# Site settings
title: My Awesome Site
description: A site built with Rustyll
baseurl: ""
url: "https://example.com"
# Build settings
markdown: kramdown
permalink: /:categories/:year/:month/:day/:title/
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor
# Collections
collections:
posts:
output: true
projects:
output: true
# Custom settings
author:
name: Your Name
email: your.email@example.com
A typical Rustyll site looks like this:
my-site/
βββ _config.yml # Site configuration
βββ _data/ # Data files (YAML, JSON, CSV)
βββ _drafts/ # Unpublished posts
βββ _includes/ # Reusable content fragments
βββ _layouts/ # Layout templates
βββ _posts/ # Blog posts
βββ _sass/ # Sass partials
βββ _site/ # Generated site (output)
βββ assets/ # Site assets (CSS, JS, images)
βββ collections/ # Custom content collections
βββ index.md # Homepage
Note: This roadmap is not exhaustive and may change based on community feedback and project priorities.
Want to influence our roadmap? Open an issue with your suggestion!
Rustyll is designed to be incredibly fast. Here are some comparisons with other static site generators (building a site with 1000 pages):
| Generator | Build Time | Memory Usage |
|---|---|---|
| Rustyll | 0.8s | 45 MB |
| Jekyll | 25.3s | 320 MB |
| Hugo | 1.2s | 65 MB |
| Eleventy | 8.5s | 180 MB |
| Next.js (SSG) | 12.1s | 350 MB |
Rustyll is an open source project and contributions are welcome! To contribute:
cargo buildcargo testWe have a Code of Conduct that all contributors are expected to follow.
# Build the project
cargo build
# Run tests
cargo test
# Run the development version
cargo run -- serve
Rustyll is part of Better Web Initiative:
Rustyll is available under the AGPL-3.0 License.
Built with β€οΈ by the Better Web Initiative for the future of web development.
β Star us on GitHub β’ π¦ Follow us on Twitter β’ π Visit our website