From 7ebde9cff413c6f5571ea2473de4199cc15947f9 Mon Sep 17 00:00:00 2001 From: Maintainer Date: Wed, 14 Oct 2026 17:39:08 +0700 Subject: [PATCH] docs: make clone commands copy-ready --- README.md | 5 ++--- README.ru.md | 8 +++----- scripts/audit-public.sh | 2 ++ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9cbb19a..3e6432f 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,12 @@ WebSocket traffic always reach `tproxy-server`. ### Quick installation on a fresh VPS Use a clean x86_64 VPS running Ubuntu or Debian. Create one direct DNS `A` -record for the proxy hostname. Copy the HTTPS clone URL from the Gitea **Code** -menu, connect to the VPS over SSH, and run: +record for the proxy hostname, connect to the VPS over SSH, and run: ```sh sudo apt update sudo apt install -y git -git clone +git clone https://gitea.sibdata.ru/dir/telegram-web-proxy-stack.git cd telegram-web-proxy-stack sudo ./quick-install.sh ``` diff --git a/README.ru.md b/README.ru.md index 40cbd95..7d1f58a 100644 --- a/README.ru.md +++ b/README.ru.md @@ -22,14 +22,12 @@ прямо на публичный IPv4 этого VPS; - открытые у провайдера сервера входящие TCP-порты `80` и `443`. -На странице проекта в Gitea нажмите **Code**, скопируйте адрес **HTTPS**, затем -подключитесь к VPS по SSH и выполните команды ниже. Вместо текста в угловых -скобках вставьте скопированный адрес: +Подключитесь к VPS по SSH и целиком скопируйте этот блок команд: ```sh sudo apt update sudo apt install -y git -git clone <АДРЕС_РЕПОЗИТОРИЯ> +git clone https://gitea.sibdata.ru/dir/telegram-web-proxy-stack.git cd telegram-web-proxy-stack sudo ./quick-install.sh ``` @@ -124,7 +122,7 @@ WEB relay Docker-хосте: ```sh -git clone +git clone https://gitea.sibdata.ru/dir/telegram-web-proxy-stack.git cd telegram-web-proxy-stack ./install.sh ``` diff --git a/scripts/audit-public.sh b/scripts/audit-public.sh index 94e0676..614c3f7 100755 --- a/scripts/audit-public.sh +++ b/scripts/audit-public.sh @@ -53,6 +53,7 @@ scan_network_literals() { domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')" case "$domain" in github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \ + gitea.sibdata.ru | \ example.com | *.example.com | *.localhost | \ *.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \ *.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;; @@ -141,6 +142,7 @@ while IFS= read -r revision; do domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')" case "$domain" in github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \ + gitea.sibdata.ru | \ example.com | *.example.com | *.localhost | \ *.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \ *.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;;