tremolite

Version, currently master branch1 version
  • master branchlatestMay 7, 2023

github.com/akwiatkowski/tremolite

Blog generator

22 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  tremolite:
    github: akwiatkowski/tremolite
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
Aleksander Kwiatkowski

Dependencies

Runtime Dependencies

  • common_mark*github: ysbaddaden/crystal-cmark, branch: master

README

tremolite

Customized blog-like static pages generator.

tremolite goal is to be more customizable, faster, and more explicit Jekyll alternative.

I have started thinking about it after my blog needs more than 30 seconds to render and Had to put some advanced hacks to meet my needs.

Jekyll is a great way to start. Liquid templates allow to customize without need to write Ruby code. In tremolite you will have to write Crystal code which probably makes it harder to use at start.

Ultra simple sample code is here. My blog odkrywajacpolske.pl has much more features but it's not easy to read.

Roadmap

  1. [ ] tremolite as a lib
  • [x] Remove custom code to another repo
  • [ ] README
  1. [ ] Some cool features
  • [x] Put all files into buffer and overwrite if something changes
  • [ ] Validate missing html links
  • [x] Validate missing references
  • [ ] Validate internal posts
  • [ ] FTP uploader who knows which file was changed
  • [x] Customizable view functions
  • [ ] Allow to disable copying all source images to public (ex. only header image)
  • [ ] Uglyfier

Installation

Add this to your application's shard.yml:

dependencies:
  tremolite:
    github: akwiatkowski/tremolite

Usage

require "tremolite"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/akwiatkowski/tremolite/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors