npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gitboost-pro

v1.1.0

Published

GitHub & npm Accelerator & Repo Scanner - Fixes GitHub 404 errors and accelerates GitHub & npm access

Readme

GitBoost Pro

🚀 GitHub 全能加速与仓库扫描工具 - 解决 GitHub 404 错误,加速 GitHub 访问

功能特性

  • GitHub 404 错误修复:自动选择最佳的 GitHub IP 地址,解决访问 GitHub 时的 404 错误
  • 多 IP 地址测试:测试多个 GitHub IP 地址,选择响应最快的一个
  • 本地仓库扫描:扫描本地 GitHub 仓库,显示相关信息
  • Hosts 文件自动更新:自动更新 hosts 文件,添加最佳 GitHub IP 地址
  • DNS 缓存刷新:自动刷新 DNS 缓存,确保更改立即生效
  • 开机自启动:支持设置开机自启动,无需手动运行
  • 自定义自动更新时间:可自定义自动更新时间间隔
  • npm 支持:可通过 npm 安装和运行,无需手动下载源代码
  • npm 官网加速:专门加速 npm 官网和 registry,提高包安装速度

安装方法

方法 1:通过 npm 安装(推荐)

# 全局安装
npm install -g gitboost-pro

# 或者本地安装
npm install gitboost-pro

方法 2:直接下载

  1. 从 GitHub 仓库下载最新版本
  2. 解压到任意目录
  3. 以管理员身份运行 GitBoost_Pro.bat(Windows)或 python gitboost_pro.py(Mac/Linux)

使用方法

通过 npm 运行

# 全局安装后直接运行
gitboost
# 或
gitboost-pro

# 本地安装后运行
npx gitboost
# 或
npm run start

通过脚本运行

  1. Windows:右键点击 GitBoost_Pro.bat,选择「以管理员身份运行」
  2. Mac/Linux:在终端中运行 sudo python gitboost_pro.py

功能菜单

运行后会显示功能菜单:

============================================================
🚀 GitBoost Pro - 功能菜单
============================================================
1. 默认运行 (获取IP + 扫描仓库 + 更新Hosts + 刷新DNS)
2. 设置开机自启动
3. 移除开机自启动
4. 设置自动更新时间
5. 退出程序
============================================================
提示: 直接按回车或输入其他数字将默认运行所有功能
============================================================
  • 选项 1:默认运行所有功能
  • 选项 2:设置开机自启动
  • 选项 3:移除开机自启动
  • 选项 4:设置自动更新时间间隔
  • 选项 5:仅加速 npm 官网
  • 选项 6:退出程序

技术原理

  1. IP 地址测试:测试多个 GitHub 相关域名的 IP 地址,选择响应最快的一个
  2. Hosts 文件更新:将最佳 IP 地址写入 hosts 文件,绕过 DNS 解析
  3. DNS 缓存刷新:刷新 DNS 缓存,确保新的 IP 地址立即生效
  4. 本地仓库扫描:扫描本地 GitHub 仓库,提供相关信息

系统要求

  • Python:3.6 或更高版本
  • Node.js:12.0 或更高版本(仅当通过 npm 安装时)
  • 操作系统:Windows、Mac、Linux
  • 权限:需要管理员/root 权限以修改 hosts 文件

常见问题

Q: 运行时提示「必须以管理员身份运行」

A: 请以管理员身份运行命令提示符或终端,或右键点击脚本选择「以管理员身份运行」

Q: 修改 hosts 文件失败

A: 确保你有管理员/root 权限,并且 hosts 文件没有被其他程序锁定

Q: GitHub 仍然无法访问

A: 尝试多次运行程序,它会自动选择不同的 IP 地址,直到找到可用的连接

Q: 如何卸载

A: 通过 npm 安装的可以运行 npm uninstall -g gitboost-pro,直接下载的删除文件夹即可

贡献

欢迎提交 Issue 和 Pull Request!

许可证

MIT License

更新日志

v1.0.0

  • 初始版本
  • 支持 GitHub 404 错误修复
  • 支持多 IP 地址测试
  • 支持本地仓库扫描
  • 支持 npm 安装和运行