Skip to content

thebytearray/wireling

Repository files navigation

WireLing

CI Maven Central GitHub release License: GPL v3

WireLing is an Android library for WireGuard-style VPN tunnels with a small public API: WireLingVpn, TunnelConfig, foreground notifications, and stats broadcasts. Kotlin sources and the Android namespace use org.thebytearray.wireling. Maven Central artifact: org.thebytearray.wireling:WireLing.

The app module is a sample you can run to enter a WireGuard-style tunnel (interface, keys, peer, endpoint) and connect.

Documentation

Guide Description
docs/Home.md Overview and index
docs/Installation.md Gradle / manifest setup
docs/Quick-Start.md Channel, icon, permissions, connect
docs/API-Reference.md WireLingVpn entry points
docs/Configuration.md TunnelConfig and validation
docs/State-Management.md Stats broadcast and UI
docs/Troubleshooting.md Common errors
docs/Architecture.md Module and layer layout

Quick install (Maven Central)

Dependency: org.thebytearray.wireling:WireLing. Use google() and mavenCentral(). Versions: Maven Central and GitHub Releases.

Kotlin DSL:

repositories {
    google()
    mavenCentral()
}

dependencies {
    implementation("org.thebytearray.wireling:WireLing:<version>")
}

Groovy:

repositories {
    google()
    mavenCentral()
}

dependencies {
    implementation 'org.thebytearray.wireling:WireLing:<version>'
}

Build locally

./gradlew :wireling:assembleRelease :app:assembleDebug
./gradlew :wireling:testDebugUnitTest

Namespaces

Module Android namespace Kotlin packages
wireling org.thebytearray.wireling org.thebytearray.wireling (and internal subpackages)
app org.thebytearray.wireling.sample Sample: org.thebytearray.wireling.sample (and org.thebytearray.wireling.ui.theme)

License

WireLing is licensed under the GNU General Public License v3.0. See LICENSE.

“WireGuard” and the WireGuard logo are registered trademarks of Jason A. Donenfeld.

About

A lightweight Android library to simplify WireGuard VPN integration, offering easy management, state monitoring, and customization options.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages