Available client app management
In modules/servers/V2RaySocks/lib there is a file app.json which defines the client displayed to the user
If you need to add a new client to display to the user, or you want to reorder, you can modify this file, here is an example snippet
{
"sing_box": {
"app": "sing_box",
"appname": "sing-box",
"img_link": "https://v2raysocks.com/applogo/sing_box.png",
"download_link": "https://v2raysocks.com/downloadapp?appname=sing_box",
"operating_system": "Android, iOS, macOS, Windows, Linux",
"import_link_prefix": "sing-box://import-remote-profile?url=",
"import_link_method": "urlencode",
"enable": true
}
}
| Key | Value |
|---|---|
| app | app, it is recommended to write it in lowercase. |
| appname | The name of the app displayed to the user |
| img_link | Logo link of the app |
| download_link | Download link of the app |
| operating_system | Available systems for the app |
| import_link_prefix | One-click import prefix |
| import_link_method | Method for one-click imported link |
| enable | Whether it is available, true or false |
If you add a new client subscription, you must add the corresponding file for the generated subscription in modules/servers/V2RaySocks/subscribe, or point to an existing file
You can use the resources provided by V2RaySocks, or you can host it yourself
https://v2raysocks.com/downloadapp?appname=
For example
https://v2raysocks.com/downloadapp?appname=sing_box
This link can search for the most similar resources in the V2RaySocks resources and download them to the user, it is automatic and can identify the user's system
https://download.v2raysocks.com/?repo=
For example
https://download.v2raysocks.com/?repo=LorenEteval/Furious
This link can display the release file list of a library from the V2RaySocks resources and provide it to the user for download