mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
v1.0.0
This commit is contained in:
30
README.md
30
README.md
@@ -20,7 +20,7 @@ xray panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese)**
|
|||||||
| REST API | :heavy_check_mark: |
|
| REST API | :heavy_check_mark: |
|
||||||
| Telegram BOT (admin + clients) | :heavy_check_mark: |
|
| Telegram BOT (admin + clients) | :heavy_check_mark: |
|
||||||
| Backup database using Telegram BOT | :heavy_check_mark: |
|
| Backup database using Telegram BOT | :heavy_check_mark: |
|
||||||
| Subscription link | :heavy_check_mark: |
|
| Subscription link + userInfo | :heavy_check_mark: |
|
||||||
| Calculate expire date on first usage | :heavy_check_mark: |
|
| Calculate expire date on first usage | :heavy_check_mark: |
|
||||||
|
|
||||||
**If you think this project is helpful to you, you may wish to give a** :star2:
|
**If you think this project is helpful to you, you may wish to give a** :star2:
|
||||||
@@ -46,19 +46,19 @@ xray panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese)**
|
|||||||
- `/login` with `PUSH` user data: `{username: '', password: ''}` for login
|
- `/login` with `PUSH` user data: `{username: '', password: ''}` for login
|
||||||
- `/xui/API/inbounds` base for following actions:
|
- `/xui/API/inbounds` base for following actions:
|
||||||
|
|
||||||
| Method | Path | Action |
|
| Method | Path | Action |
|
||||||
| ------ | -------------------------------- | ------------------------------------------- |
|
| :----: | --------------------------------- | ------------------------------------------- |
|
||||||
| GET | "/" | Get all inbounds |
|
| `GET` | `"/"` | Get all inbounds |
|
||||||
| GET | "/get/:id" | Get inbound with inbound.id |
|
| `GET` | `"/get/:id"` | Get inbound with inbound.id |
|
||||||
| POST | "/add" | Add inbound |
|
| `POST` | `"/add"` | Add inbound |
|
||||||
| POST | "/del/:id" | Delete Inbound |
|
| `POST` | `"/del/:id"` | Delete Inbound |
|
||||||
| POST | "/update/:id" | Update Inbound |
|
| `POST` | `"/update/:id"` | Update Inbound |
|
||||||
| POST | "/addClient/" | Add Client to inbound |
|
| `POST` | `"/addClient/"` | Add Client to inbound |
|
||||||
| POST | "/delClient/:email" | Delete Client |
|
| `POST` | `"/delClient/:email"` | Delete Client |
|
||||||
| POST | "/updateClient/:index" | Update Client |
|
| `POST` | `"/updateClient/:index"` | Update Client |
|
||||||
| POST | "/:id/resetClientTraffic/:email" | Reset Client's Traffic |
|
| `POST` | `"/:id/resetClientTraffic/:email"` | Reset Client's Traffic |
|
||||||
| POST | "/resetAllTraffics" | Reset traffics of all inbounds |
|
| `POST` | `"/resetAllTraffics"` | Reset traffics of all inbounds |
|
||||||
| POST | "/resetAllClientTraffics/:id" | Reset traffics of all clients in an inbound |
|
| `POST` | `"/resetAllClientTraffics/:id"` | Reset traffics of all clients in an inbound |
|
||||||
|
|
||||||
# Environment Variables
|
# Environment Variables
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ xray panel supporting multi-protocol, **Multi-lang (English,Farsi,Chinese)**
|
|||||||
|
|
||||||
- CentOS 8+
|
- CentOS 8+
|
||||||
- Ubuntu 20+
|
- Ubuntu 20+
|
||||||
- Debian 8+
|
- Debian 10+
|
||||||
- Fedora 36+
|
- Fedora 36+
|
||||||
|
|
||||||
# Install & Upgrade to latest version
|
# Install & Upgrade to latest version
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.0.0_beta1
|
1.0.0
|
||||||
@@ -61,8 +61,8 @@ elif [[ "${release}" == "fedora" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
elif [[ "${release}" == "debian" ]]; then
|
elif [[ "${release}" == "debian" ]]; then
|
||||||
if [[ ${os_version} -lt 8 ]]; then
|
if [[ ${os_version} -lt 10 ]]; then
|
||||||
echo -e "${red} Please use Debian 8 or higher ${plain}\n" && exit 1
|
echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo -e "${red}Failed to check the OS version, please contact the author!${plain}" && exit 1
|
echo -e "${red}Failed to check the OS version, please contact the author!${plain}" && exit 1
|
||||||
|
|||||||
4
x-ui.sh
4
x-ui.sh
@@ -53,8 +53,8 @@ elif [[ "${release}" == "fedora" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
elif [[ "${release}" == "debian" ]]; then
|
elif [[ "${release}" == "debian" ]]; then
|
||||||
if [[ ${os_version} -lt 8 ]]; then
|
if [[ ${os_version} -lt 10 ]]; then
|
||||||
echo -e "${red} Please use Debian 8 or higher ${plain}\n" && exit 1
|
echo -e "${red} Please use Debian 10 or higher ${plain}\n" && exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user