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 | |
|---|---|
| Gaiden | Tool that makes it easy to create documentation with Markdown |
| Grain | Lightweight, powerful, static website generator |
| Rizzo | Simple static site generator |
| GRASS | Simple script inspired by Rizzo and Octopress for generating static sites and blogs |
| Grimoire | Groovy-first static site generator distributed as a Gradle plugin |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.