MyGit
🚩收到GitHub仓库的更新通知

rikkix/v2gen

Fork: 29 Star: 143 (更新于 2024-05-03 07:16:14)

license: MIT

Language: Go .

A powerful cross-platform CLI client for V2Ray subscription. 跨平台V2Ray命令行订阅管理客户端

最后发布版本: v2.0.1 ( 2021-02-20 11:17:00)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

v2gen

- The project will no longer be supported, please use other alternatives instead.
- 该项目不再受支持,建议使用其它替代品

A powerful V2Ray config generator

You can use use vmess ping instead of ICMP ping

go.dev reference GitHub top language GitHub code size in bytes Go

简体中文

Preview

[ 0] Server A      [451ms  (0 errors)]
[ 1] Server B      [452ms  (0 errors)]
[ 3] Server C      [251ms  (0 errors)]
...
[25] Server Z      [652ms  (2 errors)]
=====================
Please Select:

Build or Download

git clone https://github.com/iochen/v2gen/ && cd v2gen
env GOPRIVATE=github.com/v2ray/v2ray-core go build ./cmd/v2gen

or Download in GitHub Releases

Quick start

v2gen -u {{Your subscription link}} -o {{Your V2Ray config path}}

Param

Usage of ./v2gen:
  -best
        use best node judged by ping result
  -c int
        ping count for each node (default 3)
  -config string
        v2gen config path (default "/etc/v2ray/v2gen.ini")
  -dst string
        test destination url (vmess ping only) (default "https://cloudflare.com/cdn-cgi/trace")
  -init
        init v2gen config (specify certain path with -config)
  -log string
        log output file (default "-")
  -loglevel string
        log level (default "warn")
  -o string
        output path (default "/etc/v2ray/config.json")
  -ping
        ping nodes (default true)
  -pipe
        read from pipe (default true)
  -random
        random node index
  -template string
        V2Ray template path
  -thread int
        threads used when pinging (default 3)
  -u string
        subscription address(URL)
  -v    show version

V2Gen user config

You can use v2gen --init to generate one

# V2Ray log level
# ( debug | info | warning | error | none )
loglevel: warning

# Socks port
socksPort: 1080

# Http port
httpPort: 1081

# If allow UDP traffic
# ( true | false )
udp: true

# Security
# ( aes-128-gcm | aes-256-gcm | chacha20-poly1305 | auto | none )
security: aes-256-gcm

# If enable mux
# ( true | false )
mux: true

# Mux concurrency num
concurrency: 8

# DNS server
dns1: https://1.1.1.1/dns-query
dns2: https://dns.quad9.net/dns-query

# If China sites and ips directly connect
# ( true | false )
china: true

The following config may NOT work on every node

# If allow insecure connection ( true | false )
allowInsecure: false

# KCP mtu num
mtu: 1350

# KCP tti num
tti: 20

# KCP max upload speed
# Unit: MB/s
up: 5

# KCP max download speed
# Unit: MB/s
down: 20

# If enable UDP congestion control ( true | false )
congestion: false

# Read buffer size
# Unit: MB
readBufferSize: 1

# Write buffer size
# Unit: MB
writeBufferSize: 1

LINCENSE

MIT LICENSE

最近版本更新:(数据更新于 2024-05-05 22:31:48)

2021-02-20 11:17:00 v2.0.1

2020-10-11 08:14:16 v2.0.0.2

2020-09-13 17:13:14 v2.0.0.1

2020-08-30 09:46:41 v2.0.0

2020-07-04 22:26:42 V1.4.2.1

2020-05-31 23:01:15 V1.4.2

2020-03-22 12:46:42 V1.4.1

2020-03-19 12:29:04 V1.3.3

2020-03-19 12:28:55 V1.3.4

2020-03-19 12:27:37 V1.3.2

主题(topics):

cli, cli-app, v2ray, v2ray-cli, v2ray-json-format, v2ray-subscriber, v2rayn, v2rayng, vmess, vmess2json, vmessping

rikkix/v2gen同语言 Go最近更新仓库

2024-05-18 04:35:49 containerd/containerd

2024-05-18 02:28:56 aws/aws-sdk-go

2024-05-18 00:27:14 aurora-develop/aurora

2024-05-17 16:35:04 bnb-chain/bsc

2024-05-17 05:36:40 rook/rook

2024-05-17 04:31:35 plandex-ai/plandex