Ruby Template engine

Open-source Ruby projects categorized as Template engine

Top 16 Ruby Template engine Projects

Template engine
  • Liquid

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

    Project mention: Managing LLM prompts in DotNet with DotPrompt | dev.to | 2024-10-27

    You might notice that the prompt has template instructions in there. To create this we used the Fluid library which is based on the Liquid template language from Shopify. It's got some great features in it and helps to make the prompt generation pretty powerful.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • 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: XRB alternatives - Haml, Slim, and Hamlit | libhunt.com/r/xrb | 2024-04-30
  • Haml

    HTML Abstraction Markup Language - A Markup Haiku

    Project mention: Douglas Hofstadter on Lisp (1983) | news.ycombinator.com | 2024-10-16

    I never suggested that I was the first person to think of this; not having dealt with any Lisp since (hmmm) 1990 via Scheme in my introductory CS 212 class at Cornell probably has something to do with my ignorance of the prior art in this area. I do like your approach of breadcrumbing me instead of giving me the answer, though... best I can guess is "tooling" and simply that S-expressions are simply too embedded in the minds of the Lisp community at this (or previous) point(s).

    I also don't deal with significant-indentation in languages usually (and have a strong Python distaste); though I've been playing with Roc (https://www.roc-lang.org/), which has this, and have used HAML (https://haml.info/) in the past. I suppose auto-indenting is impossible in a significant-indentation language depending on what the editor can intuit based on how the previous line ended, but I don't think I'd need that feature.

    I did research "sweet expressions" (which are apparently also called T-expressions) and found the prior art there in Scheme and Lisp, and a library called "sweet" for Racket (which is another intriguing lisp dialect!). These might have gotchas, but apparently they've sufficiently solved the problem enough to be usable.

    I do simply like how "T-expressions" look. Which is something I guess I care about, although I know that's not a universal among coders.

  • Mustache

    Logic-less Ruby templates.

  • Tilt

    Generic interface to multiple Ruby template engines (by rtomayko)

  • phlex

    A framework for building object-oriented views in Ruby.

    Project mention: Do React ao Hotwire - Parte II - [PT-BR] | dev.to | 2024-06-16
  • Jb

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

  • SaaSHub

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

    SaaSHub logo
  • Hamlit

    High Performance Haml Implementation

    Project mention: XRB alternatives - Haml, Slim, and Hamlit | libhunt.com/r/xrb | 2024-04-30
  • Arbre

    An Object Oriented DOM Tree in Ruby

  • Curly

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

  • Rubyoshka

    Composable templating for Ruby (by digital-fabric)

  • XRB

    XRB is a templating system built loosely on top of XHTML markup. It uses efficient native parsers where possible and compiles templates into efficient Ruby.

    Project mention: XRB is a templating system built loosely on top of XHTML markup | news.ycombinator.com | 2024-05-01
  • 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

    SaaSHub logo
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).

Ruby Template engine discussion

Log in or Post with

Ruby Template engine related posts

  • A RuboCop Configuration Tailored for Phlex

    4 projects | dev.to | 20 Sep 2024
  • XRB is a templating system built loosely on top of XHTML markup

    1 project | news.ycombinator.com | 1 May 2024
  • XRB alternatives - Haml, Slim, and Hamlit

    4 projects | 30 Apr 2024
  • Instantly preview rendered liquid template

    1 project | dev.to | 20 Mar 2024
  • Phlex: Fast, object-oriented view framework for Ruby

    1 project | news.ycombinator.com | 15 Feb 2024
  • Hamlet: A type-safe Haml template engine for Go

    5 projects | news.ycombinator.com | 1 Jan 2024
  • How to Express Logic "and", "Or", "Not"?

    1 project | news.ycombinator.com | 21 Nov 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 10 Dec 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Liquid 11,150
2 Slim 5,315
3 Haml 3,768
4 Mustache 3,036
5 Tilt 1,947
6 phlex 1,306
7 Jb 1,291
8 Hamlit 981
9 Arbre 769
10 Curly 594
11 Rubyoshka 193
12 XRB 108
13 Fortitude 74
14 LaTeXML-Ruby 73
15 serbea 44
16 Glimmer DSL for XML (& HTML) 6

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai