Xray Checker: A Prometheus exporter for monitoring Xray proxies https://xray-checker.kutovoy.dev
  • JavaScript 88.1%
  • Go 9.2%
  • HTML 2.6%
Find a file
2026-07-18 02:34:51 +04:00
.github Add proxy check concurrency and per-commit Docker builds 2026-06-22 13:50:42 +03:00
checker Add configurable proxy check concurrency 2026-06-22 13:46:56 +03:00
config fix: prevent overlapping proxy check cycles 2026-06-22 14:16:16 +03:00
docs Add hysteria2 2026-07-10 10:00:54 +03:00
logger Update dependencies and refactor logging 2026-01-04 02:06:05 +05:00
metrics Add public STATUSPAGE mode and subscription name support 2026-01-07 05:32:06 +05:00
models Add hysteria2 2026-07-10 10:00:54 +03:00
subscription Add hysteria2 2026-07-10 10:00:54 +03:00
web Add hysteria2 2026-07-10 10:00:54 +03:00
xray Add hysteria2 2026-07-10 10:00:54 +03:00
.gitignore Fix xhttp transport parsing to preserve extra parameters 2026-01-07 01:51:29 +05:00
.goreleaser.yaml fix: env vars 2025-01-06 08:32:00 +03:00
AGENTS.md Add hysteria2 2026-07-10 10:00:54 +03:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2025-01-13 23:56:53 +05:00
CONTRIBUTING.md Update documentation for Xray Checker 2025-01-22 03:38:57 +05:00
Dockerfile fix: support XDNS share links end-to-end 2026-06-21 16:58:58 +03:00
go.mod chore(deps): update Xray-core to v26.7.11 prerelease 2026-07-18 02:34:51 +04:00
go.sum chore(deps): update Xray-core to v26.7.11 prerelease 2026-07-18 02:34:51 +04:00
LICENSE big refactor, prometheus metrics, parse subscription link 2025-01-05 23:45:34 +05:00
main.go fix: prevent overlapping proxy check cycles 2026-06-22 14:16:16 +03:00
README.md Add hysteria2 2026-07-10 10:00:54 +03:00
README_RU.md Add hysteria2 2026-07-10 10:00:54 +03:00
SECURITY.md Update documentation for Xray Checker 2025-01-22 03:38:57 +05:00

Изменения в этом форке

  • Исправлено смешивание профилей на одном server:port: каждая share-ссылка теперь проверяется как отдельный профиль, а не заменяется последней ссылкой на тот же endpoint.
  • Исправлена проверка разных вариантов одного и того же сервера: RAW, XHTTP, KCP, XDNS и Encryption больше не схлопываются в один результат.
  • Добавлена поддержка XDNS share-ссылок: параметр fm сохраняется и попадает в итоговый Xray-конфиг как finalmask, поэтому XDNS-профили реально запускаются и проверяются.
  • Добавлена поддержка Hysteria2 share-ссылок hysteria2:// и hy2://, включая TLS pin pcs.
  • Настройки транспорта из share-ссылки сохраняются, но сервер и пользователь профиля не подменяются данными из raw outbound.
  • Поддержка PROXY_CHECK_CONCURRENCY, сколько одновременных проверок можно запустить.
  • Проверки прокси больше не накладываются друг на друга: новая итерация начинается только после завершения предыдущей и паузы PROXY_CHECK_INTERVAL.

Xray Checker

GitHub Release GitHub Actions Workflow Status GitHub Downloads (all assets, all releases) Docker Pulls GitHub License ru en

Documentation DockerHub Live Demo Telegram Chat

Xray Checker is a tool for monitoring proxy server availability with support for VLESS, VMess, Trojan, Shadowsocks, and Hysteria2 protocols. It automatically tests connections through Xray Core and provides metrics for Prometheus, as well as API endpoints for integration with monitoring systems.

Dashboard Screenshot

Tip

Try the Live Demo: See Xray Checker in action at demo-xray-checker.kutovoy.dev

🚀 Key Features

  • 🔍 Monitoring of Xray proxy servers (VLESS, VMess, Trojan, Shadowsocks, Hysteria2)
  • 🔄 Automatic configuration updates from subscription (multiple subscriptions supported)
  • 📊 Prometheus metrics export with Pushgateway support
  • 🌐 REST API with OpenAPI/Swagger documentation
  • 🌓 Web interface with dark/light theme
  • 🎨 Full web customization (custom logo, styles, or entire template)
  • 📄 Public status page for VPN services (no authentication required)
  • 📥 Endpoints for monitoring system integration (Uptime Kuma, etc.)
  • 🔒 Basic Auth protection for metrics and web interface
  • 🐳 Docker and Docker Compose support
  • 🌍 Automatic geo files management (geoip.dat, geosite.dat)
  • 📝 Flexible configuration loading:
    • URL subscriptions (base64, JSON)
    • Share links (vless://, vmess://, trojan://, ss://, hysteria2://, hy2://)
    • JSON configuration files
    • Folders with configurations

Full list of features available in the documentation.

🚀 Quick Start

Docker

docker run -d \
  -e SUBSCRIPTION_URL=https://your-subscription-url/sub \
  -e PROXY_CHECK_CONCURRENCY=4 \
  -p 2112:2112 \
  kutovoys/xray-checker

Docker Compose

services:
  xray-checker:
    image: kutovoys/xray-checker
    environment:
      - SUBSCRIPTION_URL=https://your-subscription-url/sub
      - PROXY_CHECK_CONCURRENCY=4
    ports:
      - "2112:2112"

Detailed installation and configuration documentation is available at xray-checker.kutovoy.dev

📈 Project Statistics

Star History Chart

🤝 Contributing

We welcome any contributions to Xray Checker! If you want to help:

  1. Fork the repository
  2. Create a branch for your changes
  3. Make and test your changes
  4. Create a Pull Request

For more details on how to contribute, read the contributor's guide.

Thanks to the all contributors who have helped improve Xray Checker:

Made with contrib.rocks

VPN Recommendation

For secure and reliable internet access, we recommend BlancVPN. Use promo code KLUGSCL for 15% off your subscription.