Rigos is a lightweight and high-speed single-file static site generator, written in Rust. If you want to use Rigos, please ensure that you have read and understand the following information:
Advantages of Rigos:
- Lightweight single-file, avoiding cumbersome installation processes and environment variable configurations
- High performance, even faster than
hugo
Disadvantages of Rigos:
- Currently lacks flexibility, with poor customizability
- YAML Front Matter
There is currently no packaging, installation can be done from the source code.
That is, obtain the source code from the release or directly git clone
, and compile with cargo build --release
. After compilation, add the binary file to the environment variable to use from the command line. Here is an example for Linux:
git clone https://github.com/Candlest/rigos.git
cd ./rigos
bash ./install.sh
For Windows systems, you can directly copy target/release/rigos.exe
to C:\Windows
You can use rigos init
to create a new site.
You can get the help list through rigos help
.
Render the /pub
directory: rigos render
Preview from the /pub
directory: rigos preview
Lazy command: rigos rap
If you have used
hugo
before,rigos
is easy to get started with, because therigos
command is inspired byhugo
.
Deploy to remote git repo: rigos deploy
You can use rigos new page "apage"
to create a new page (and you should register it to config.toml
, so that minijinja can read it)
You can use rigos new post "category/post"
to create a new post.
-
ONEPAGE has greatly inspired me, especially in the part of rendering templates.
-
Hexo, as a static blog generator with both expandability and ease of use, has cultivated my user habits and inspired me in command line design.
-
Hugo, a static blog generator written in golang, with high performance.
-
minijinja is a powerful but minimal dependency template engine for Rust compatible with Jinja/Jinja2
Any contribution is welcome!
This project is open source under the MIT License.