Change Project Name

This commit is contained in:
Whispering Wind
2025-04-18 13:28:34 +03:30
committed by GitHub
parent f7b45baef0
commit e91825ca2c
10 changed files with 27 additions and 22 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"githubPullRequests.ignoredPullRequestBranches": [
"main"
]
}

View File

@ -1,14 +1,14 @@
# Contributing to Hysteria2 Panel # Contributing to Blitz Panel
Thank you for your interest in contributing to Hysteria2 Panel! We appreciate your help in making this project better. Thank you for your interest in contributing to Blitz Panel! We appreciate your help in making this project better.
## Getting Started ## Getting Started
1. **Fork the repository** on GitHub 1. **Fork the repository** on GitHub
2. **Clone your fork** locally 2. **Clone your fork** locally
``` ```
git clone https://github.com/ReturnFI/Hysteria2.git git clone https://github.com/ReturnFI/Blitz.git
cd Hysteria2 cd Blitz
``` ```
3. **Create a new branch** for your feature or bugfix 3. **Create a new branch** for your feature or bugfix
``` ```
@ -48,7 +48,7 @@ Thank you for your interest in contributing to Hysteria2 Panel! We appreciate yo
If you find a bug or have a suggestion for improvement: If you find a bug or have a suggestion for improvement:
1. Check the [Issues](https://github.com/ReturnFI/Hysteria2/issues) page to see if it has already been reported 1. Check the [Issues](https://github.com/ReturnFI/Blitz/issues) page to see if it has already been reported
2. If not, create a new issue with: 2. If not, create a new issue with:
- A clear title - A clear title
- A detailed description - A detailed description
@ -61,10 +61,10 @@ Please do not report security vulnerabilities through public GitHub issues. Inst
## Release Process ## Release Process
We only support the latest release of Hysteria2 Panel. All contributions will be incorporated into the next release. We only support the latest release of Blitz Panel. All contributions will be incorporated into the next release.
## Questions? ## Questions?
If you have any questions about contributing, please contact us at ReturnFI@proton.me. If you have any questions about contributing, please contact us at ReturnFI@proton.me.
Thank you for contributing to Hysteria2 Panel! Thank you for contributing to Blitz Panel!

View File

@ -4,7 +4,7 @@
[![Docs](https://img.shields.io/badge/Docs-Read%20Now-FFA500?logo=bookstack&logoColor=white)](https://returnfi.github.io/Hys2-docs/) [![Docs](https://img.shields.io/badge/Docs-Read%20Now-FFA500?logo=bookstack&logoColor=white)](https://returnfi.github.io/Hys2-docs/)
[![Lang_Eglish](https://img.shields.io/badge/Language-English-009688?logo=google-translate&logoColor=white)](README.md) [![Lang_Eglish](https://img.shields.io/badge/Language-English-009688?logo=google-translate&logoColor=white)](README.md)
[![Latest Release](https://img.shields.io/badge/Release-Latest-brightgreen?logo=github)](https://github.com/ReturnFI/Hysteria2/releases) [![Latest Release](https://img.shields.io/badge/Release-Latest-brightgreen?logo=github)](https://github.com/ReturnFI/Blitz/releases)
[![License](https://img.shields.io/badge/License-GPL-blueviolet?logo=open-source-initiative&logoColor=white)](LICENSE) [![License](https://img.shields.io/badge/License-GPL-blueviolet?logo=open-source-initiative&logoColor=white)](LICENSE)
[![Made with ❤️](https://img.shields.io/badge/Made%20with-%E2%9D%A4-red)](#) [![Made with ❤️](https://img.shields.io/badge/Made%20with-%E2%9D%A4-red)](#)
@ -47,7 +47,7 @@
### نصب با یک کلیک ### نصب با یک کلیک
```bash ```bash
bash <(curl https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/install.sh) bash <(curl https://raw.githubusercontent.com/ReturnFI/Blitz/main/install.sh)
``` ```
پس از نصب، از دستور `hys2` برای اجرای پنل مدیریت استفاده کنید. پس از نصب، از دستور `hys2` برای اجرای پنل مدیریت استفاده کنید.
@ -55,7 +55,7 @@ bash <(curl https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/install.sh
### به‌روزرسانی به آخرین نسخه ### به‌روزرسانی به آخرین نسخه
```bash ```bash
bash <(curl https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/upgrade.sh) bash <(curl https://raw.githubusercontent.com/ReturnFI/Blitz/main/upgrade.sh)
``` ```
--- ---
@ -64,7 +64,7 @@ bash <(curl https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/upgrade.sh
برای اطلاعات بیشتر و نحوه استفاده پیشرفته، به مستندات مراجعه کنید: برای اطلاعات بیشتر و نحوه استفاده پیشرفته، به مستندات مراجعه کنید:
[مستندات Hysteria2](https://returnfi.github.io/Hys2-docs/) [مستندات Blitz](https://returnfi.github.io/Hys2-docs/)
--- ---

View File

@ -6,8 +6,8 @@ import requests
from pathlib import Path from pathlib import Path
LOCALVERSION = "/etc/hysteria/VERSION" LOCALVERSION = "/etc/hysteria/VERSION"
LATESTVERSION = "https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/VERSION" LATESTVERSION = "https://raw.githubusercontent.com/ReturnFI/Blitz/main/VERSION"
LASTESTCHANGE = "https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/changelog" LASTESTCHANGE = "https://raw.githubusercontent.com/ReturnFI/Blitz/main/changelog"
def version_greater_equal(version1, version2): def version_greater_equal(version1, version2):
version1_parts = [int(part) for part in version1.strip().split('.')] version1_parts = [int(part) for part in version1.strip().split('.')]

View File

@ -9,8 +9,8 @@ NORMALSUB_ENV="/etc/hysteria/core/scripts/normalsub/.env"
WEBPANEL_ENV="/etc/hysteria/core/scripts/webpanel/.env" WEBPANEL_ENV="/etc/hysteria/core/scripts/webpanel/.env"
ONLINE_API_URL="http://127.0.0.1:25413/online" ONLINE_API_URL="http://127.0.0.1:25413/online"
LOCALVERSION="/etc/hysteria/VERSION" LOCALVERSION="/etc/hysteria/VERSION"
LATESTVERSION="https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/VERSION" LATESTVERSION="https://raw.githubusercontent.com/ReturnFI/Blitz/main/VERSION"
LASTESTCHANGE="https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/changelog" LASTESTCHANGE="https://raw.githubusercontent.com/ReturnFI/Blitz/main/changelog"
CONNECTIONS_FILE="/etc/hysteria/hysteria_connections.json" CONNECTIONS_FILE="/etc/hysteria/hysteria_connections.json"
BLOCK_LIST="/tmp/hysteria_blocked_ips.txt" BLOCK_LIST="/tmp/hysteria_blocked_ips.txt"
SCRIPT_PATH="/etc/hysteria/core/scripts/hysteria2/limit.sh" SCRIPT_PATH="/etc/hysteria/core/scripts/hysteria2/limit.sh"

View File

@ -30,7 +30,7 @@ def create_app() -> FastAPI:
description='Webpanel for Hysteria', description='Webpanel for Hysteria',
version='0.1.0', version='0.1.0',
contact={ contact={
'github': 'https://github.com/ReturnFI/Hysteria2' 'github': 'https://github.com/ReturnFI/Blitz'
}, },
debug=CONFIGS.DEBUG, debug=CONFIGS.DEBUG,
root_path=f'/{CONFIGS.ROOT_PATH}', root_path=f'/{CONFIGS.ROOT_PATH}',

View File

@ -120,7 +120,7 @@
<footer class="main-footer"> <footer class="main-footer">
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<div> <div>
<a href="https://github.com/ReturnFI/Hysteria2" target="_blank" class="text-decoration-none"> <a href="https://github.com/ReturnFI/Blitz" target="_blank" class="text-decoration-none">
<span class="badge badge-secondary" style="font-size: 0.9rem;"> <span class="badge badge-secondary" style="font-size: 0.9rem;">
<i class="fab fa-github"></i> GitHub <i class="fab fa-github"></i> GitHub
</span> </span>
@ -130,7 +130,7 @@
<i class="fab fa-telegram"></i> Telegram <i class="fab fa-telegram"></i> Telegram
</span> </span>
</a> </a>
<a href="https://github.com/ReturnFI/Hysteria2/releases" target="_blank" class="text-decoration-none ml-2 mr-2"> <a href="https://github.com/ReturnFI/Blitz/releases" target="_blank" class="text-decoration-none ml-2 mr-2">
<span class="badge badge-success" style="font-size: 0.9rem;"> <span class="badge badge-success" style="font-size: 0.9rem;">
<i class="fas fa-code-branch"></i> <span id="panel-version"></span> <i class="fas fa-code-branch"></i> <span id="panel-version"></span>
</span> </span>

View File

@ -53,7 +53,7 @@ else
echo "All required packages are already installed." echo "All required packages are already installed."
fi fi
git clone https://github.com/ReturnFI/Hysteria2 /etc/hysteria git clone https://github.com/ReturnFI/Blitz /etc/hysteria
cd /etc/hysteria cd /etc/hysteria
python3 -m venv hysteria2_venv python3 -m venv hysteria2_venv

View File

@ -376,7 +376,7 @@ edit_ips() {
} }
hysteria_upgrade(){ hysteria_upgrade(){
bash <(curl https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/upgrade.sh) bash <(curl https://raw.githubusercontent.com/ReturnFI/Blitz/main/upgrade.sh)
} }
warp_configure_handler() { warp_configure_handler() {

View File

@ -51,8 +51,8 @@ done
echo "Removing /etc/hysteria directory" echo "Removing /etc/hysteria directory"
rm -rf /etc/hysteria/ rm -rf /etc/hysteria/
echo "Cloning Hysteria2 repository" echo "Cloning Blitz repository"
git clone https://github.com/ReturnFI/Hysteria2 /etc/hysteria git clone https://github.com/ReturnFI/Blitz /etc/hysteria
echo "Downloading geosite.dat and geoip.dat" echo "Downloading geosite.dat and geoip.dat"
wget -O /etc/hysteria/geosite.dat https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat >/dev/null 2>&1 wget -O /etc/hysteria/geosite.dat https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/release/geosite.dat >/dev/null 2>&1