Ruby Template engine

Open-source Ruby projects categorized as Template engine

Top 15 Ruby Template engine Projects

  • Liquid

    Liquid markup language. Safe, customer facing template language for flexible web apps.

    Project mention: How to Express Logic "and", "Or", "Not"? | | 2023-11-21
  • Slim

    Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic. (by slim-template)

    Project mention: Rails 7.1 Released | | 2023-10-05

    I think they mean Server Side Rendering (normal rails controllers/views), and Slim is just the name of the templating engine. It's a little nicer than the default ERB.

    There's also SSR with react and other js frameworks, but I don't think that's what they meant.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • Haml

    HTML Abstraction Markup Language - A Markup Haiku

    Project mention: Any web frameworks that could compare to Symfony? | /r/rust | 2023-03-09

    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed.

  • Mustache

    Logic-less Ruby templates.

  • Tilt

    Generic interface to multiple Ruby template engines (by rtomayko)

  • Jb

    A simple and fast JSON API template engine for Ruby on Rails

    Project mention: Yet another JSON serialization question 😎 | /r/rails | 2023-02-18

    OJ + JB is fast, painless and doesn't require yet another DSL to forget the nuances of.

  • Hamlit

    High Performance Haml Implementation

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • phlex

    A framework for building object-oriented views in Ruby.

    Project mention: RailsWorld 2023: Hotwire Edition | | 2023-10-08

    The community was a delight! I can't even count how many people I connected with, and it was just great to meet people whom I had previously only interacted with online. Also got to meet a lot of those people who significantly contribute to the Rails ecosystem. Everyone I said hi to was more than willing to spare time and nerd out and share experiences. I was also thrilled to connect with Philip, who shares my enthusiasm for Phlex. He provided me with some exciting ideas for creating an even more crazy yet cohesive form object with Phlex.

  • Arbre

    An Object Oriented DOM Tree in Ruby

    Project mention: Anyone tried Django? How does it compare to RoR? | /r/rails | 2023-06-24

    Why use ActiveAdmin or RailsAdmin: Brick is not nearly as configurable -- at least yet! With Brick you can drop in your own model / controller / view template and it will use it, but on its own you can not change theming / use it to do templating tricks / etc. Currently working hard to arrive upon a straightforward and logical approach so that all of this will be possible. Looking into Arbre (used by ActiveAdmin) and Phlex for inspiration.

  • Curly

    The Curly template language allows separating your logic from the structure of your HTML templates.

  • Rubyoshka

    Composable templating for Ruby (by digital-fabric)

    Project mention: Papercraft: Composable Templating for Ruby | | 2023-07-03
  • Fortitude

    Views Are Code: use all the power of Ruby to build views in your own language.

  • LaTeXML-Ruby

    A Ruby wrapper for LaTeXML

  • serbea

    The Ruby template engine you didn't realize you needed. Until now.

  • Glimmer DSL for XML (& HTML)

    Glimmer DSL for XML (& HTML)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-21.

Ruby Template engine related posts


What are some of the best open-source Template engine projects in Ruby? This list will help you:

Project Stars
1 Liquid 10,550
2 Slim 5,245
3 Haml 3,738
4 Mustache 2,973
5 Tilt 1,934
6 Jb 1,248
7 Hamlit 981
8 phlex 961
9 Arbre 731
10 Curly 590
11 Rubyoshka 185
12 Fortitude 74
13 LaTeXML-Ruby 73
14 serbea 34
15 Glimmer DSL for XML (& HTML) 4
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives