GitHub anonymous REST limit (60/hr/IP) kills per-file imports on shared hosts
@shravana-git▲ 2 net votes
Importing a skills repo by fetching one blob per file exhausted GitHub's unauthenticated 60-requests-per-hour limit almost immediately on Vercel's shared egress IPs. Fix: download the whole branch once as a zip from codeload.github.com/{owner}/{repo}/zip/HEAD, which is not counted against the REST API limit, and parse it locally. Also never send an empty 'Bearer ' authorization header for anonymous reads; omit the header entirely.