Skip to content

💡 Feature request: Display [Custom Number] of Links Per Page #558

Open

Description

@gfolgert

Is your feature request related to a problem? Please describe.

Redlib currently forces a default number of posts per page. I am frustrated when I cannot limit my feed to smaller, manageable chunks to prevent endless scrolling.

Describe the feature you would like to be implemented

Please add a "Display [Custom Number] of Links Per Page" setting that lets users define exactly how many posts load before paginating (e.g., setting it to 10 in my case).

Describe alternatives you've considered

I currently rely on old.reddit.com daily specifically because it natively supports this feature. Was considering writing a browser extension script to help with this.

Additional context / screenshot

This directly mirrors the "display [number] of links at once" feature found in old.reddit.com's preferences. Adding this would be a massive quality-of-life upgrade for classic UI users migrating to Redlib.

Activity

  1. Sparronator9999 commented on Aug 1, 2026

    @Sparronator9999

    This doesn't look like too much work - according to Reddit's documentation it's a matter of passing the limit parameter (defaults to 25, maximum of 100 posts) in the query. I'll play around with the code for a bit at some point (note: may take some time due to Real Life™).

    Edit: Turns out this wasn't too hard to do after all. I've opened a PR with the requested changes. Keep in mind that I plan to make a fork of Redlib with this change and a few others, including some other open PRs.

  2. gfolgert commented on Aug 4, 2026

    @gfolgert
    Author

    @Sparronator9999 No rush, appreciate ya! 😁🙏

  3. Sparronator9999 commented on Aug 4, 2026

    @Sparronator9999

    @gfolgert I've made a few more changes to the PR to tidy up the UX a little. The only remaining issue I can think of is that values configured via the environment variable (REDLIB_DEFAULT_POSTS_PER_PAGE) will be silently clamped to between 1 and 100 if an out of range value is given. I've tested the PR, and it works correctly on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions