coal

Crates.iocoal
lib.rscoal
version1.0.0
sourcesrc
created_at2020-12-07 06:16:25.86323
updated_at2020-12-10 07:39:05.492276
descriptionA static HTML development tool, built with Rust
homepagehttps://github.com/camsjams/rust-coal
repositoryhttps://github.com/camsjams/rust-coal
max_upload_size
id320381
size567,359
Cameron Manavian (camsjams)

documentation

README

rust-coal πŸš‚

A static HTML development tool, built with Rust

Image of Coal Mine Cart

Who is this for?

Those that want to generate a basic static HTML site, with perhaps 1-10 pages, and do not want to maintain layouts, navigation elements, and footers across multiple files.

If you need programmatic components, then it would be better to utilize a more hands-on system like GatsbyJS, React Static, or a Content Management System (CMS) such as WordPress.

Just like in a typical Jamstack solution, the static HTML output can be easily served on GitHub Pages, Firebase Hosting, and a number of other places. Also see about upcoming Docker support below.

Documentation

See the Coal Docs for installation steps and detailed instructions.

Features

  • Blazing Fast πŸš€ (Seriously - its fast)
  • Zero config πŸ“„
  • Convention Over Configuration πŸ’œ
  • Batteries Included πŸ”‹
  • Standard HTML 🌠
  • HTML,CSS,JS minification πŸ—œοΈ
  • Asset Bundling πŸ“¦
  • Supports static folder πŸŽ“
  • Supports images/fonts πŸ“¦
  • Local Dev Server βš’οΈ
  • Basic Nested CSS ~SCSS :nail_care: Using Grass
  • Smart Execution During Local Dev ✨ (No need to restart server for any changes)
  • Leverages Locomotive Emoji πŸš‚

crate

https://crates.io/crates/coal

Platforms / Technologies

Current Version

v1.0.0

Showcase

Sites using coal to generate simple static HTML websites - Add yours via PR:

Future Features

For feature requests, please see this issue.

Some ideas (check issue for latest list):

  • Docker build script πŸ‹
  • Custom reusable components (Like React or Vue) βš›οΈ
  • Uglification of JS 🧟
  • Option to produce external files for CSS and JS 🎁

Why Coal?

The name coal is just a shortened version of the word coalesce.

coΒ·aΒ·lesce /ˌkΕΙ™Λˆles/ verb come together to form one mass or whole.

Commit count: 26

cargo fmt