Skip to main content

Python CLI for v2ray and subscription.

Project description

v2raycli

PyPI PyPI - Python Version

Docs Deploy Code Test Package Release codecov

GitHub Org's stars GitHub stars GitHub forks GitHub commit activity GitHub issues GitHub pulls Contributors GitHub license

Python CLI for v2ray.

Quick Start

You can install v2raycli with PyPI

pip install v2raycli

or with source code

git clone https://github.com/narugo1992/v2raycli.git
cd v2raycli
pip install .

Then you need to download v2ray CLI from here

After that, we can start your local proxy service

# Use your own subscription url
export V2RAY_SUBSCRIPTION='https://jmssub.net/members/getsub.php?service=777777&id=4c646243-6c01-42f4-a4f1-eef212b2e659'
# Use your own v2ray binary executable
export V2RAY_BIN=./bin/v2ray

v2raycli list                  # List the sites in subscription
v2raycli run                   # Start the proxy (socks5 protocol, port 17777)
v2raycli run -P http -p 16384  # Start at port 16384 with http protocol
v2raycli run -R                # DO NOT ASK ME! Just randomly use one site

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

v2raycli-0.1.1.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

v2raycli-0.1.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file v2raycli-0.1.1.tar.gz.

File metadata

  • Download URL: v2raycli-0.1.1.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for v2raycli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f48ac444fb042108e73d97f0697ab6d283fe683fd4a0b45ec6a43d258085b2b9
MD5 be87295bbdae3788632bf453609b4e7f
BLAKE2b-256 e7556438cd5acb4c2e57c9eac3789985820e09205f734e2dc0868063177eba64

See more details on using hashes here.

File details

Details for the file v2raycli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: v2raycli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for v2raycli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 57c61d8861c48d0ea398190b6efe4b9593a241aaf68a69ed5a02dd9f9a87a82f
MD5 cd5b554cf69e0a8430aaf267e0c32378
BLAKE2b-256 5fd78dc84cfa923e01c393e826819655b44da2757488708c893ad5003c33ea2b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page