Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ZTzTopia/GTProxy/llms.txt
Use this file to discover all available pages before exploring further.
Installation
GTProxy can be installed using pre-built binaries from GitHub releases or built from source. Choose the method that best suits your needs.Download pre-built binary
The easiest way to get started is to download a pre-built executable from the releases page.Visit the releases page
Navigate to the GTProxy releases page on GitHub.
Download the latest release
Download the appropriate binary for your platform:
- Windows:
GTProxy-windows-x64.exe - Linux:
GTProxy-linux-x64 - macOS:
GTProxy-macos-arm64orGTProxy-macos-x64
GTProxy will create a
config.json configuration file and log files in the directory where you run it. Make sure you have write permissions.Build from source
Building from source gives you the latest features and allows you to customize the proxy.Prerequisites
Install build tools
Install the required build dependencies:CMake 3.24+Download from cmake.org or install via package manager:C++23 Compiler
- GCC 11+ or Clang 14+ (Linux/macOS)
- Visual Studio 2022+ with C++23 support (Windows)
- Xcode 14+ (macOS)
Install Python and Conan
GTProxy uses Conan 2.0+ for dependency management.Install Python 3.5+Download from python.org or use your system package manager.Install Conan package managerVerify the installation:
Build process
Clone the repository
Clone GTProxy with all submodules:
The
--recurse-submodules flag is important as GTProxy includes external libraries (ENet, cpp-httplib) as Git submodules.Configure the build
Create a build directory and run CMake configuration:Debug build (for development):Release build (for production):During configuration, CMake will automatically install required dependencies via Conan:
- eventpp (event dispatching)
- fmt (string formatting)
- glaze (JSON serialization)
- spdlog (logging)
- lua + sol2 (scripting engine)
- LibreSSL (TLS/SSL support)
- magic_enum (enum reflection)
- gtest (testing framework)
Build the project
Compile GTProxy:For debug builds:The build process will compile the main proxy executable and test suite.
Platform-specific notes
- Windows (MSVC)
- Linux (GCC/Clang)
- macOS
Visual Studio ConfigurationIf using Visual Studio, you can open the project directly:Then open
build/GTProxy.sln in Visual Studio.Exception HandlingMSVC builds use the /EHsc flag for proper C++ exception handling.Verify installation
To verify GTProxy is installed correctly, run the executable. You should see output similar to:Troubleshooting
Configuration file errors
If GTProxy fails to create or loadconfig.json:
- Ensure you have write permissions in the current directory
- Check that the directory path doesn’t contain special characters
- Verify the existing
config.jsonhas valid JSON syntax
Build errors
Conan package installation fails If Conan fails to fetch dependencies:lib/:
- GCC 11 or newer
- Clang 14 or newer
- MSVC 19.30 (Visual Studio 2022) or newer