You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
💡 Feature request: Display [Custom Number] of Links Per Page #558
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.
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.
@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.
Activity
Sparronator9999 commentedon Aug 1, 2026
This doesn't look like too much work - according to Reddit's documentation it's a matter of passing the
limitparameter (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.
gfolgert commentedon Aug 4, 2026
@Sparronator9999 No rush, appreciate ya! 😁🙏
Sparronator9999 commentedon Aug 4, 2026
@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.