A Bluesky labeler that labels accounts hosted on PDSes operated by entities other than Bluesky PBC
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix exit condition on PDS crawler

gbl08ma fe2d5450 94f1950b

+4 -4
+4 -4
pdsCrawler.ts
··· 43 43 44 44 cursor = pageData.cursor; 45 45 46 - if (pageData.repos.length == 0) { 47 - break; 48 - } 49 - 50 46 for (const item of pageData.repos) { 51 47 numRepos++; 52 48 if (numRepos > this.maxExpectedReposPerPDS) { ··· 57 53 if (!activeOnly || item.active) { 58 54 yield item; 59 55 } 56 + } 57 + 58 + if (pageData.repos.length == 0 || typeof cursor === "undefined") { 59 + break; 60 60 } 61 61 } 62 62 }