diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a490b61 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ] +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8ae690b..3f3bf01 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 1. **Fork the repository** on GitHub 2. **Clone your fork** locally ``` - git clone https://github.com/ReturnFI/Hysteria2.git - cd Hysteria2 + git clone https://github.com/ReturnFI/Blitz.git + cd Blitz ``` 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: -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: - A clear title - A detailed description @@ -61,10 +61,10 @@ Please do not report security vulnerabilities through public GitHub issues. Inst ## 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? 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! diff --git a/README-fa.md b/README-fa.md index c3fb3b3..d8c72ed 100644 --- a/README-fa.md +++ b/README-fa.md @@ -4,7 +4,7 @@ [![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) -[![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) [![Made with ❤️](https://img.shields.io/badge/Made%20with-%E2%9D%A4-red)](#) @@ -47,7 +47,7 @@ ### نصب با یک کلیک ```bash -bash <(curl https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/install.sh) +bash <(curl https://raw.githubusercontent.com/ReturnFI/Blitz/main/install.sh) ``` پس از نصب، از دستور `hys2` برای اجرای پنل مدیریت استفاده کنید. @@ -55,7 +55,7 @@ bash <(curl https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/install.sh ### به‌روزرسانی به آخرین نسخه ```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/) --- diff --git a/core/scripts/hysteria2/version.py b/core/scripts/hysteria2/version.py index dafe699..b17cc02 100644 --- a/core/scripts/hysteria2/version.py +++ b/core/scripts/hysteria2/version.py @@ -6,8 +6,8 @@ import requests from pathlib import Path LOCALVERSION = "/etc/hysteria/VERSION" -LATESTVERSION = "https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/VERSION" -LASTESTCHANGE = "https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/changelog" +LATESTVERSION = "https://raw.githubusercontent.com/ReturnFI/Blitz/main/VERSION" +LASTESTCHANGE = "https://raw.githubusercontent.com/ReturnFI/Blitz/main/changelog" def version_greater_equal(version1, version2): version1_parts = [int(part) for part in version1.strip().split('.')] diff --git a/core/scripts/path.sh b/core/scripts/path.sh index f1226b3..4ded0fb 100644 --- a/core/scripts/path.sh +++ b/core/scripts/path.sh @@ -9,8 +9,8 @@ NORMALSUB_ENV="/etc/hysteria/core/scripts/normalsub/.env" WEBPANEL_ENV="/etc/hysteria/core/scripts/webpanel/.env" ONLINE_API_URL="http://127.0.0.1:25413/online" LOCALVERSION="/etc/hysteria/VERSION" -LATESTVERSION="https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/VERSION" -LASTESTCHANGE="https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/changelog" +LATESTVERSION="https://raw.githubusercontent.com/ReturnFI/Blitz/main/VERSION" +LASTESTCHANGE="https://raw.githubusercontent.com/ReturnFI/Blitz/main/changelog" CONNECTIONS_FILE="/etc/hysteria/hysteria_connections.json" BLOCK_LIST="/tmp/hysteria_blocked_ips.txt" SCRIPT_PATH="/etc/hysteria/core/scripts/hysteria2/limit.sh" \ No newline at end of file diff --git a/core/scripts/webpanel/app.py b/core/scripts/webpanel/app.py index 3458831..0ac88ef 100644 --- a/core/scripts/webpanel/app.py +++ b/core/scripts/webpanel/app.py @@ -30,7 +30,7 @@ def create_app() -> FastAPI: description='Webpanel for Hysteria', version='0.1.0', contact={ - 'github': 'https://github.com/ReturnFI/Hysteria2' + 'github': 'https://github.com/ReturnFI/Blitz' }, debug=CONFIGS.DEBUG, root_path=f'/{CONFIGS.ROOT_PATH}', diff --git a/core/scripts/webpanel/templates/base.html b/core/scripts/webpanel/templates/base.html index 273531b..e9d1828 100644 --- a/core/scripts/webpanel/templates/base.html +++ b/core/scripts/webpanel/templates/base.html @@ -120,7 +120,7 @@