chore: switch repository links to gitea

This commit is contained in:
kone
2026-06-04 01:21:54 +08:00
parent a1b75400a6
commit 4d8f06cbf1
32 changed files with 194 additions and 179 deletions
+10 -10
View File
@@ -146,7 +146,7 @@ Nginx drops headers containing underscores by default (e.g. `session_id`), which
### Method 1: Script Installation (Recommended)
One-click installation script that downloads pre-built binaries from GitHub Releases.
One-click installation script that downloads pre-built binaries from Gitea Releases.
#### Prerequisites
@@ -158,7 +158,7 @@ One-click installation script that downloads pre-built binaries from GitHub Rele
#### Installation Steps
```bash
curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash
curl -sSL http://git.jianshixingqiu.com/kgod/sub2api/raw/branch/main/deploy/install.sh | sudo bash
```
The script will:
@@ -208,7 +208,7 @@ sudo journalctl -u sub2api -f
sudo systemctl restart sub2api
# Uninstall
curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash -s -- uninstall -y
curl -sSL http://git.jianshixingqiu.com/kgod/sub2api/raw/branch/main/deploy/install.sh | sudo bash -s -- uninstall -y
```
---
@@ -231,7 +231,7 @@ Use the automated deployment script for easy setup:
mkdir -p sub2api-deploy && cd sub2api-deploy
# Download and run deployment preparation script
curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/docker-deploy.sh | bash
curl -sSL http://git.jianshixingqiu.com/kgod/sub2api/raw/branch/main/deploy/docker-deploy.sh | bash
# Start services
docker compose up -d
@@ -253,7 +253,7 @@ If you prefer manual setup:
```bash
# 1. Clone the repository
git clone https://github.com/Wei-Shaw/sub2api.git
git clone http://git.jianshixingqiu.com/kgod/sub2api.git
cd sub2api/deploy
# 2. Copy environment configuration
@@ -392,7 +392,7 @@ Build and run from source code for development or customization.
```bash
# 1. Clone the repository
git clone https://github.com/Wei-Shaw/sub2api.git
git clone http://git.jianshixingqiu.com/kgod/sub2api.git
cd sub2api
# 2. Install pnpm (if not already installed)
@@ -618,11 +618,11 @@ sub2api/
## Star History
<a href="https://star-history.com/#Wei-Shaw/sub2api&Date">
<a href="https://star-history.com/#kgod/sub2api&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Wei-Shaw/sub2api&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Wei-Shaw/sub2api&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Wei-Shaw/sub2api&type=Date" />
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kgod/sub2api&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kgod/sub2api&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=kgod/sub2api&type=Date" />
</picture>
</a>