Zapret KVN для Windows — VPN-клиент с Xray-core, sing-box и Zapret, выборочной маршрутизацией и поддержкой VLESS, WireGuard и других протоколов. https://t.me/zapretvpns_bot
  • Python 79.4%
  • Lua 17%
  • Go 2.5%
  • PowerShell 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-24 02:09:01 +03:00
.github/workflows вапвап 2026-03-18 22:30:11 +03:00
xray_fluent Update singbox_config_builder.py 2026-03-24 02:09:01 +03:00
zapret Через VPN (proxy): YouTube, Discord, Instagram, Facebook, Twitter, Telegram, Twitch, SoundCloud, NTC.party, RuTracker, Rutor, Amazon/Cloudflare/Epic, Claude AI, WhatsApp, Speedtest, Roblox 2026-03-23 18:11:43 +03:00
.gitattributes вапвап 2026-03-18 21:57:01 +03:00
.gitignore режим тун теперь на главной редакритуерся 2026-03-21 15:37:08 +03:00
AGENTS.md feat: TUN VPN mode via tun2socks, UI improvements, settings overhaul 2026-03-15 23:01:50 +03:00
build.py повторили v2rayn 2026-03-24 01:55:12 +03:00
CLAUDE.md fix: TUN stability, IPv6 blackhole, status notifications, data preservation 2026-03-15 23:36:24 +03:00
main.py модуль запрета 2026-03-19 00:30:27 +03:00
README.md fix: TUN stability, IPv6 blackhole, status notifications, data preservation 2026-03-15 23:36:24 +03:00
requirements.txt feat: TUN VPN mode via tun2socks, UI improvements, settings overhaul 2026-03-15 23:01:50 +03:00
setup.bat feat: TUN VPN mode via tun2socks, UI improvements, settings overhaul 2026-03-15 23:01:50 +03:00
uac_admin.manifest вапвап 2026-03-18 21:57:01 +03:00

Xray Fluent GUI (PyQt6 + Fluent Widgets)

Windows-focused GUI shell for xray.exe with a Windows 11-like Fluent interface.

What is included in this MVP

  • Fast node import from clipboard (vless://, vmess://, trojan://, ss://, socks://, http://, raw outbound JSON)
  • Quick switch between nodes (Dashboard + system tray)
  • Start/stop Xray core directly (core/xray.exe)
  • System proxy mode (HTTP + SOCKS loopback)
  • Routing modes: Global, Rule, Direct
  • Basic routing editor (direct/proxy/block lists)
  • TCP ping for nodes
  • Real connectivity test through Xray proxy
  • Live mini-metrics on Dashboard (download/upload rate + RTT)
  • Export selected outbound JSON and full runtime xray_config.json
  • Runtime logs, diagnostics export (ZIP with redacted config)
  • Separate Xray core updater with channels (stable, beta, nightly)
  • DPAPI-encrypted local state storage
  • Master password + auto-lock
  • Light / dark / system theme and accent color

Project layout

  • main.py - app entrypoint
  • xray_fluent/app_controller.py - app orchestration
  • xray_fluent/link_parser.py - URI parser
  • xray_fluent/config_builder.py - Xray config generator
  • xray_fluent/xray_manager.py - process lifecycle
  • xray_fluent/proxy_manager.py - Windows system proxy
  • xray_fluent/ui/ - all Fluent UI pages
  • core/ - Xray core binaries

Requirements

  • Windows 10/11 x64
  • Python 3.13

Install deps:

python -m pip install -r requirements.txt

If qfluentwidgets is not in your Python env, install it explicitly:

python -m pip install PyQt6-Fluent-Widgets

Run

python main.py

Start minimized to tray:

python main.py --minimized

Build portable EXE (PyInstaller)

./build_portable.ps1

Output:

  • dist/XrayFluent/ - portable folder
  • dist/XrayFluent-portable.zip - zipped portable bundle

Notes

  • No TUN mode in this version (system proxy only)
  • Subscription URLs are intentionally not implemented yet
  • App update feed and Xray core feed can be configured separately in Settings