All Projects → iochen → V2gen

iochen / V2gen

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

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to V2gen

Xray onekey
Xray 基于 Nginx 的 VLESS + XTLS 一键安装脚本
Stars: ✭ 7,012 (+8451.22%)
Mutual labels:  v2ray, vmess
Github Spray
Draw on your GitHub contribution graph ░▒▓█
Stars: ✭ 908 (+1007.32%)
Mutual labels:  cli-app, cli
Fkill Cli
Fabulously kill processes. Cross-platform.
Stars: ✭ 6,418 (+7726.83%)
Mutual labels:  cli-app, cli
V2ray Desktop
最优雅的跨平台代理客户端,支持Shadowsocks(R),V2Ray和Trojan协议。The most elegant cross-platform proxy GUI client that supports Shadowsocks(R), V2Ray, and Trojan. Built with Qt5 and QML2.
Stars: ✭ 671 (+718.29%)
Mutual labels:  v2ray, vmess
V2ray Core
A platform for building proxies to bypass network restrictions.
Stars: ✭ 13,438 (+16287.8%)
Mutual labels:  v2ray, vmess
Np
A better `npm publish`
Stars: ✭ 6,401 (+7706.1%)
Mutual labels:  cli-app, cli
Initior
A command line application that let's you initialize your new projects the right way, replaces npm and yarn's init 🎆
Stars: ✭ 17 (-79.27%)
Mutual labels:  cli-app, cli
Carbon Now Cli
🎨 Beautiful images of your code — from right inside your terminal.
Stars: ✭ 5,165 (+6198.78%)
Mutual labels:  cli-app, cli
New Pac
翻墙-科学上网、免费翻墙、免费科学上网、免费自由上网、fanqiang、翻墙梯子、免费软件/方法,一键翻墙浏览器,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点分享,vps一键搭建翻墙服务器脚本/教程,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙
Stars: ✭ 31,869 (+38764.63%)
Mutual labels:  v2ray, vmess
Make Space
💾 [WIP] Free up space from the command line
Stars: ✭ 21 (-74.39%)
Mutual labels:  cli-app, cli
Tml
🌈💻🎨 A tiny markup language for terminal output. Makes formatting output in CLI apps easier!
Stars: ✭ 634 (+673.17%)
Mutual labels:  cli-app, cli
Ishell
Library for creating interactive cli applications.
Stars: ✭ 1,127 (+1274.39%)
Mutual labels:  cli-app, cli
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+615.85%)
Mutual labels:  v2ray, vmess
Sade
Smooth (CLI) Operator 🎶
Stars: ✭ 746 (+809.76%)
Mutual labels:  cli-app, cli
Free
翻墙、免费翻墙、免费科学上网、免费节点、免费梯子、免费ss/v2ray/trojan节点、蓝灯、谷歌商店、翻墙梯子
Stars: ✭ 16,689 (+20252.44%)
Mutual labels:  v2ray, vmess
Archisteamfarm
C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.
Stars: ✭ 7,219 (+8703.66%)
Mutual labels:  cli-app, cli
What Anime Cli
❓🖼 Find the anime scene by image using your terminal
Stars: ✭ 533 (+550%)
Mutual labels:  cli-app, cli
Solidarity
Solidarity is an environment checker for project dependencies across multiple machines.
Stars: ✭ 540 (+558.54%)
Mutual labels:  cli-app, cli
Captain
command line python scripts for humans
Stars: ✭ 10 (-87.8%)
Mutual labels:  cli-app, cli
Bangjago Android Emulator
simple android emulator cli for mobile development
Stars: ✭ 56 (-31.71%)
Mutual labels:  cli-app, cli

v2gen

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].