Added support for ShadowRocket, closes #82

This commit is contained in:
Peng-YM 2022-05-02 11:07:38 +08:00
parent a242fc19df
commit 5035712261
3 changed files with 23 additions and 10 deletions

View File

@ -7,21 +7,25 @@
</div>
<p align="center" color="#6a737d">
Advanced Subscription Manager for QX, Loon, Surge, Stash and Clash.
Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.
</p>
<div align="center">
[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com) [![forthebadge](http://forthebadge.com/images/badges/uses-js.svg)](http://forthebadge.com) [![forthebadge](http://forthebadge.com/images/badges/makes-people-smile.svg)](http://forthebadge.com)
</div>
Core functionalities:
1. Conversion among various formats.
2. Subscription formatting.
3. Collect multiple subscriptions in one URL.
## 1. Subscription Conversion
## 1. Subscription Conversion
### Supported Input Formats
- [x] SS URI
- [x] SSR URI
- [x] SSD URI
@ -32,13 +36,17 @@ Core functionalities:
- [x] Stash & Clash (SS, SSR, VMess, Trojan, HTTP)
### Supported Target Platforms
- [x] QX
- [x] Loon
- [x] Surge
- [x] Stash & Clash
- [x] ShadowRocket
## 2. Subscription Formatting
### Filtering
- [x] **Regex filter**
- [x] **Discard regex filter**
- [x] **Region filter**
@ -47,6 +55,7 @@ Core functionalities:
- [x] **Script filter**
### Proxy Operations
- [x] **Set property operator**: set some proxy properties such as `udp`,`tfo`, `skip-cert-verify` etc.
- [x] **Flag operator**: add flags or remove flags for proxies.
- [x] **Sort operator**: sort proxies by name.
@ -56,7 +65,9 @@ Core functionalities:
- [x] **Script operator**: modify proxy by script.
### Development
Go to `backend` and `web` directories, install node dependencies:
```
npm install
```
@ -68,16 +79,18 @@ node sub-store.js
```
2. In`web`, start the vue-cli server
```
npm start
```
```
npm start
```
## LICENSE
This project is under the GPL V3 LICENSE.
This project is under the GPL V3 LICENSE.
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FPeng-YM%2FSub-Store.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FPeng-YM%2FSub-Store?ref=badge_large)
## Acknowledgements
- Special thanks to @KOP-XIAO for his awesome resource-parser. Please give a [star](https://github.com/KOP-XIAO/QuantumultX) for his great work!
- Speicial thanks to @Orz-3 and @58xinian for their awesome icons.

View File

@ -889,7 +889,7 @@ function service() {
return "Surge";
} else if (UA.indexOf("Decar") !== -1 || UA.indexOf("Loon") !== -1) {
return "Loon";
} else if (UA.indexOf("Stash") !== -1) {
} else if (UA.indexOf("Stash") !== -1 || UA.indexOf("Shadowrocket") !== -1) {
return "Clash";
} else {
return null;

File diff suppressed because one or more lines are too long