No Description

Jason A. Donenfeld f0b45d50f3 version: bump 2 months ago
.idea 40eaa54cf0 ui: reformat all code 2 years ago
gradle f9764e9592 gradle: bump dependencies 2 months ago
tunnel 559112998f tools: bump to wireguard-go 0.0.20250522 for major regression 3 months ago
ui cb216c6ec6 QrCodeFromFileScanner: more efficiently downscale images and release memory 2 months ago
.gitignore 53f8c8dbc4 build: remove bespoke signing config properties 2 years ago
.gitmodules 6209d3ee3d tools: clean unwanted ELF flags from binaries 2 years ago
COPYING 7b28d51cdd global: move to Apache 2.0 7 years ago
README.md 318f36a205 README: account for java version updates 2 years ago
build.gradle.kts 55d6ad6c95 gradle: update to agp 8.9.2 and gradle 8.14 3 months ago
gradle.properties f0b45d50f3 version: bump 2 months ago
gradlew 55d6ad6c95 gradle: update to agp 8.9.2 and gradle 8.14 3 months ago
settings.gradle.kts fb115b4079 gradle: use = instead of .set 3 months ago
sync-crowdin.sh 4df25dd567 build: crowdin now requires auth 3 months ago

README.md

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone --recurse-submodules https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ ./gradlew assembleRelease

macOS users may need flock(1).

Embedding

The tunnel library is on Maven Central, alongside extensive class library documentation.

implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion'

The library makes use of Java 8 features, so be sure to support those in your gradle configuration with desugaring:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_17
    targetCompatibility JavaVersion.VERSION_17
    coreLibraryDesugaringEnabled = true
}
dependencies {
    coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.3"
}

Translating

Please help us translate the app into several languages on our translation platform.