Top Related Projects
A platform for building proxies to bypass network restrictions.
A GUI client for Windows, Linux and macOS, support Xray and sing-box and others
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,适用于 V2Ray、Xray-core、mihomo(Clash-Meta)、hysteria、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, applicable to V2Ray, Xray-core, mihomo(Clash-Meta), hysteria, Trojan-Go and leaf.
Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.
A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols. 🚀
Quick Overview
v2ray-agent is a project that provides a one-click installation script for V2Ray, a platform for building proxies to bypass network restrictions. It aims to simplify the process of setting up and managing V2Ray servers, offering various customization options and supporting multiple protocols.
Pros
- Easy installation with a single command
- Supports multiple protocols (VLESS, VMess, Trojan)
- Automatic SSL certificate management
- Regular updates and active maintenance
Cons
- Limited documentation in English
- May require some technical knowledge to fully utilize all features
- Potential security risks if not properly configured
- May be affected by changes in network restrictions or detection methods
Getting Started
To install v2ray-agent, run the following command:
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
Follow the on-screen prompts to complete the installation and configuration process. The script will guide you through selecting protocols, ports, and other settings.
To manage your v2ray-agent installation after setup, you can run:
vasma
This command will open the management menu, allowing you to add users, modify configurations, and perform other maintenance tasks.
Competitor Comparisons
A platform for building proxies to bypass network restrictions.
Pros of v2ray-core
- Core functionality: Provides the fundamental V2Ray protocol implementation
- Flexibility: Can be integrated into various projects and systems
- Active development: Regularly updated with new features and improvements
Cons of v2ray-core
- Complexity: Requires more technical knowledge to set up and configure
- Limited user-friendliness: Lacks built-in scripts for easy deployment
Code comparison
v2ray-core:
type Server struct {
config *Config
ohm outbound.Manager
router routing.Router
ihm inbound.Manager
}
v2ray-agent:
installV2Ray(){
echoContent skyBlue "\nProgress $1/${totalProgress} : Install V2Ray"
# ... (installation steps)
}
v2ray-core focuses on the core implementation, while v2ray-agent provides installation scripts and management tools. The v2ray-core snippet shows the main Server struct, whereas v2ray-agent includes a Bash function for V2Ray installation.
v2ray-agent simplifies the deployment process, making it more accessible to users with less technical expertise. However, v2ray-core offers greater flexibility for developers who want to integrate V2Ray functionality into their own projects or create custom implementations.
A GUI client for Windows, Linux and macOS, support Xray and sing-box and others
Pros of v2rayN
- User-friendly GUI for Windows, making it easier for non-technical users
- Supports multiple protocols and configurations in one client
- Regular updates and active community support
Cons of v2rayN
- Limited to Windows platform, reducing cross-platform compatibility
- May have a steeper learning curve for advanced configurations
- Lacks some of the automated deployment features found in v2ray-agent
Code Comparison
v2rayN (C#):
public static int RunAsAdmin(string arguments)
{
Process process = new Process();
process.StartInfo.FileName = Utils.GetExePath();
process.StartInfo.Arguments = arguments;
process.StartInfo.UseShellExecute = true;
process.StartInfo.Verb = "runas";
process.Start();
return process.Id;
}
v2ray-agent (Shell Script):
installV2Ray(){
echoContent skyBlue "\nProgress $1/${totalProgress} : Install V2Ray"
# Version
if [[ "${selectCoreType}" == "2" ]]; then
version=$(curl -s https://api.github.com/repos/v2fly/v2ray-core/releases | jq -r '[.[] | select(.prerelease == false)][0] | .tag_name')
else
version=${v2rayCoreVersion}
fi
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,适用于 V2Ray、Xray-core、mihomo(Clash-Meta)、hysteria、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, applicable to V2Ray, Xray-core, mihomo(Clash-Meta), hysteria, Trojan-Go and leaf.
Pros of v2ray-rules-dat
- Focuses on providing comprehensive rule sets for V2Ray, including domain lists and IP lists
- Regularly updated with the latest domain and IP information
- Offers flexibility in choosing different rule sets based on specific needs
Cons of v2ray-rules-dat
- Requires manual integration with V2Ray configuration
- May need additional setup and maintenance compared to all-in-one solutions
Code Comparison
v2ray-rules-dat:
{
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "proxy",
"domain": ["geosite:category-ads-all"]
}
]
}
}
v2ray-agent:
#!/bin/bash
# This script installs and configures v2ray-agent
curl -fsSL https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh -o install.sh && bash install.sh
v2ray-rules-dat provides rule sets that can be directly integrated into V2Ray configurations, offering granular control over routing. v2ray-agent, on the other hand, offers a more comprehensive installation and management script for V2Ray setups, simplifying the deployment process but potentially with less customization in routing rules.
Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.
Pros of Xray-core
- More lightweight and efficient core implementation
- Supports XTLS protocol for improved performance
- Active development with frequent updates
Cons of Xray-core
- Less user-friendly for beginners
- Requires more manual configuration
- Fewer built-in tools for server management
Code Comparison
v2ray-agent (install.sh):
echoContent skyBlue "\nProgress $1/${totalProgress} : $2"
Xray-core (main.go):
common.Must(defaultJson.UnmarshalJSON([]byte(jsonConfig)))
v2ray-agent focuses on providing a user-friendly installation script, while Xray-core emphasizes core functionality and performance. The v2ray-agent code snippet shows a progress indicator for the installation process, whereas the Xray-core snippet demonstrates JSON configuration parsing.
Xray-core is a more specialized tool for advanced users seeking optimal performance, while v2ray-agent offers a more accessible solution for quick deployment and management of V2Ray servers. The choice between them depends on the user's technical expertise and specific requirements.
A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols. 🚀
Pros of v2rayA
- User-friendly web GUI for easier management and configuration
- Multi-platform support (Windows, macOS, Linux)
- Built-in subscription management and automatic updates
Cons of v2rayA
- Larger codebase and potentially higher resource usage
- May have a steeper learning curve for users new to v2ray
Code Comparison
v2rayA:
func (s *VmessOutboundJson) BuildV2rayConfig() (*conf.Config, error) {
outbound := &conf.OutboundConfig{
Protocol: "vmess",
Settings: &conf.OutboundConfigSettings{},
}
// ... (additional configuration)
}
v2ray-agent:
installV2Ray(){
echoContent skyBlue "\nProgress $1/${totalProgress} : Install V2Ray"
# ... (installation steps)
}
The v2rayA project uses Go for its core functionality, providing a more structured approach to building v2ray configurations. In contrast, v2ray-agent primarily uses shell scripts for installation and management, which may be simpler but less flexible for complex configurations.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
v2ray-agent
Xray-core/sing-box ä¸é®èæ¬å¿«éå®è£
åè½
- 夿 ¸å¿æ¯æ: æ¯æ Xray-core å sing-box.
- å¤åè®®æ¯æ: æ¯æ VLESS, VMess, Trojan, Hysteria2, Tuic, NaiveProxy çå¤ç§åè®®.
- èªå¨TLS: èªå¨ç³è¯·åç»è®¢ SSL è¯ä¹¦.
- æäºç®¡ç: æä¾ç®åçèåæ¥ç®¡çç¨æ·ã端å£åé ç½®.
- è®¢é æ¯æ: çæå管ç订é 龿¥.
- åæµç®¡ç: æä¾wireguardãIPv6ãSocks5ãDNSãVMess(ws)ãSNIåå代çï¼å¯ç¨äºè§£éæµåªä½ãè§é¿IPéªè¯çä½ç¨.
- ç®æ åå管ç: æä¾ååé»åå管çï¼å¯ç¨äºç¦æ¢è®¿é®æå®ç½ç«.
- BTä¸è½½ç®¡ç: å¯ç¨äºç¦æ¢ä¸è½½P2Pç¸å ³å 容.
- æ´å¤å 容请访é®å®æ¹ç½ç«ãå¤ç¨
å¿«éå¼å§
å®è£
wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh
使ç¨
å®è£ åï¼è¿è¡ä»¥ä¸å½ä»¤å¯å次æå¼ç®¡çèå:
vasma
ææ¡£åæå
- å «åä¸èæ¬ä»å ¥é¨å°ç²¾é
- èæ¬å¿«éæå»ºæç¨
- èæ¬ä½¿ç¨æ³¨æäºé¡¹
- èæ¬å¼å¸¸å¤ç
- VPSéè´æ»ç¥
- åå¾VPS大ææï¼hysteria2ææ°åè®®ä¸é®æå»º
- RackNerdä½ä»· èéAS4837å¥é¤ï¼å¹´ä»10ç¾èµ·
- æ¬ç¦å·¥ä¼è´¨å¥é¤æ¨è
- DMITä¼è´¨å¥é¤æ¨è
社åºä¸æ¯æ
- Telegram: é¢é | 群ç»
- ç½ç«: å®ç½ | å¤ç¨
- åé¦: æäº¤ issue
æèµ
æè°¢æ¨å¯¹å¼æºé¡¹ç®çå ³æ³¨åæ¯æã妿æ¨è§å¾è¿ä¸ªé¡¹ç®å¯¹æ¨æå¸®å©ï¼æ¬¢è¿éè¿ä»¥ä¸æ¹å¼è¿è¡æèµ ã
许å¯è¯
æ¬é¡¹æ ¹æ® AGPL-3.0 许å¯è¯ ææ.
Top Related Projects
A platform for building proxies to bypass network restrictions.
A GUI client for Windows, Linux and macOS, support Xray and sing-box and others
🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,适用于 V2Ray、Xray-core、mihomo(Clash-Meta)、hysteria、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, applicable to V2Ray, Xray-core, mihomo(Clash-Meta), hysteria, Trojan-Go and leaf.
Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.
A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols. 🚀
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot