Static Site Generators

Grain – lightweight, powerful, static website generator

Grain is a lightweight, powerful, static website generator for Groovy that makes demanding static website implementation intuitive and enjoyable.

A Grain website project is called a theme, and Grain has a few developed responsive themes that you can use.

This is free and open source software.

Key Features

  • A preview mode that allows you to make changes and see them applied on the fly.
  • Support for embedded Groovy code for any content files (stylesheets and JavaScript files).
  • Configurable conventions that allow you to process content sources using Groovy. Resource-to-URL mapping minimizes the number of templates by allowing you to associate the same page file with different URLs, content, and preferences.
  • Templates and In-Page Tags – infinite template nesting and tag libraries make Grain suitable for large projects. The built-in tags designed for combining page components will help you keep your templates DRY and readable.
  • Support for Markdown, reStructuredText, and AsciiDoctor.
  • Compression and minification of source files.
  • Code highlighting with Python Pygments.
  • Built-in Sass and SCSS support.
  • Gradle plugin – integrate any Grain theme with a Gradle project and build a website with up-to-date documentation and source samples.

Website: sysgears.com/work/grain-framework
Support: GitHub Code Repository
Developer: SysGears
License: Apache License Version 2.0

Grain is written in Groovy. Learn Groovy with our recommended free books and free tutorials.


Related Software

Groovy Static Site Generators
GaidenTool that makes it easy to create documentation with Markdown
GrainLightweight, powerful, static website generator
RizzoSimple static site generator
GRASSSimple script inspired by Rizzo and Octopress for generating static sites and blogs

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments