SingBox Config Generator + API

Генератор конфига для sing-box

Генерация конфигурации...

Проверка статуса API...

API Endpoints

POST /api/generate-config

Описание: Генерирует конфигурацию sing-box на основе переданных параметров.

Формат запроса

Content-Type: application/json

{
  "routerIp": "192.168.1.1",
  "proxyLinks": [
    "vless://uuid@server:port?encryption=none&security=tls&sni=example.com&type=ws&path=/path#name",
    "ss://method:password@server:port#name",
    "vmess://base64encodedconfig",
    "trojan://password@server:port?sni=example.com#name",
    "tuic://uuid:password@server:port#name"
  ]
}

Формат ответа

{
  "success": true,
  "config": {
    "experimental": {
      "cache_file": { "enabled": true },
      "clash_api": {
        "external_controller": "192.168.1.1:9090",
        "external_ui": "ui",
        "access_control_allow_private_network": true
      }
    },
    "log": { "level": "debug" },
    "inbounds": [...],
    "outbounds": [...],
    "route": { "auto_detect_interface": false }
  },
  "warnings": [],
  "timestamp": "2024-01-01T12:00:00.000Z"
}