Skip to content

Repository files navigation

GSNode

安装脚本始终拉取最新版本;运行后终端会输出实际使用的版本号。

Latest release · 官网 GSVPS

English
GSNode is a lightweight server node quality probe for the GSVPS ecosystem. One command downloads the binary, runs a full benchmark, uploads the report to GSVPS, and prints the online report URL in your terminal.

中文
GSNode 是 GSVPS 生态下的服务器节点质量检测工具。一条命令完成下载、完整检测、报告上传,并在终端输出在线报告链接与模块评分摘要。


One-line detect | 一键检测

Linux / macOS

curl -fsSL https://dl.gsvps.com/install.sh | sh

备用地址:

# GitHub
curl -fsSL https://github.com/gsvps/GSNode/raw/main/install.sh | sh

# jsDelivr CDN
curl -fsSL https://cdn.jsdelivr.net/gh/gsvps/GSNode@main/install.sh | sh

Windows (PowerShell)

irm https://dl.gsvps.com/install.ps1 | iex

备用地址:

# GitHub
irm https://github.com/gsvps/GSNode/raw/main/install.ps1 | iex

# jsDelivr CDN
irm https://cdn.jsdelivr.net/gh/gsvps/GSNode@main/install.ps1 | iex

脚本会自动:

  1. 临时下载检测程序(默认不安装到系统)
  2. 执行完整检测(CPU、内存、磁盘、网络、IP 质量、回程、流媒体等)
  3. 将报告上传至 GSVPS 官网
  4. 在终端输出评分摘要与永久报告链接
  5. 自动清理所有本地临时文件(二进制、报告缓存),服务器不留痕迹

Online report | 在线报告

检测完成后可在 GSVPS 查看证书式在线报告:

GSVPS 探针报告示例

示例:https://www.gsvps.com/report/1febd3a5116d

终端示例:

====================================
 GSNode 检测完成
====================================
报告编号 : 4E101587B749
综合评分 : 6463 / 10000  ★★★★☆

模块明细
------------------------------------
 System          7000  passed   Debian GNU/Linux ...
 CPU             ...
 ...

上传状态 : 成功

在线报告 :
  https://www.gsvps.com/report/xxx

Cleanup | 手动清理

若曾使用 GSNODE_KEEP=1 安装,或检测中断导致临时文件残留,可运行清理脚本:

curl -fsSL https://dl.gsvps.com/cleanup.sh | sh

备用地址:https://github.com/gsvps/GSNode/raw/main/cleanup.shhttps://cdn.jsdelivr.net/gh/gsvps/GSNode@main/cleanup.sh

跳过确认:

curl -fsSL https://dl.gsvps.com/cleanup.sh | sh -s -- -y

仅预览(不删除):

curl -fsSL https://dl.gsvps.com/cleanup.sh | sh -s -- -n

清理范围:/usr/local/bin/gsnode、临时目录 /tmp/gsnode.*、磁盘测试缓存 gsprobe-disk.tmp;可通过 GSNODE_DATAGSNODE_BIN 指定额外路径。


Manual usage | 手动用法

# Full benchmark + upload + terminal summary
gsnode -run

# Full benchmark, JSON output (for scripting)
gsnode -run -json

# Web console with live SSE logs
gsnode -addr :8899 -data ./data

Open http://YOUR_SERVER_IP:8899 for the certificate-style Web UI.


Binaries | 预编译二进制

See bin/:

File Platform
gsnode-linux-amd64 Linux x86_64
gsnode-linux-arm64 Linux ARM64
gsnode-linux-386 Linux i386
gsnode-darwin-amd64 macOS Intel
gsnode-darwin-arm64 macOS Apple Silicon
gsnode-windows-amd64.exe Windows x86_64

Source code | 源码

bin/ 中的二进制由 GSProbe/ 编译而来 —— 检测引擎的完整 Go 源码,可自行审查或构建:

cd GSProbe
go test ./...
go build -trimpath -ldflags="-s -w" -o gsprobe ./cmd/gsprobe

详见 GSProbe/README.md


Features | 功能

模块 说明
系统 OS、虚拟化、容器、BBR/TCP、sysctl
CPU / 内存 / 磁盘 算力、带宽、I/O 基准
网络 GeoIP、ASN、DNS、延迟、上下行采样
IP 质量 多源 IP 类型、风险评分、DNSBL
回程 nexttrace / tracepath / tracert,线路识别与路线图
流媒体 & AI Netflix(双片源)、Disney+(bamgrid API)、YouTube、ChatGPT、Claude、Gemini 等
Web 控制台 SSE 实时日志、证书式报告

流媒体检测采用各平台专用 API 与片源探测逻辑,可区分 Netflix 完整解锁 / 仅自制剧、ChatGPT 仅网页 / 仅 APP 等状态;不等同于登录账号后的完整播放验证。


Official site | 官网


Acknowledgments | 开源鸣谢

GSNode / GSProbe 为独立实现,未包含第三方检测项目源码。以下开源项目的思路与检测方法在设计与实现中提供了重要参考,特此致谢:

项目 说明
sjlleo/netflix-verify Netflix 解锁检测(多片源 + 重定向地区码)
xykt/RegionRestrictionCheck 流媒体解锁检测脚本(Disney+ bamgrid、YouTube、DAZN 等)
lmc999/RegionRestrictionCheck 上述脚本的原始版本
CoiaPrant/MediaUnlock_Test 流媒体解锁检测早期实现
Peters-Pans/streamprobe Go 流媒体 / OpenAI 统一检测 CLI
missuo/OpenAI-Checker OpenAI / ChatGPT 地区可用性检测
LemonBench/LemonBench 流媒体检测脚本演进脉络
NextTrace 回程路由探测工具(运行时按需安装)

感谢以上作者与社区的贡献。


License

MIT — see LICENSE.

Repository: https://github.com/gsvps/GSNode

About

VPS / 云服务器一键体检:CPU、内存、磁盘、BBR、IP 质量、DNSBL、流媒体解锁、回程路由。

Resources

Stars

59 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages