amatsuda/jb
A simple and fast JSON API template engine for Ruby on Rails observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 63
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3715
- days_rel: n/a
- days_push: 225
- n_releases_24m: 0
Adoption not part of the score
1315 stars · 42 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Jb is a JSON API template engine for Ruby on Rails that serves as a simpler and faster alternative to Jbuilder. Templates are plain Ruby code returning Hash or Array objects that get serialized to JSON, with no custom DSL to learn.
Use cases
- render JSON API responses in Rails views
- replace Jbuilder with a faster template engine
- build JSON payloads using plain Ruby hashes
- render JSON collections with working partials
- dynamically construct JSON attribute names
- generate top-level JSON arrays for index actions
When to choose
- you're on Rails and find Jbuilder's DSL awkward or slow
- you want JSON templates that are just Ruby code
- you need render_partial with :collection to actually render collections
- you prefer modern Ruby hash syntax that mirrors JSON
When to avoid
- you're not using Ruby on Rails
- you need a framework-agnostic JSON serializer
- your team already standardizes on Jbuilder or serializers like active_model_serializers
Facets
library · maturity stable
templating serialization web-framework web-development backend apis ruby rails -templates jbuilder-alternative view-layer web-server
1 source
- readme: https://github.com/amatsuda/jb · fetched 2026-08-28 · 50578c8809e4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| amatsuda/jb | main | 61 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem