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

pxhub

v1.0.3

Published

Simple proxy format conversion tool with local SOCKS5/HTTP endpoints.

Readme

解决什么问题

ProxyHub 面向日常代理链接处理:导入、预览、转换、探测,并输出稳定的本地 SOCKS5/HTTP 端口。可以同时开启多个本地 HTTP/SOCKS 代理。基于 sing-box 开发。

特性

| 能力 | 价值 | | --- | --- | | 格式转换 | 导入常见代理链接(VLESS、VMess、Trojan、Shadowsocks、Hysteria/Hysteria2、TUIC、SSH、SOCKS5、HTTP),输出本地代理入口。 | | 智能选路 | 最低延迟、故障转移、负载均衡、手动切换。 | | 健康守护 | 探测延迟,自动排除坏线路。 | | 节点串联 | 把多个节点按顺序串成一条代理路径,流量会经过每个节点转发。 | | 批量导入 | 分享链接或订阅先预览,再导入。 | | 备份迁移 | 一份 JSON 带走代理配置。 |

快速开始

npm

npm install -g pxhub
pxhub

同时也会安装 proxy-hub 命令作为兼容别名。

然后打开:

http://127.0.0.1:3020

后续升级到最新稳定版也使用同一个命令:

npm install -g pxhub@latest

Docker

docker run -d --name proxyhub -p 3020:3020 -v proxyhub-data:/app/data ghcr.io/fy0/proxy-hub:latest

然后打开:

http://127.0.0.1:3020

二进制

GitHub Releases 下载最新压缩包,解压后运行 proxy-hubproxy-hub.exe

界面截图

本地端口

添加节点

串联节点

批量导入

配置

ProxyHub 从当前数据目录读取运行配置:

  • npm 全局安装:~/.proxy-hub/config.yaml
  • 源码/本地二进制直接运行:./data/config.yaml

常用配置:

| 配置项 | 用途 | | --- | --- | | serveAt | 服务监听地址,默认 :3020。 | | dbUrl | 数据库 DSN,默认位于当前数据目录下的 data.db。 | | logLevel | 服务日志级别。 |

仅支持 SQLite DSN。

声明

本项目出于学习目的开发,仅用于作者家里客厅和卧室两台机器的互相访问。因 GPL 协议要求开源。使用者需要自行承担使用后果。

鸣谢

许可证

ProxyHub 按 GPL-3.0-or-later 分发,因为发布产物链接了 SagerNet sing/sing-box。