feat(install): install from the NeoTachyon Gitea repo with source fallback

Point the installer at https://git.rukavishnikoff.ru/hacker07/NeoTachyon and
support Gitea's GitHub-compatible API for releases. When the repository has
no published release yet, fall back to installing the backend and LuCI UI
directly from the branch source archive (tachyon/files, luci-app htdocs/root)
so the same one-liner installs the fork as-is. Repo can be overridden via
TACHYON_REPO_HOST / TACHYON_REPO_OWNER / TACHYON_REPO_NAME /
TACHYON_SOURCE_BRANCH / TACHYON_REPO_INSTALL_URL. README install/uninstall
commands now point to the Gitea raw URLs.
This commit is contained in:
2026-09-17 14:37:42 +03:00
parent 617107ef15
commit 4f2a7661fe
3 changed files with 136 additions and 28 deletions
+5 -2
View File
@@ -279,7 +279,7 @@ curl http://192.168.1.1/cgi-bin/tachyon-agent/openapi.json
Для установки Tachyon выполните следующую команду в SSH-консоли вашего роутера:
```bash
wget -O /tmp/tachyon-setup.sh https://raw.githubusercontent.com/Dushnilin/tachyon/main/install.sh && sh /tmp/tachyon-setup.sh
wget -O /tmp/tachyon-setup.sh https://git.rukavishnikoff.ru/hacker07/NeoTachyon/raw/branch/main/install.sh && sh /tmp/tachyon-setup.sh
```
> [!TIP]
@@ -294,6 +294,9 @@ wget -O /tmp/tachyon-setup.sh https://raw.githubusercontent.com/Dushnilin/tachyo
> # Зеркало 3 (ghfast.top):
> wget -O /tmp/tachyon-setup.sh https://ghfast.top/https://raw.githubusercontent.com/Dushnilin/tachyon/main/install.sh && sh /tmp/tachyon-setup.sh
> ```
>
> Инсталлятор скачивает готовые пакеты из релизов репозитория; если релиз ещё не
> создан — он автоматически установит NeoTachyon напрямую из исходников ветки `main`.
> [!NOTE]
> **Автоматическая миграция:** Конфигурации от **Forkop**, **Podkop Plus** и оригинального **Podkop** полностью совместимы. Инсталлятор автоматически перенесет ваши правила в `/etc/config/tachyon` без потери данных.
@@ -303,7 +306,7 @@ wget -O /tmp/tachyon-setup.sh https://raw.githubusercontent.com/Dushnilin/tachyo
Для полного и чистого удаления Tachyon с возвратом штатного DNS, очисткой правил nftables и сохранением вашей конфигурации в `/etc/config/tachyon.backup-<timestamp>`:
```bash
wget -O /tmp/tachyon-uninstall.sh https://raw.githubusercontent.com/Dushnilin/tachyon/main/uninstall.sh && sh /tmp/tachyon-uninstall.sh
wget -O /tmp/tachyon-uninstall.sh https://git.rukavishnikoff.ru/hacker07/NeoTachyon/raw/branch/main/uninstall.sh && sh /tmp/tachyon-uninstall.sh
```
*Через зеркала:*