Auto-installer for xray-checker — a monitoring tool for proxy servers (VLESS, VMess, Trojan, Shadowsocks).
bash <(curl -Ls https://raw.githubusercontent.com/UnderGut/xray-checker-installer/main/install_xray_checker.sh)After installation, use xchecker command to open the management menu.
- 🚀 Quick Install — one command, minimal questions (just subscription URL)
- ⚙️ Custom Install — full control over all settings
- 🐳 Docker — recommended, with auto-update support
- 📦 Binary — systemd service for systems without Docker
- 🔍 Auto-detection — finds existing Nginx/Caddy installations
- 🌐 Nginx in Docker — automatic setup with SSL
- 🔒 SSL Certificates:
- Cloudflare DNS-01 (supports wildcard)
- ACME HTTP-01 (Let's Encrypt)
- Gcore DNS-01
- Use existing certificates
- 🔗 Remnawave API — auto-create
XrayCheckeruser with squads - 🔐 Basic Auth — auto-generated secure credentials
- 📊 Prometheus ready — metrics endpoint
/metrics
- 🇬🇧 English
- 🇷🇺 Russian
| Requirement | Details |
|---|---|
| OS | Debian 11/12, Ubuntu 22.04/24.04 |
| Access | Root privileges |
| Docker | Auto-installed if not present |
xchecker
# or
xray_checker_installSee the screenshot above for the menu interface.
/opt/xray-checker/
├── docker-compose.yml # Docker services configuration
├── .env # All environment variables
├── nginx.conf # Nginx config (if using nginx)
├── installer.conf # Installer settings
├── install_method # "docker" or "binary"
└── selected_language # "en" or "ru"
The Manage Service menu provides:
- Start/Stop/Restart — control xray-checker service
- View Logs — see real-time container logs
- Update — pull latest Docker image
- Edit Config — modify
.envfile - View Status — check service health
| Endpoint | Auth | Description |
|---|---|---|
GET / |
Optional | Web UI dashboard |
GET /health |
No | Health check (returns OK) |
GET /metrics |
Basic Auth | Prometheus metrics |
GET /config/{id} |
Optional | Proxy status (200=OK, 503=Failed) |
GET /api/v1/proxies |
Basic Auth | Proxy list with details |
GET /api/v1/status |
Basic Auth | Statistics summary |
GET /api/v1/public/proxies |
No | Public proxy list (no sensitive data) |
Note: "Optional" means protected when
WEB_PUBLIC=false(default)
The installer can automatically create a monitoring user in Remnawave Panel:
- Select "Remnawave API" during subscription setup
- Enter Panel URL and API token
- Choose squads for the
XrayCheckeruser - Subscription URL is fetched automatically
Supports both official Remnawave installation and eGames script (with cookie authentication).
| Scenario | Action |
|---|---|
| Fresh server | Install Nginx/Caddy in Docker |
| Existing Remnawave | Add to existing nginx/caddy config |
| eGames installation | Use existing certificates and nginx |
| Own nginx/caddy | Show config block to copy |
Add to prometheus.yml:
scrape_configs:
- job_name: 'xray-checker'
static_configs:
- targets: ['your-server:2112']
basic_auth:
username: 'your-username'
password: 'your-password'- Health check:
http://your-server:2112/health - Specific proxy:
http://your-server:2112/config/{stableId}
This project would not be possible without:
| Project | Author | Description |
|---|---|---|
| xray-checker | kutovoys | The main monitoring tool this installer deploys |
| remnawave-reverse-proxy | eGames | The installation script structure and patterns used as a foundation |
| Remnawave Panel | Remnawave Team | VPN panel with subscription support |
Special thanks to eGames — the install_remnawave.sh script served as the foundation for this installer's architecture, menu system, and multi-language support.
This project is licensed under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.
Автоустановщик для xray-checker — инструмента мониторинга прокси-серверов (VLESS, VMess, Trojan, Shadowsocks).
bash <(curl -Ls https://raw.githubusercontent.com/UnderGut/xray-checker-installer/main/install_xray_checker.sh)После установки используйте команду xchecker для открытия меню управления.
- 🚀 Быстрая установка — одна команда, минимум вопросов
- ⚙️ Расширенная установка — полный контроль над настройками
- 🐳 Docker — рекомендуется, с поддержкой авто-обновления
- 📦 Binary — systemd сервис для систем без Docker
- 🔍 Автодетект — находит существующие Nginx/Caddy
- 🌐 Nginx в Docker — автоматическая настройка с SSL
- 🔒 SSL сертификаты: Cloudflare, ACME, Gcore, существующие
- 🔗 Remnawave API — авто-создание пользователя
XrayCheckerсо сквадами - 🔐 Basic Auth — авто-генерация учётных данных
- 📊 Prometheus — эндпоинт метрик
/metrics
- 🇬🇧 Английский
- 🇷🇺 Русский
| Требование | Описание |
|---|---|
| ОС | Debian 11/12, Ubuntu 22.04/24.04 |
| Доступ | Root права |
| Docker | Устанавливается автоматически |
xchecker
# или
xray_checker_installСкриншот меню показан выше.
Установщик может автоматически создать пользователя для мониторинга в панели Remnawave:
- Выберите "Remnawave API" при настройке подписки
- Введите URL панели и API токен
- Выберите сквады для пользователя
XrayChecker - URL подписки получается автоматически
Поддерживается как официальная установка Remnawave, так и скрипт eGames (с cookie-авторизацией).
| Сценарий | Действие |
|---|---|
| Чистый сервер | Установка Nginx/Caddy в Docker |
| Есть Remnawave | Добавление в существующий конфиг |
| Установка eGames | Использование существующих сертификатов |
| Свой nginx/caddy | Показ конфига для копирования |
| Проект | Автор | Описание |
|---|---|---|
| xray-checker | kutovoys | Основной инструмент мониторинга |
| remnawave-reverse-proxy | eGames | Основа для структуры установщика |
| Remnawave Panel | Remnawave Team | VPN панель с поддержкой подписок |
Особая благодарность eGames — скрипт install_remnawave.sh послужил основой для архитектуры, системы меню и мультиязычности этого установщика.
Проект лицензирован под MIT License.