ddnexus/pagy

Agnostic pagination in plain ruby

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 58 minutes ago
Added to GitGenius on September 13th, 2026
Created on December 31st, 2017
Open Issues & Pull Requests: 1 (+0)
GitHub issues: Enabled
Number of forks: 444
Total Stargazers: 4,991 (+0)
Total Subscribers: 36 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.0 hours
Mean response time: 3.0 days
90th percentile: 14.6 days
Tracked items: 60

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 98% of issues opened in the past year have since been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 0 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • fixed (21)
  • documentation (13)
  • aria-dictionary (9)
  • bug (7)
  • invalid (5)
  • question (2)
  • wontfix (2)
  • breaking change (1)

Most active issues this week

Detailed Description

Pagy is a pagination gem that provides agnostic pagination in plain Ruby, working across multiple frameworks and backends without framework-specific dependencies.

Pagy solves the problem of implementing pagination across diverse Ruby applications by offering a framework-agnostic approach. Rather than coupling pagination logic to a particular framework, it provides core pagination functionality that integrates with Rails, Sinatra, Hanami, Padrino, and other Ruby web frameworks. The tool works with various data sources including standard ActiveRecord queries, Elasticsearch, Meilisearch, Typesense, and JSON APIs, allowing developers to paginate results regardless of where the data originates.

Developers should choose Pagy if they need pagination that works consistently across multiple frameworks or if they want to avoid framework lock-in. It suits projects ranging from simple Rails applications to complex multi-framework systems and those using alternative search backends. The tool is particularly valuable for applications that need to support different data sources or for teams working across heterogeneous Ruby stacks.

The project maintains comprehensive test coverage and passes both API and end-to-end test suites. Code quality is enforced through static analysis checks. The tool has undergone a complete redesign at all levels, including its usage patterns and API, to simplify setup and reduce configuration requirements. Development activity includes ongoing refinement of paginators and interactive tooling to support developers during integration.