rmtt / shadowray Goto Github PK
View Code? Open in Web Editor NEWAn useful client of v2ray for linux.You can download from https://pypi.org/project/shadowray
License: MIT License
An useful client of v2ray for linux.You can download from https://pypi.org/project/shadowray
License: MIT License
Hello, I really like this project. She solves my big problem with v2ray subscriptions.
However, a subscription often contains many hosts, so it will be better to provide a feature to find out the faster host by tcpping delay testing. With this feature, users can select the best host to connect and this is really useful.
I hope to get your support.
Hi,
I use Debian 9 and installed the shadowray as follows:
$ pip install shadowray
Then do some config:
$ shadowray --autoconfig
$ shadowray --subscribe-add 'kitsunebi_sub,https://raw.githubusercontent.com/eycorsican/rule-sets/master/kitsunebi_sub'
$ shadowray --subscribe-add 'youlianboshi.netlify.com,https://youlianboshi.netlify.com/'
$ shadowray --subscribe-add 'v2ray.qlolp.ml,https://v2ray.qlolp.ml'
Then do the update:
$ shadowray --subscribe-update
update youlianboshi.netlify.com : https://youlianboshi.netlify.com/
Traceback (most recent call last):
File "/home/werner/.pyenv/versions/3.7.4/bin/shadowray", line 10, in
sys.exit(main())
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/init.py", line 330, in main
update_subscribe(port=port)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/init.py", line 204, in update_subscribe
manager.update_subscribe(show_info=True, **kwargs)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/core/manager.py", line 23, in update_subscribe
self.__subscribe.update(show_info=show_info, **kwargs)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/subscribe/parser.py", line 74, in update
self.get_url(self.subscribes[j], **kwargs)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/subscribe/parser.py", line 32, in get_url
t[1] = json.loads(decode(t[1]))
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Any hints for this issue?
我使用自动方式配置客户端方式更新订阅信息,节点可以显示,在连接的时候报错:
Local port: [1082]
V2Ray 4.22.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.13.5 linux/amd64)
A unified platform for anti-censorship.
main: failed to read config file: stdin: > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to execute v2ctl: v2ray.com/core/infra/conf/command: failed to parse json config > v2ray.com/core/infra/conf/serial: failed to parse json config > v2ray.com/core/infra/conf: invalid VMess user > json: cannot unmarshal string into Go struct field User.level of type uint32
exit status 255
我的系统是archlinux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.