未经身份验证请求的速率限制已更新
Updated rate limits for unauthenticated requests

原始链接: https://github.blog/changelog/2025-05-08-updated-rate-limits-for-unauthenticated-requests/

为了保障 GitHub 的安全性和可靠性,我们将更新未经身份验证的请求的速率限制。这些更改将应用于诸如通过 HTTPS 克隆仓库、匿名使用我们的 REST API 和从 raw.githubusercontent.com 下载文件等操作。 我们更新的原因:我们最近观察到针对我们 API 的抓取活动有所增加。这些更新反映了我们持续致力于保护平台,并确保 GitHub 仍然是全球开发人员稳定可靠的环境的承诺。 这对您的影响:如果您依赖于未经身份验证的访问,您可能会遇到新的速率限制。但是,使用身份验证请求的开发人员将继续享有更高的速率限制,并可以无中断地访问他们的工作流程和工具。我们鼓励您使用身份验证,以增强访问 GitHub 服务的一致性和可靠性。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 更新未认证请求的速率限制 (github.blog) 13 分,来自 nolist_policy,1 天前 | 隐藏 | 过去 | 收藏 | 1 评论 dang 1 天前 [–] 评论已移至 https://news.ycombinator.com/item?id=43936992 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:
GitHub对未认证请求实施了更新的速率限制,这在Hacker News上引发了广泛讨论。新的限制旨在遏制AI爬虫和其他滥用流量,将未认证用户的请求限制为每小时60次,许多人认为这一举动过于严格,不利于休闲浏览和开源的可访问性。 用户报告称,即使只是在网页UI上浏览仓库也会遇到速率限制,并抱怨GitHub频繁注销用户。一些人建议使用Sourcehut、Codeberg、Gitea或自行托管的Gitlab/Forgejo等替代平台作为可能的解决方案,而另一些人则指出迁移用户群体的困难。讨论涵盖了对像Nix和Go依赖项这样的包管理器的影响,尽管它们是从`proxy.golang.org`拉取的。 人们担心AI爬虫可能会通过住宅代理池绕过这些措施,以及这些限制是否真的能解决问题。一些人认为这是走向仅限登录的互联网以及削弱代码开放访问的更广泛趋势。

原文

To provide a secure and dependable experience on GitHub, we’re rolling out updates to rate limits for requests made without authentication. These changes will apply to operations like cloning repositories over HTTPS, anonymously interacting with our REST APIs, and downloading files from raw.githubusercontent.com.

Why we’re updating

We’ve recently observed an increase in scraping activity targeting our API. These updates reflect our ongoing commitment to safeguarding the platform and ensuring GitHub remains a stable, reliable environment for developers worldwide.

What this means for you

If you rely on unauthenticated access, you may experience the new rate limits. However, developers using authenticated requests will continue to enjoy higher rate limits with uninterrupted access to their workflows and tools. We encourage you to use authentication for enhanced consistency and reliability in accessing GitHub’s services.

联系我们 contact @ memedata.com