The Ruby Toolbox - Know your options!

erubis

54.63
Erubis is an implementation of eRuby and has the following features: * Very fast, almost three times faster than ERB and about 10% faster than eruby. * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript) * Auto escaping support * Auto trimming spaces around '<% %>' * Embedded pattern changeable (default '<% %>') * Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>') * Context object available and easy to combine eRuby template with YAML datafile * Print statement available * Easy to extend and customize in subclass * Ruby on Rails support
 Popularity
Downloads
119,050,865
 Releases
Total releases
20
First release
Latest release

tilt

30.67
Generic interface to multiple Ruby template engines
 Popularity
Downloads
129,965,795
Stars
1,699
Forks
204
Watchers
30
 Releases
Total releases
35
First release
Latest release

haml

9.66
Haml (HTML Abstraction Markup Language) is a layer on top of HTML or XML that's designed to express the structure of documents in a non-repetitive, elegant, and easy way by using indentation rather than closing tags and allowing Ruby to be embedded with ease. It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine.
 Popularity
Downloads
34,383,287
Stars
3,264
Forks
530
Watchers
96
 Releases
Total releases
148
First release
Latest release

liquid

4.94
A secure, non-evaling end user template engine with aesthetic markup.
 Popularity
Downloads
8,383,734
Stars
6,085
Forks
800
Watchers
420
 Releases
Total releases
34
First release
Latest release

slim

4.77
Slim is a template language whose goal is reduce the syntax to the essential parts without becoming cryptic.
 Popularity
Downloads
12,104,084
Stars
4,494
Forks
440
Watchers
129
 Releases
Total releases
64
First release
Latest release

temple

3.72
Template compilation framework in Ruby
 Popularity
Downloads
15,411,329
Stars
398
Forks
40
Watchers
12
 Releases
Total releases
37
First release
Latest release

mustache

3.07
Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. Think of Mustache as a replacement for your views. Instead of views consisting of ERB or HAML with random helpers and arbitrary logic, your views are broken into two parts: a Ruby class and an HTML template.
 Popularity
Downloads
8,705,590
Stars
2,452
Forks
228
Watchers
51
 Releases
Total releases
43
First release
Latest release

handlebars_assets

1.0
A Railties Gem to compile hbs assets
 Popularity
Downloads
2,493,550
Stars
665
Forks
155
Watchers
15
 Releases
Total releases
53
First release
Latest release

deface

0.59
Deface is a library that allows you to customize ERB, Haml and Slim views in a Rails application without editing the underlying view.
 Popularity
Downloads
1,316,590
Stars
445
Forks
105
Watchers
33
 Releases
Total releases
31
First release
Latest release

curly-templates

0.22
A view layer for your Rails apps that separates structure and logic.
 Popularity
Downloads
52,194
Stars
577
Forks
23
Watchers
275
 Releases
Total releases
41
First release
Latest release

markerb

0.15
Multipart templates made easy with Markdown + ERb
 Popularity
Downloads
153,280
Stars
200
Forks
39
Watchers
18
 Releases
Total releases
5
First release
Latest release

erector

0.11
Erector is a Builder-like view framework, inspired by Markaby but overcoming some of its flaws. In Erector all views are objects, not template files, which allows the full power of object-oriented programming (inheritance, modular decomposition, encapsulation) in views.
 Popularity
Downloads
244,500
 Releases
Total releases
25
First release
Latest release

markaby

0.08
_why's markaby templating language
 Popularity
Downloads
182,325
 Releases
Total releases
15
First release
Latest release

judofyr/parkaby

0.07
ParseTree meets Markaby
 Popularity
Stars
102
Forks
3
Watchers
2

inversion

0.05
Inversion is a templating system for Ruby. It uses the "Inversion of Control" principle to decouple the contents and structure of templates from the code that uses them, making it easier to separate concerns, keep your tests simple, and avoid polluting scopes with ephemeral data.
 Popularity
Downloads
103,692
 Releases
Total releases
36
First release
Latest release

wlang

0.03
WLang is a general-purpose *code generation*/*templating engine*. It's main aim is to help you generating web pages, sql queries, ruby code (that is, generating text in general) without having to worry too much about html entities encoding, sql back quoting, string escaping and the like. WLang proposes a generic engine that you can easily extend to fit your needs. It also proposes standard instantiations of this engine for common tasks such as rendering HTML web pages.
 Popularity
Downloads
48,541
Stars
25
Forks
5
Watchers
2
 Releases
Total releases
20
First release
Latest release

scottpersinger/laminate

0.03
Safe user-template system written in Ruby
 Popularity
Stars
41
Forks
3
Watchers
1

tagz

0.03
tagz.rb is generates html, xml, or any sgml variant like a small ninja running across the backs of a herd of giraffes swatting of heads like a mark-up weedwacker. weighing in at less than 300 lines of code tagz.rb adds an html/xml/sgml syntax to ruby that is both unobtrusive, safe, and available globally to objects without the need for any builder or superfluous objects. tagz.rb is designed for applications that generate html to be able to do so easily in any context without heavyweight syntax or scoping issues, like a ninja sword through butter.
 Popularity
Downloads
68,209
Stars
29
Forks
3
Watchers
2
 Releases
Total releases
34
First release
Latest release

cadenza

0.02
Powerful text templating language similar to Smarty/Liquid/Django
 Popularity
Downloads
12,071
Stars
11
Forks
6
Watchers
1
 Releases
Total releases
5
First release
Latest release

PageTemplate

0.01
A simple templating system for Web sites.
 Popularity
Downloads
30,122
 Releases
Total releases
13
First release
Latest release

sweet-lang

0.01
Sweet is a pre-compiled language based on Ruby and Python. Sweet makes possible to use all the class, defs, conditionals, global and local variables power of server-side languages, defining blocks by indentation like Python in your Sweet HTML markup. It comes with a SIC ( Sweet Interactive Console ) the you can test your code and ideas before really right and compile it.
 Popularity
Downloads
7,153
Stars
10
Forks
2
Watchers
1
 Releases
Total releases
4
First release
Latest release

hammer_builder

0.01
Fast extensible ruby html5 builder
 Popularity
Downloads
11,675
Stars
8
Forks
0
Watchers
1
 Releases
Total releases
6
First release
Latest release

ember

0.01
Ember (EMBEdded Ruby) is an [eRuby] template processor that allows debugging, reduces markup, and improves composability of eRuby templates.
 Popularity
Downloads
20,186
 Releases
Total releases
7
First release
Latest release

ruty

0.0
A Template-Engine inspired by the jinja engine
 Popularity
Downloads
3,025
 Releases
Total releases
1
First release
Latest release