Pagy Contributions

February 20, 2026 ยท View on GitHub

Pull Requests are welcome!

Here is a little useful information for contributing:

  1. If you are planning for a complex PR, we suggest that you check beforehand whether your proposed changes are going to be accepted by posting your ideas in the Feature Requests discussion area
  2. For adding translations of locale dictionary files please follow the locales readme instructions here.
  3. Pagy repo setup
  4. Development
    • Please create your own branch out of master and use it for your development and PR
    • Ensure you are basing your PR on the master branch and keep rebasing it on master when it changes
    • Code
      • You can have a decent development environment already setup by just using one of the apps in the Pagy Playground and/or with the Pagy::Console directly from the repo
    • Docs
      • The docs run on retype, and the repo is configured for its linux package. You may want to install the platform specific npm package in order to use it
      • cd in the pagy root directory
      • Install bun
      • Run bun install
      • Run bunx retype statr --port 5000
      • Point your browser at http://localhost:5000/pagy for real-time feedback
  5. Testing
    • If your PR does not add any new feature (e.g. a fix), please, just ensure that the indicator with "All checks have passed" gets green light on the PR page (if it's not enabled, a maintainer will enable it for you).
    • If your PR adds new features, it needs Ruby testing or the coverage will fail. Ask for support if you need assistance.

Thank you!