diff --git a/README.md b/README.md
index 5f3f6db..8b22394 100644
--- a/README.md
+++ b/README.md
@@ -145,7 +145,7 @@ password: admin
@@ -436,7 +436,7 @@ curl -fsSL "https://hub.freedev.app/vps/install-vps.sh?v=$(date +%s)" | sudo env
```sh
-curl -fsSL "https://hub.freedev.app/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- YOUR_VPS_IP
+curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- YOUR_VPS_IP
```
@@ -482,7 +482,7 @@ Hub работает внутри на
@@ -492,7 +492,7 @@ curl -fsSL "https://hub.freedev.app/vps/enable-https.sh?v=$(date +%s)" | sudo sh
```sh
-curl -fsSL "https://hub.freedev.app/vps/enable-https.sh?v=$(date +%s)" | sudo EMAIL="you@example.com" sh -s -- hub.example.com
+curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/enable-https.sh?v=$(date +%s)" | sudo EMAIL="you@example.com" sh -s -- hub.example.com
```
@@ -719,7 +719,7 @@ sudo ss -lntp | grep -E ':(80|443|8088)'
Удалить Hub с VPS полностью
```sh
-curl -fsSL "https://hub.freedev.app/vps/uninstall-vps.sh?v=$(date +%s)" | sudo sh
+curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/uninstall-vps.sh?v=$(date +%s)" | sudo sh
```
@@ -743,7 +743,7 @@ nginx-конфиг HTTPS, certbot renewal hook и старые TLS override-фа
```sh
-curl -fsSL "https://hub.freedev.app/vps/uninstall-vps.sh?v=$(date +%s)" | sudo env PURGE=0 sh
+curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/uninstall-vps.sh?v=$(date +%s)" | sudo env PURGE=0 sh
```
@@ -753,7 +753,7 @@ curl -fsSL "https://hub.freedev.app/vps/uninstall-vps.sh?v=$(date +%s)" | sudo e
```sh
-curl -fsSL "https://hub.freedev.app/vps/uninstall-vps.sh?v=$(date +%s)" | sudo env REMOVE_XRAY=1 sh
+curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/uninstall-vps.sh?v=$(date +%s)" | sudo env REMOVE_XRAY=1 sh
```
@@ -762,7 +762,7 @@ curl -fsSL "https://hub.freedev.app/vps/uninstall-vps.sh?v=$(date +%s)" | sudo e
Удалить агент с OpenWrt полностью
```sh
-wget -O - "https://hub.freedev.app/uninstall.sh?v=$(date +%s)" | PURGE=1 sh
+wget -O - "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/uninstall.sh?v=$(date +%s)" | PURGE=1 sh
```
@@ -787,7 +787,7 @@ rpcd ACL
```sh
-wget -O - "https://hub.freedev.app/uninstall.sh?v=$(date +%s)" | sh
+wget -O - "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/uninstall.sh?v=$(date +%s)" | sh
```
diff --git a/files/usr/sbin/owrt-remote b/files/usr/sbin/owrt-remote
index a976685..28d4414 100644
--- a/files/usr/sbin/owrt-remote
+++ b/files/usr/sbin/owrt-remote
@@ -4,7 +4,7 @@ export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH:-}"
CONFIG="owrtremote"
SECTION="main"
-XRAY_RELEASE_BASE_URL="${XRAY_RELEASE_BASE_URL:-https://hub.freedev.app/xray-core/releases/latest/download}"
+XRAY_RELEASE_BASE_URL="${XRAY_RELEASE_BASE_URL:-https://github.com/XTLS/Xray-core/releases/latest/download}"
log() {
printf '%s\n' "$*" >&2
diff --git a/install.sh b/install.sh
index 996b897..479b09e 100644
--- a/install.sh
+++ b/install.sh
@@ -4,7 +4,7 @@ set -eu
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH:-}"
-RAW_URL="${RAW_URL:-https://hub.freedev.app}"
+RAW_URL="${RAW_URL:-https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main}"
ROOT="${ROOT:-/}"
SCRIPT_DIR="$(CDPATH= cd "$(dirname "$0")" 2>/dev/null && pwd)"
diff --git a/vps/enable-https.sh b/vps/enable-https.sh
index 366477c..6d3f378 100755
--- a/vps/enable-https.sh
+++ b/vps/enable-https.sh
@@ -2,7 +2,7 @@
set -u
APP_NAME="OpenWrt Remote Hub"
-RAW_BASE="${RAW_URL:-https://hub.freedev.app}"
+RAW_BASE="${RAW_URL:-https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main}"
STATE_DIR="${OWRT_REMOTE_STATE_DIR:-/var/lib/owrt-remote}"
ACME_WEBROOT="$STATE_DIR/acme-webroot"
HOSTNAME_ARG="${1:-${HTTPS_HOST:-}}"
diff --git a/vps/install-vps.sh b/vps/install-vps.sh
index 3bbe01b..6063005 100755
--- a/vps/install-vps.sh
+++ b/vps/install-vps.sh
@@ -3,8 +3,8 @@ set -u
APP_NAME="OpenWrt Remote Hub"
INSTALLER_VERSION="2026-08-17-https-bootstrap-v1"
-RAW_BASE="${RAW_URL:-https://hub.freedev.app}"
-XRAY_INSTALL_SCRIPT_URL="${XRAY_INSTALL_SCRIPT_URL:-https://hub.freedev.app/xray-install/install-release.sh}"
+RAW_BASE="${RAW_URL:-https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main}"
+XRAY_INSTALL_SCRIPT_URL="${XRAY_INSTALL_SCRIPT_URL:-https://github.com/XTLS/Xray-install/raw/main/install-release.sh}"
STATE_DIR="${OWRT_REMOTE_STATE_DIR:-/var/lib/owrt-remote}"
HUB_LOGIN="${HUB_LOGIN:-admin}"
HUB_PASSWORD="${HUB_PASSWORD:-admin}"
@@ -273,7 +273,7 @@ print_result() {
if [ "${HTTPS_OK:-0}" != "1" ]; then
info ""
info "Включить HTTPS вручную:"
- info ' curl -fsSL "https://hub.freedev.app/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- '"$host"
+ info ' curl -fsSL "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main/vps/enable-https.sh?v=$(date +%s)" | sudo sh -s -- '"$host"
fi
info "============================================================"
}
diff --git a/vps/owrt-remote-hub.py b/vps/owrt-remote-hub.py
index 15edc74..6eeaabf 100644
--- a/vps/owrt-remote-hub.py
+++ b/vps/owrt-remote-hub.py
@@ -65,7 +65,7 @@ except Exception:
APP_NAME = "OpenWrt Remote Hub"
-RAW_REPO_BASE = os.environ.get("RAW_REPO_BASE", "https://hub.freedev.app").rstrip("/")
+RAW_REPO_BASE = os.environ.get("RAW_REPO_BASE", "https://raw.githubusercontent.com/kzolotarev95/luci-app-owrt-remote/main").rstrip("/")
APP_DIR = Path(__file__).resolve().parent
STATIC_DIR = APP_DIR / "static"
BRAND_THEME_COLOR = "#24192f"
@@ -4279,7 +4279,7 @@ def vps_terminal_commands(host):
return [
{
"title": "Обновить Hub",
- "note": "Свежий hub.py с hub.freedev.app; обновление уходит в отдельный systemd-run",
+ "note": "Свежий hub.py из GitHub; обновление уходит в отдельный systemd-run",
"command": f'u=owrt-remote-selfupdate-$(date +%s); systemd-run --unit=\"$u\" --collect /bin/sh -lc \'v=$(date +%s); curl -fsSL -o /opt/owrt-remote/owrt-remote-hub.py \"{RAW_REPO_BASE}/vps/owrt-remote-hub.py?v=$v\" && chmod +x /opt/owrt-remote/owrt-remote-hub.py && systemctl restart owrt-remote\' && echo \"$u started; reopen VPS terminal in 3-5 sec\"',
},
{
@@ -4857,7 +4857,7 @@ input,select{{min-width:0;border:1px solid var(--line);border-radius:8px;padding