Skip to content

Backfill more than one page of an account's posts - #232

Merged
nanos merged 5 commits into
mainfrom
backfill-pagination
Aug 6, 2026
Merged

nanos merged 5 commits into
mainfrom
backfill-pagination

Conversation

@nanos

@nanos nanos commented Aug 6, 2026 •

Copy link
Copy Markdown
Owner

Closes #203.

Adds max_posts_per_account, defaulting to 40 — one page, which is what we fetch today — so nothing changes for anyone who doesn't set it.

Please note that every post fetched costs a search?resolve=true on your own instance, plus a context fetch when backfill-with-context is on.

This means that setting max_posts_per_account to a high value will really slow down backfilling, as you are likely to hit your own server's rate limits.

All four clients now page: Mastodon by max_id, Misskey by untilId, Lemmy by page number, PeerTube by start/count. Each stops early when a server hands back less than it was asked for, so an account with fewer posts than the limit still costs a single request.

@nanos
nanos merged commit fdf4ecc into main Aug 6, 2026
5 checks passed
@nanos
nanos deleted the backfill-pagination branch August 6, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backfill accounts with more than one remote page

1 participant