XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
24.68k stars 3.86k forks source link

Looking for subscription solution for Xray #1845

Closed arashammm closed 5 months ago

arashammm commented 1 year ago

I'm looking for a subscription system to add mutliple xray servers and clients choose which server to use. Something like v2ray subscription in Clash App.

Can anyone guide me how to do that? Is there any code available for xray to do this job?

xqzr commented 1 year ago

https://t.me/projectXray/1707345

arashammm commented 1 year ago

xray -c config.json -c https://********.xyz/out.json 入站由本地(自己)定义;出站由远端(机场)定义

i'm sorry but I didn't quite get that. How xray core has subsptiption function?

can you explain more?

iran-free-net commented 1 year ago

For subscription purpose you should write your own it's not so complicated, just find how you able to create share link (I mean something like vless://uuiduuid-uuid-uuid-uuid-uuiduuiduuid:port@...) and put it somewhere in your web server and let your users fetch in type of simple text format. also remember to for some clients you just able to use only basecode 64 format and others in simple format

arashammm commented 1 year ago

For subscription purpose you should write your own it's not so complicated, just find how you able to create share link (I mean something like vless://uuiduuid-uuid-uuid-uuid-uuiduuiduuid:port@...) and put it somewhere in your web server and let your users fetch in type of simple text format. also remember to for some clients you just able to use only basecode 64 format and others in simple format

yes I'm aware of writing a python or bash code to serve the file to clients. but My question is what format should the dynamic link be provided to clients? I mean in gui apps like FairVPN, Oneclick, V2rayN etc...

us254 commented 1 year ago

https://t.me/xenstarp/15099

https://t.me/xenstarp/15879