alireza0 / s-ui

An advanced Web Panel • Built for SagerNet/Sing-Box
https://t.me/XrayUI
GNU General Public License v3.0
2.15k stars 307 forks source link

openwrt openclash #90

Closed winada82 closed 1 week ago

winada82 commented 3 months ago

Hello dear author, I have found that the subscription address of s-ui cannot be used in openwrt rush

alireza0 commented 3 months ago

Hello @winada82 , I don't know about your setup of openWRT. The subscription is an standard way to send the configuration via http[s].

winada82 commented 3 months ago

谢谢,我已经可以正确的使用了

leic4u commented 1 month ago

The subscriptions provided in s-ui are encoded with base64.

Your client must do support base64 format.

Or you can make a convert with a subconverter.

alireza0 commented 1 month ago

@leic4u @winada82 In subscription configuration tab of pannel settings, you can disable the encoding

leic4u commented 1 month ago

@leic4u @winada82 In subscription configuration tab of pannel settings, you can disable the encoding

Oh, I see. I just realized that this button is for base64 encoding.

Hello dear author, I have found that the subscription address of s-ui cannot be used in openwrt rush

And we can use the s-ui subscription (both URI and base64) with proxy-provider in mihomo.

You can see it in docs of mihomo.

the config is like this:

proxy-providers:
  provider1:
    type: http 
    url: "https://suipanel.org/sub/abcdefg"
    interval: 3600
    path: ./provider1.yaml
    health-check:
      enable: true
      url: https://cp.cloudflare.com/generate_204
      interval: 300
alireza0 commented 1 week ago

Json-Sub will provide sing-box json config for client. If it is not sufficient, please open a new issue. Thanks