All Projects → grego → Blades

grego / Blades

Licence: gpl-3.0
Blazing fast dead simple static site generator

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Blades

Django Antd Tyadmin
类似 xadmin 的基于Model 快速生成前后台管理增删改查,筛选,搜索的后台管理自动化工具。Antd 界面好看现代化!前后端分离!无损二次开发!由Django Restful Framework 和 Ant Design Pro V4 驱动
Stars: ✭ 171 (-14.93%)
Mutual labels:  generator
Xity Starter
A blog-ready 11ty starter based on PostCSS, with RSS feed and Native Elements!
Stars: ✭ 184 (-8.46%)
Mutual labels:  generator
Sdk
Library for using Grafana' structures in Go programs and client for Grafana REST API.
Stars: ✭ 193 (-3.98%)
Mutual labels:  generator
Spring Boot Plus
🔥 Spring-Boot-Plus is a easy-to-use, high-speed, high-efficient,feature-rich, open source spring boot scaffolding. 🚀
Stars: ✭ 2,198 (+993.53%)
Mutual labels:  generator
Ctml
A C++ HTML document constructor only depending on the standard library.
Stars: ✭ 180 (-10.45%)
Mutual labels:  generator
Revshellgen
Reverse shell generator written in Python 3.
Stars: ✭ 190 (-5.47%)
Mutual labels:  generator
Timesynth
A Multipurpose Library for Synthetic Time Series Generation in Python
Stars: ✭ 170 (-15.42%)
Mutual labels:  generator
Laravel Tournaments
Laravel Package that allows you to generate customizable tournaments trees.
Stars: ✭ 196 (-2.49%)
Mutual labels:  generator
Yii2 Enhanced Gii
Enhanced Yii2 Gii (generator) that generates related Models & CRUD
Stars: ✭ 183 (-8.96%)
Mutual labels:  generator
Pydbgen
Random dataframe and database table generator
Stars: ✭ 191 (-4.98%)
Mutual labels:  generator
Apigen
PHP 7.1 ready Smart and Simple Documentation for your PHP project
Stars: ✭ 2,068 (+928.86%)
Mutual labels:  generator
Proof Of Stake Cryptocurrency Generator
🍀 Create your own Proof of Stake cryptocurrency with its own blockchain based on NXT
Stars: ✭ 178 (-11.44%)
Mutual labels:  generator
Cgx
💻🔥CLI to generate the recommended documentation/files to improve contribution (Github, Gitlab, CodeCommit and Bitbucket)
Stars: ✭ 190 (-5.47%)
Mutual labels:  generator
Sinn
a blog based on of react,webpack3,dva,redux,material-ui,fetch,generator,markdown,nodejs,koa2,mongoose,docker,shell,and async/await 基于react+koa2技术栈的个人开源博客系统
Stars: ✭ 175 (-12.94%)
Mutual labels:  generator
Gpt Scrolls
A collaborative collection of open-source safe GPT-3 prompts that work well
Stars: ✭ 195 (-2.99%)
Mutual labels:  generator
Resumake.io
📝 A website for automatically generating elegant LaTeX resumes.
Stars: ✭ 2,277 (+1032.84%)
Mutual labels:  generator
Jpasskit
jPasskit is an Java™ implementation of the Apple™ PassKit Web Service.
Stars: ✭ 184 (-8.46%)
Mutual labels:  generator
Apigcc
一个非侵入的api编译、收集、Rest文档生成工具。工具通过分析代码和注释,获取文档信息,生成RestDoc文档。
Stars: ✭ 198 (-1.49%)
Mutual labels:  generator
Hermes
Golang package that generates clean, responsive HTML e-mails for sending transactional mail
Stars: ✭ 2,379 (+1083.58%)
Mutual labels:  generator
Typed Scss Modules
🎁 Generate type definitions (.d.ts) for CSS Modules using SCSS
Stars: ✭ 192 (-4.48%)
Mutual labels:  generator
Blades logo

Blades

Crates.io status Docs

blazing fast
 dead simple
  static site generator

User manual

Blades is made to do one job and do it well - generate HTML files from the provided content using the provided templates.
Thanks to the amazing Ramhorns templating engine, zero-copy deserialisation and rayon parallel iterators, it renders the whole site in milliseconds, possibly up to 10 times faster than other generators like Hugo.

It's made for easy setup and use. A static site generator should be a no brainer. It uses mustache templates with extremely minimal and obvious syntax (really, like 7 rules!), while providing the necessary building blocks to let you focus on your content.

You may categorise your pages into taxonomies (like categories or tags), use the usual features like pagination or breadcrumbs and even generate image galleries.
Sitemap and RSS feed are automatically rendered.
All done without hassle, faster than you blink.

Why not blades?

Unlike other monolithic generators, Blades is modest in its scope. All it does is generating your site. It doesn't do any fancy stuff like transpiling Haskell to minified Javascript, or ever watching the site for changes. For that, you can use a dedicated tool like caretaker.

Nevertheless, if you have a feature request or ran into some issue using Blades, please submit an issue. It is a hobby project, so any contribution is welcome! :)

Why blades?

They shave the mustache off.

Installing

Currently, Blades is available on AUR. You can install it with some AUR helper, like yay -S blades-bin.

If you have the Rust toolchain installed, you can install Blades from Crates.io

cargo install blades

If you would like to have it included in your favourite package repository, submit an issue.

Then, you can run the executable blades with the following subcommands:

  • init: Initialise the site in the current directory, creating the basic files and folders
  • build: Build the site according to config, content, templates and themes in the current directory
  • colocate: Move the assets from the "assets" directory and from the theme, if one is used, into the output directory
  • all: Build the site and colocate the assets
  • lazy: Build the site and (colocate assets only if the theme was switched) [default]
  • new: Create a new page

Themes

When you specify a theme in the config, templates and assets from the theme are used. Every site that doesn't use a theme can be used as a theme for another site. Therefore, the easiest way to use a theme is to just clone the corresponding theme's repository into the themes directory. A list of available themes can be found here.

To overwrite the theme, simply use the files in the templates, resp. assets subdirectories of the page root directory.

Assets

All the files from the assets directory (and from the theme) are moved into the directory specified in the config, which is emptied before. This is a subdirectory of the output directory (defaults to assets).

Blades takes of the pages it rendered before and if some of them is deleted, the corresponding files in the output directory will be deleted, too. The other files in the output directory are left intact. This way, you can place anything in the output directory and (as long as its name differs from all the page names and it's not in the assets subdirectory), Blades won't touch it.

Meta

Blades renders sitemap (into sitemap.xml), Atom (into atom.xml) and RSS (into rss.xml) feeds, unless explicitly disabled in the config.

Contribution

If you found a bug or would like to see some feature in Blades, you are the most welcome to submit an issue or a pull request! Likewise if you found something in this documentation not clear or imprecise.

License

Blades is free software, and is released under the terms of the GNU General Public License version 3. See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].