Skip to content

SingBox Checker: A Prometheus exporter for monitoring Xray proxies

License

Notifications You must be signed in to change notification settings

knownasmobin/SingBox-checker

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

187 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Proxy 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

Proxy Checker is a tool for monitoring proxy server availability with support for VLESS, VMess, Trojan, Shadowsocks, and WireGuard protocols. It supports both Xray Core and sing-box backends, automatically tests connections 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 proxy servers (VLESS, VMess, Trojan, Shadowsocks, WireGuard)
  • ⚑ Dual backend support: Xray Core and sing-box
  • πŸ”„ 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
  • πŸ“ Flexible configuration loading:
    • URL subscriptions (base64, JSON)
    • Share links (vless://, vmess://, trojan://, ss://)
    • WireGuard config files (.conf)
    • JSON configuration files
    • Folders with configurations

Full list of features available in the documentation.

πŸš€ Quick Start

Docker

# Using Xray backend (default)
docker run -d \
  -e SUBSCRIPTION_URL=https://your-subscription-url/sub \
  -p 2112:2112 \
  kutovoys/xray-checker

# Using sing-box backend
docker run -d \
  -e BACKEND=singbox \
  -e SUBSCRIPTION_URL=https://your-subscription-url/sub \
  -p 2112:2112 \
  kutovoys/xray-checker

# With WireGuard configs
docker run -d \
  -e WIREGUARD_CONFIG=/app/wireguard \
  -v ./wireguard:/app/wireguard:ro \
  -p 2112:2112 \
  kutovoys/xray-checker

Docker Compose

services:
  proxy-checker:
    image: kutovoys/xray-checker
    environment:
      - BACKEND=xray                    # or singbox
      - SUBSCRIPTION_URL=https://your-subscription-url/sub
      - WIREGUARD_CONFIG=/app/wireguard # optional
    volumes:
      - ./wireguard:/app/wireguard:ro   # optional: WireGuard configs
    ports:
      - "2112:2112"

Configuration Options

Environment Variable Description Default
BACKEND Proxy backend: xray or singbox xray
SUBSCRIPTION_URL Subscription URL(s), comma-separated -
WIREGUARD_CONFIG WireGuard config path(s), comma-separated -
PROXY_CHECK_INTERVAL Check interval in seconds 300
PROXY_CHECK_METHOD Check method: ip, status, download ip
METRICS_PROTECTED Enable basic auth false

See .env.example for all configuration options.

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.

About

SingBox Checker: A Prometheus exporter for monitoring Xray proxies

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 63.6%
  • HTML 35.4%
  • Other 1.0%