nesquena/rabl
General ruby templating with json, bson, xml, plist and msgpack support observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 72
- Release rhythm 40
- 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: 0
- age_days: 5627
- days_rel: 645
- days_push: 168
- n_releases_24m: 4
Adoption not part of the score
3632 stars · 332 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
RABL (Ruby API Builder Language) is a Ruby templating system for Rails and Padrino that generates JSON, XML, MessagePack, PList, and BSON API responses. It provides an expressive view-layer DSL for building API representations that don't match database schemas directly.
Use cases
- generate custom JSON API responses in Rails
- serialize ActiveRecord objects with renamed or aliased attributes
- render partial templates to reduce duplication in API views
- conditionally include nodes in API output
- build nested API representations from model associations
- output MessagePack or BSON instead of JSON
When to choose
- you need complex JSON shapes that don't match your database schema
- you want API representation logic kept in the view layer per MVC
- you use Rails or Padrino and need multiple serialization formats
When to avoid
- simple APIs where ActiveRecord's to_ suffices
- non-Ruby stacks or frameworks without RABL integration
- projects preferring serializer gems like active_model_serializers or jbuilder
Facets
library · maturity stable
templating serialization api-framework web-development backend apis ruby -templating api-builder rails padrino xml msgpack bson plist web-server
1 source
- readme: https://github.com/nesquena/rabl · fetched 2026-08-28 · 270d49380852
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nesquena/rabl | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem