Convert Figma logo to code with AI

2dust logov2rayN

A GUI client for Windows, support Xray core and v2fly core and others

66,794
11,163
66,794
34

Top Related Projects

A platform for building proxies to bypass network restrictions.

A C# port of shadowsocks

18,819

An unidentifiable mechanism that helps you bypass GFW.

Quick Overview

v2rayN is an open-source GUI client for V2Ray, a platform for building proxies to bypass network restrictions. It provides a user-friendly interface for configuring and managing V2Ray connections on Windows systems, making it easier for users to access blocked content and enhance their online privacy.

Pros

  • User-friendly interface for managing V2Ray connections
  • Supports multiple protocols and configurations
  • Regular updates and active community support
  • Customizable routing rules and proxy settings

Cons

  • Limited to Windows operating systems
  • May require some technical knowledge to set up and configure properly
  • Potential performance impact on slower systems
  • Some advanced features may be overwhelming for casual users

Getting Started

  1. Download the latest release from the GitHub releases page.
  2. Extract the downloaded ZIP file to a desired location.
  3. Run v2rayN.exe to start the application.
  4. Click on "Servers" in the menu bar, then "Add VMess Server" to add a new server configuration.
  5. Enter the server details provided by your V2Ray service provider.
  6. Click "OK" to save the configuration.
  7. Select the newly added server in the main window and click "Start" to connect.

For more detailed instructions and advanced configurations, refer to the project's wiki.

Competitor Comparisons

A platform for building proxies to bypass network restrictions.

Pros of v2ray-core

  • Core engine with broader platform support
  • More flexible and customizable
  • Better suited for advanced users and developers

Cons of v2ray-core

  • Steeper learning curve
  • Requires manual configuration
  • Less user-friendly for beginners

Code Comparison

v2ray-core (Go):

type Server struct {
    config *Config
    ohm    outbound.Manager
    router routing.Router
    ihm    inbound.Manager
}

v2rayN (C#):

public class ConfigHandler
{
    public static List<string> GetConfig(string configPath)
    {
        // Implementation details
    }
}

v2ray-core is the core engine written in Go, providing a robust foundation for building custom proxy solutions. It offers more flexibility and control over network configurations.

v2rayN is a Windows GUI client for v2ray-core, written in C#. It provides a user-friendly interface for managing v2ray configurations, making it easier for non-technical users to set up and use v2ray.

While v2ray-core is more powerful and versatile, v2rayN simplifies the user experience at the cost of some advanced features. The choice between them depends on the user's technical expertise and specific requirements.

A C# port of shadowsocks

Pros of shadowsocks-windows

  • Simpler and more lightweight, focusing on the core Shadowsocks protocol
  • Easier to set up and configure for users new to proxy tools
  • More stable and mature project with a longer development history

Cons of shadowsocks-windows

  • Limited protocol support compared to v2rayN
  • Fewer advanced features and customization options
  • Less frequent updates and potentially slower adoption of new technologies

Code Comparison

shadowsocks-windows:

public static void Main(string[] args)
{
    Directory.SetCurrentDirectory(Path.GetDirectoryName(Application.ExecutablePath));
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new ShadowsocksController());
}

v2rayN:

static void Main(string[] args)
{
    AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
    Application.SetHighDpiMode(HighDpiMode.SystemAware);
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new MainForm());
}

Both projects use similar initialization code for their Windows applications, with v2rayN including additional error handling and high DPI mode settings.

18,819

An unidentifiable mechanism that helps you bypass GFW.

Pros of Trojan

  • Simpler protocol design, potentially leading to better performance
  • Focuses on evading deep packet inspection and censorship
  • Lighter weight and easier to deploy on various platforms

Cons of Trojan

  • Less feature-rich compared to v2rayN's extensive capabilities
  • Limited protocol support (mainly focuses on Trojan protocol)
  • Smaller community and ecosystem compared to v2rayN

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;
}

Trojan (C++):

int run_server(Config &config) {
    Service service(config);
    return service.run();
}

The code snippets show different approaches: v2rayN focuses on running with admin privileges, while Trojan emphasizes a straightforward server setup. This reflects their design philosophies, with v2rayN offering more complex features and Trojan prioritizing simplicity and efficiency.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

v2rayN

A GUI client for Windows, support Xray core and v2fly core and others

GitHub commit activity CodeFactor GitHub Releases Chat on Telegram

How to use

  • If you are new to this, please download v2rayN-With-Core.zip from releases
  • Otherwise please download v2rayN.zip (you will also need to download cores in the bin directory)
  • Run v2rayN.exe

Requirements

Telegram Channel

github_2dust