Skip to content

Pipeline-based Static Site Generator written in Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yuma140902/tempura

Repository files navigation

Tempura

Tempura is a pipeline-based Static Site Generator (SSG) written in Rust. You can define pipelines to generate your site from various resources such as Markdown, JSON, plain text, Handlebars templates, pictures, etc.

Installation

Build from source

cargo install tempura

Download binary

You can download a binary archive from releases page.

# Run one of the following to download binary archive
wget https:/yuma140902/tempura/releases/latest/download/tempura-aarch64-apple-darwin.tar.gz
wget https:/yuma140902/tempura/releases/latest/download/tempura-aarch64-unknown-linux-gnu.tar.gz
wget https:/yuma140902/tempura/releases/latest/download/tempura-aarch64-unknown-linux-musl.tar.gz
wget https:/yuma140902/tempura/releases/latest/download/tempura-i686-pc-windows-msvc.zip
wget https:/yuma140902/tempura/releases/latest/download/tempura-i686-unknown-linux-gnu.tar.gz
wget https:/yuma140902/tempura/releases/latest/download/tempura-i686-unknown-linux-musl.tar.gz
wget https:/yuma140902/tempura/releases/latest/download/tempura-x86_64-apple-darwin.tar.gz
wget https:/yuma140902/tempura/releases/latest/download/tempura-x86_64-pc-windows-msvc.zip
wget https:/yuma140902/tempura/releases/latest/download/tempura-x86_64-unknown-linux-musl.tar.gz 

Or you can download and install with cargo-binstall.

cargo binstall tempura

Example

yuma14.net

Documentation

https://yuma14.net/tempura-doc/

How to make releases

  1. release/v1.2.3 のような名前のブランチを切る
  2. Cargo.toml のバージョン番号を更新する
  3. 手元で cargo build を実行して Cargo.lock を更新する
  4. Pull Request を作る。pre-release.yml が実行されて CHANGELOG.md が更新される。
  5. すべてのチェックが通れば Pull Request をクローズする。release.yml が実行されて crates.io と GitHub のリリースページにリリースが作られる。
  6. ブランチは削除せずに残しておくものとする