# kaminari/kaminari

⚡ A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps

Repository: https://github.com/kaminari/kaminari
Canonical: https://ross.abutalabs.com/products/kaminari
Homepage: https://github.com/kaminari/kaminari/wiki
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, rails, pagination, kaminari
Last push: 2026-02-20T00:33:30+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 8, longevity 100
- inputs: {"age_days": 5687, "days_push": 195, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8672, forks 1073 (observed 2026-08-28T04:10:24.148492+00:00)

## What it is
Kaminari is a Ruby pagination library providing a clean, scope-based API for paginating records in web applications. It works with multiple ORMs (ActiveRecord, Mongoid, DataMapper) and frameworks (Rails, Sinatra, Grape) with customizable, I18n-aware view helpers.

## Use cases
- paginate ActiveRecord queries in a Rails app
- add page navigation to search results
- customize pagination link templates and styling
- paginate Mongoid or MongoMapper collections
- add pagination to a Sinatra or Grape API

## When to choose
- you need mature, widely-adopted pagination for Ruby web apps
- you want chainable scope-based pagination without polluting core classes
- you need customizable pagination views with i18n support

## When to avoid
- you use a non-Ruby stack
- you prefer newer alternatives like Pagy for maximum performance
- your project requires cursor-based pagination out of the box

## Facets
- artifact type: library
- maturity: stable
- function: web-framework, orm, templating, internationalization
- domain: web-development, backend, databases
- platform: ruby
- tags: pagination, ruby-gem, activerecord, sinatra, mongoid, rails

## Member repositories
- kaminari/kaminari (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:24.148492+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:25:37.201953+00:00, confidence not recorded.
  - readme: https://github.com/kaminari/kaminari (fetched 2026-08-28T04:10:24.148492+00:00, sha c4e24d8e7d68)
  - homepage: https://github.com/kaminari/kaminari/wiki (fetched 2026-08-29T08:25:56.743647+00:00, sha 4506ad7d8ed9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
