https://github.com/Kilerd/staple
powerful static site generator
https://github.com/Kilerd/staple
blog rust static-site-generator
Last synced: over 1 year ago
JSON representation
powerful static site generator
- Host: GitHub
- URL: https://github.com/Kilerd/staple
- Owner: Kilerd
- Created: 2018-06-04T19:21:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-17T01:32:17.000Z (about 4 years ago)
- Last Synced: 2025-03-01T23:27:59.515Z (over 1 year ago)
- Topics: blog, rust, static-site-generator
- Language: Rust
- Homepage: https://kilerd.github.io/staple/
- Size: 477 KB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Staple
powerful static site generator.
## Installation
currently, staple provide two ways to download its stable binary version. for those who is using rust can download it via Cargo:
```shell script
cargo install staple
```
or, you can download the latest version in [Github Release](https://github.com/Kilerd/staple/releases).
### Developer version
if you really need a developer version to taste some new feature which are not stable yet at the first time, you can download the latest staple code and compile it via Cargo:
```shell script
cargo install --git https://github.com/Kilerd/staple.git
```
## Usage
`staple` has full cli help text, run `staple --help` to get help text if you don't know how to use it.
### Init a staple project
for now, there are two ways to create a staple project for a folder.
- for existed folder, you can use command `staple init` to initialize current working folder as a new staple project.
- for non-existed folder, using command `staple new TARGET_FOLDER` to create a new folder for staple