What problem does it solve?
Installing or updating LingTai TUI/portal releases from mainland China often fails because GitHub, proxy.golang.org, and pypi.org are unreachable or unreliable. This Skill documents how install.sh routes around those failures using domestic mirrors and provider selection.
Core Features & Use Cases
- Automatic mirror configuration: When the Go proxy probe fails, install.sh exports GOPROXY (goproxy.cn), GOSUMDB (sum.golang.google.cn), and NPM_CONFIG_REGISTRY (registry.npmmirror.com).
- Release provider selection:
--source auto|github|gitee (or LINGTAI_SOURCE) picks where release archives and the pinned kernel bundle come from, with fail-open fallback to GitHub for the same tag.
- Single Python dependency index: Selects exactly one index — LINGTAI_PYPI_INDEX_URL if set, Tsinghua TUNA for Gitee provider, or pypi.org for GitHub — while LingTai itself always installs from the checksum-verified local artifact.
- Use Case: An engineer on an Aliyun host runs the TUI updater and the upgrade fails fetching third-party Python packages from pypi.org; this Skill explains that the Gitee route switches the dependency index to the Tsinghua TUNA mirror and how to override it with LINGTAI_PYPI_INDEX_URL.
Quick Start
Ask the agent to diagnose a failed LingTai install from mainland China and configure the appropriate Go, npm, and PyPI mirrors before retrying.