{"id":15879974,"url":"https://github.com/mojotech/scrivener","last_synced_at":"2025-04-04T22:07:43.585Z","repository":{"id":26957233,"uuid":"30420270","full_name":"mojotech/scrivener","owner":"mojotech","description":"Pagination for the Elixir ecosystem","archived":false,"fork":false,"pushed_at":"2021-06-30T14:00:19.000Z","size":166,"stargazers_count":553,"open_issues_count":1,"forks_count":60,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-29T21:24:25.937Z","etag":null,"topics":["elixir","paginate"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mojotech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-06T16:02:57.000Z","updated_at":"2024-10-10T19:52:29.000Z","dependencies_parsed_at":"2022-08-24T15:03:51.814Z","dependency_job_id":null,"html_url":"https://github.com/mojotech/scrivener","commit_stats":null,"previous_names":["mojotech/scrivener","drewolson/scrivener"],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fscrivener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fscrivener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fscrivener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Fscrivener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojotech","download_url":"https://codeload.github.com/mojotech/scrivener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256112,"owners_count":20909240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","paginate"],"created_at":"2024-10-06T03:06:55.492Z","updated_at":"2025-04-04T22:07:43.569Z","avatar_url":"https://github.com/mojotech.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scrivener\n\n[![Build\nStatus](https://github.com/drewolson/scrivener/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/drewolson/scrivener/actions/workflows/test.yml)\n\n**Note**: You're probably looking for [Scrivener.Ecto](https://github.com/drewolson/scrivener_ecto). Have a look there first.\n\nScrivener is a pagination library for the Elixir ecosystem. You most likely won't use Scrivener directly, instead using a library that implements Scrivener's `Paginater` protocol for the type of data you're trying to paginate.\n\nThe primary use for Scrivener is the pagination of Ecto queries. For more information, see [Scrivener.Ecto](https://github.com/drewolson/scrivener_ecto).\n\n## Low Maintenance Warning\n\nThis library is in low maintenance mode, which means the author is currently\nonly responding to pull requests and breaking issues.\n\n## Related Libraries\n\n* [Scrivener.Ecto](https://github.com/drewolson/scrivener_ecto) paginate your Ecto queries with Scrivener\n* [Scrivener.HTML](https://github.com/mgwidmann/scrivener_html) generates HTML output using Bootstrap or other frameworks\n* [Scrivener.Headers](https://github.com/beam-community/scrivener_headers) adds response headers for API pagination\n* [Scrivener.List](https://github.com/stephenmoloney/scrivener_list) allows pagination of a list\n\n## Installation\n\nAdd `scrivener` to your `mix.exs` `applications` and `dependencies`.\n\n```elixir\ndef application do\n  [applications: [:scrivener]]\nend\n```\n\n```elixir\n[{:scrivener, \"~\u003e 2.0\"}]\n```\n\n## Contributing\n\nYou can run the tests with the following command:\n\n```elixir\nmix test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojotech%2Fscrivener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojotech%2Fscrivener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojotech%2Fscrivener/lists"}