slim-template/slim
Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic. observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 94
- Release rhythm 62
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5834
- days_rel: 40
- days_push: 40
- n_releases_24m: 1
Adoption not part of the score
5373 stars · 497 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Slim is a fast, lightweight Ruby templating language that reduces HTML view syntax to the essentials using indentation instead of closing tags. It integrates with Rails, Sinatra, and Rack via Tilt and is extensible through plugins like logic-less mode and I18n translation.
Use cases
- write HTML views with minimal syntax in Rails
- replace ERB or Haml templates with a cleaner indentation-based language
- render templates in Sinatra or plain Rack apps
- use logic-less Mustache-style templates with Slim syntax
- embed Markdown or Textile inside HTML templates
- stream template rendering in Rails for performance
When to choose
- you want terse, elegant HTML templates without closing tags
- you need a high-performance Ruby template engine comparable to ERB
- you want automatic HTML escaping and Rails html_safe support
- you prefer indentation-based markup like Haml or Pug
When to avoid
- your team prefers standard HTML syntax with explicit tags
- you need a templating language outside the Ruby ecosystem
- you rely on tooling or editors without Slim support
Facets
library · maturity stable
templating web-framework web-development frontend developer-tools ruby template-engine html haml-alternative rails sinatra indentation-based-syntax web-server
2 sources
- readme: https://github.com/slim-template/slim · fetched 2026-08-28 · 627011cd60fe
- homepage: https://slim-template.github.io · fetched 2026-08-29 · 37ce19af41ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| slim-template/slim | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="slim-template/slim")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem