4 releases
0.0.22 | Nov 21, 2024 |
---|---|
0.0.21 |
|
0.0.3 | Nov 29, 2024 |
0.0.2 | Nov 16, 2024 |
0.0.1 | Nov 12, 2024 |
#201 in Web programming
497 downloads per month
30KB
659 lines
Rustic 🌲
Rustic is a fast and minimalistic static site generator built with Rust. Create stunning websites with simplicity, flexibility, and lightning-fast performance.
🚀 Features
- Dynamic Markdown to HTML conversion with templating support.
- Lightning-fast builds leveraging Rust's performance.
- Live preview server with hot reload.
- Customizable themes and templates.
- Simple CLI for seamless workflows.
📥 Installation
1. Install via Cargo
Ensure you have Rust installed, then run:
cargo install rustic-ssg
2. Download Prebuilt Binaries
Download prebuilt binaries from the Releases Page.
Add the binary to your system PATH to use it globally.
3. Build from Source
Clone the repository and build using Cargo:
git clone https://github.com/your-username/rustic-core.git
cd rustic-core
cargo build --release
Move the resulting binary (target/release/rustic
) to a directory in your PATH.
🛠️ Usage
Commands
Command | Description |
---|---|
rustic init |
Initialize a new Rustic project. |
rustic build |
Generate the static site in the output/ folder. |
rustic serve |
Start a local server with hot reload. |
rustic clean |
Remove the output/ directory. |
rustic help |
Display command usage and options. |
Example Workflow
- Initialize a project:
rustic init cd my-rustic-site
- Build the site:
rustic build
- Preview locally:
rustic serve
- Clean the build:
rustic clean
✨ Documentation
Detailed guides and examples are available in the Documentation.
🌍 Community
- Contributions are welcome! Check the Contributing Guide.
- Report bugs or suggest features via GitHub Issues.
📜 License
Rustic is open-source software, licensed under the Apache-2.0 License.
Dependencies
~12–22MB
~323K SLoC