A useful client of v2ray for linux
Project description
Shadowray
An useful client of v2ray for linux
Simple usage
pip install shadowray
shadowray --autoconfig
shadowray --subscribe-add 'name,url'
shadowray --list
shadowray -s 1
for more detail about command:
shadowray --help
Default config
Inbound:
- protocol : socks5
- port: 1082
- auth: noauth
Outbound:
- Traffic camouflage : tcp
Usage
Basic config
- subscribe.json : the file used to save subscribes,you can specify it by using
shadowray --config-subscribe <path>
,but the file must be created by yourself - servers.json : the file used to save servers,you can specify it by using
shadowray --config-servers <path>
,but the file must be created by yourself - v2ray : you should specify the folder of v2ray-core,using
shadowray --config-v2ray <path>
For simplicity
Using shadowray --autoconfig
,then it will complete the basic config automatically,include that downloading the lasted v2ray-core
Subscribe
Add a subscribe
you can use shadowray --subscribe-add '<name>,<url>'
to add a subscribe.
Don't forget the
''
Update subscribes
Using shadowray --subscribe-update
to update all subscribes.Meanwhile,you can use --port <number>
to specify a port of inbound.
Proxy
List server
To see all available servers(proxies),using shadowray [--list|-l]
.Then you will see some index,name of proxies,protocol of proxies,the index of proxies used to start a proxy
Start a proxy
For starting a proxy,you can use shadowray [--start|-s] <index>
For running v2ray as a daemon,by using
--daemon
or-d
Stop daemon
Using shadowray --stop
Specify a config file of v2ray
You can use your config file via [--config-self|-f] <path>
.For example,
shadowray --config-self ~/config.json
or shadowray -f ~/config.json
Export config
Using shadowray --servers-export <index>:<path>
to export the specified config to file that specified by
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for shadowray-0.1.6.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972d33e3c307603986bd758c3ecb91d19ebcf29db8b4cb4d69b7d66bf5612c94 |
|
MD5 | 38ae6f974d2d88cc339e058bbc9325bf |
|
BLAKE2b-256 | a451ae3d1452297a60e7af1147dde4065a69e8a335f7df71a1799e65f9e23969 |
Hashes for shadowray-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a3a51c885df7237981ab306b73b7cca9afb3fe0bb001ccad99dc0b5ff60bb1 |
|
MD5 | 5d4bd9e12de0497eefeb169271f1888e |
|
BLAKE2b-256 | 6977dceef07d8b221934c1e6489b29692f737746ef540c568d70860b78e637a5 |