leaf-android
Kotlin + Jetpack Compose. Quick Settings tile, leafvpn:// deep links, memory log viewer, 8-language localisation.
Drop-in Android, Desktop, C-FFI, and Java SDKs powered by the Leaf proxy core. Bypass DPI with TLS fragmentation, REALITY, Stealth, H2Mux, QUIC, and MPTP — backed by a full multi-tenant panel with crypto billing.
The same Leaf core, the same runtime HTTP API, the same LeafPreferences — across mobile, desktop, and native FFI.
Java / JNI library wrapping Android's VpnService. Min SDK 21. Maven-published.
com.github.shiroedev2024:leaf-sdk-androidRead the integration guide›Pure Rust crate for Tauri, iced, egui, or CLI apps. Windows, macOS, Linux.
leaf_sdk_desktop (Kellnr)Read the integration guide›Stable C ABI (libleaf.*, leaf.h). Use from Qt, C#, Python, Go, Swift — anything.
libleaf.so / leaf.dll / libleaf.dylibRead the integration guide›JVM-native JAR for Swing, JavaFX, Compose Desktop, Spring, or plain CLI.
com.github.shiroedev2024:leaf-java-sdkRead the integration guide›Same shape across every SDK: fetch the subscription, verify, start.
// Kotlin (Android)
val sm = ServiceManagement.getInstance()
sm.updateSubscription(clientId) {
sm.verifyFileIntegrity(); sm.startLeaf()
}
Apache 2.0 clients you can fork and rebrand in an afternoon.
Kotlin + Jetpack Compose. Quick Settings tile, leafvpn:// deep links, memory log viewer, 8-language localisation.
Tauri 2 + Vue 3. System tray, auto-updater, .leafsub file association, window-state persistence.
The same Leaf core, the same runtime HTTP API, the same LeafPreferences — across mobile, desktop, and native FFI.
Trojan, VMess, VLESS, Stealth, Shadowsocks over WebSocket, HTTPUpgrade, HTTP/2, gRPC, xHTTP, QUIC, REALITY, FakeTCP. Every trick in one binary.
Aggregate multiple TCP/UDP sub-links into one reliable stream to saturate throttled networks.
Randomised fragmentation of the TLS ClientHello and Host: header to defeat SNI filtering.
Provision clients programmatically, manage per-app quotas, take crypto payments via NOWPayments.
Live stats, outbound selection, failover health checks on 127.0.0.1 — typed wrappers in every SDK.
Sign encrypted .leafsub bundles for users in networks where your panel can't be reached.
Top up your wallet and pay exactly for the bandwidth your users consume. Deductions are made hourly based on precise byte counts. No monthly contracts, no seat licenses, and no minimum commitments.
One unified fee covers everything. By paying for bandwidth, you get full access to our mobile/desktop SDKs, the multi-tenant orchestration panel, continuous core updates, and technical support.
Per GB of traffic egressing through a Leaf node on behalf of your end users.
Per GB of traffic returning to your end users through a Leaf node.
Create a free account, spin up your first application, copy the API key, and call updateSubscription(uuid) from three lines of code.