Windscribe/Android-App
About
Complete source code of the official Windscribe Android application.
Security & PrivacyWhat you can do
- Per-Network Configuration - Different protocols for different networks
- Network Auto-Detection - Seamless switching (requires location permissions)
- Split Tunneling - Choose which apps use the VPN
- App Decoy Traffic - Throw off surveillance with fake traffic
Measured star growth
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +7
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalπ‘οΈ Windscribe VPN for Android
Your Digital Privacy Companion π
Developed by Windscribe Limited - Because your privacy matters
Features β’ Building β’ Architecture β’ Contributing β’ License
π± About
Windscribe VPN is a top-notch VPN application that offers comprehensive privacy and security features for Android devices. Whether you're browsing on your phone, tablet, or Android TV, Windscribe has you covered with military-grade encryption and blazing-fast servers worldwide.
β¨ Key Features
π Authentication & Account Management
- SSO Login - One-click authentication
- Captcha Support - Bot protection that actually works
- Email Verification - Get free data when you confirm your email
- Account Management - Full control at your fingertips
π Six VPN Protocols (Because one size doesn't fit all!)
- OpenVPN UDP - Fast and efficient
- OpenVPN TCP - Reliable and stable
- IKEv2 - Lightning-fast with StrongSwan implementation
- Stealth Protocol - OpenVPN TCP with a cloak of invisibility
- WSTunnel - OpenVPN over WebSocket for maximum stealth
- WireGuard - The new kid on the block, and it's fast! β‘
π― Advanced Features
- Per-Network Configuration - Different protocols for different networks
- Network Auto-Detection - Seamless switching (requires location permissions)
- Split Tunneling - Choose which apps use the VPN
- App Decoy Traffic - Throw off surveillance with fake traffic
- Custom Configurations - Import your own WireGuard/OpenVPN configs
- R.O.B.E.R.T - DNS filtering with customizable toggles
- Static IP Addresses - Available with pro plans
π¨ Personalization
- Custom sounds for connections
- Custom wallpapers
- Custom names for server locations
- Location favorites
- Newsfeed with promos and news
π Transparency
- Real-time IP address display
- Connection status monitoring
- Traffic statistics
ποΈ Building from Source
Prerequisites
Before you dive in, make sure you have these tools ready:
β Android Studio (Latest stable version)
β Android SDK (API 21+)
β Android NDK (for native code compilation)
β CMake (for building native modules)
β SWIG (for generating JNI bindings)
β Git (obviously!)
Quick Start
# Clone the repository
git clone https://github.com/Windscribe/Android-App.git
cd androidapp
# Build debug version
./gradlew assembleDebug
# Or open in Android Studio and hit Run! π―
Build Commands Cheat Sheet
# Debug Builds
./gradlew assembleDebug # Build debug APK
./gradlew :mobile:assembleGoogleDebug # Mobile app only
./gradlew :tv:assembleGoogleDebug # TV app only
# Release Builds
./gradlew assembleRelease # Build release APK
./gradlew bundleGoogleRelease # Google Play AAB
./gradlew bundleFdroidRelease # F-Droid AAB
# Testing
./gradlew test # Unit tests
./gradlew connectedAndroidTest # Instrumented tests
# Code Quality
./gradlew ktlintCheck # Check Kotlin style
./gradlew ktlintFormat # Auto-format Kotlin
./gradlew dependencyCheckAnalyze # Security analysis
# Cleaning
./gradlew clean # Fresh start!
Installing & Running
Mobile App π±
# Build and install
./gradlew :mobile:assembleGoogleDebug
$ANDROID_HOME/platform-tools/adb install -r mobile/build/outputs/apk/google/debug/mobile-google-debug.apk
# Launch the app
$ANDROID_HOME/platform-tools/adb shell am start -n com.windscribe.vpn/com.windscribe.mobile.ui.AppStartActivity
TV App πΊ
# Build and install
./gradlew :tv:assembleGoogleDebug
$ANDROID_HOME/platform-tools/adb install -r tv/build/outputs/apk/google/debug/tv-google-debug.apk
# Launch the app
$ANDROID_HOME/platform-tools/adb shell am start -n com.windscribe.vpn/com.windscribe.tv.splash.SplashActivity
ποΈ Architecture
Module Structure (The Big Picture)
androidapp/
βββ π¦ base/ # Core functionality hub
β βββ api/ # API communication
β βββ backend/ # VPN protocol handlers
β βββ localdatabase/ # Room database
β βββ repository/ # Data layer
β βββ services/ # Android services
βββ π± mobile/ # Phone/tablet UI (Jetpack Compose)
βββ πΊ tv/ # Android TV UI (XML layouts)
βββ π Protocol Modules
β βββ openvpn/ # OpenVPN implementation
β βββ strongswan/ # IKEv2/IPSec
β βββ wgtunnel/ # WireGuard, WSTunnel, Stunnel & ControlD (All Go code compiled to single lib)
βββ π wsnet/ # Networking library
βββ π§ͺ test/ # Shared test utilities
Technology Stack
| Layer | Technology |
|---|---|
| Language | Kotlin (100% of app modules; vendored native VPN modules are C/C++/Go/Java) |
| UI | Jetpack Compose (Mobile), XML (TV) |
| Async | Coroutines + Kotlin Flows |
| DI | Hilt |
| Database | Room |
| Networking | wsnet (custom library) |
| Background Tasks | WorkManager |
Build Variants
π’ Google Play (google flavor)
- β Google Play Billing
- β In-App Review API
- β Firebase Cloud Messaging
- β Full feature set
π F-Droid (fdroid flavor)
- β No proprietary Google dependencies
- β No payment processing
- β No push notifications
- β 100% open source friendly
For detailed architecture documentation, see AGENTS.md
π― StrongSwan Setup
Prebuilt binaries are included, but if you're feeling adventurous:
- Follow the official StrongSwan Android build guide
- Replace contents in
./strongswan/libs - Test thoroughly before committing! π§ͺ
π» Code Style
Kotlin (Preferred) β¨
We use ktlint with default rules:
# Check your code
./gradlew ktlintCheck
# Auto-fix issues
./gradlew ktlintFormat
General Guidelines
- β Use Kotlin for all new code
- β Prefer coroutines over callbacks
- β Use Kotlin flows for reactive streams
- β Follow MVP pattern
- β Write meaningful commit messages
- β Test your changes!
π€ Contributing
We β€οΈ contributions! Here's how to get started:
The Golden Rules
- Code Style is Sacred
- Run
ktlintFormatbefore committing - Follow existing patterns
- Keep it clean and readable
- Kotlin First, Always
- The app modules (base/mobile/tv) are 100% Kotlin β keep them that way
- New code MUST be in Kotlin (no new Java files)
- Use coroutines and flows
Respect the Module Hierarchy
Feature Modules β base β UI ModulesNO CIRCULAR DEPENDENCIES! π«
Test Your Changes
- Write unit tests for business logic
- Add instrumented tests for UI
- Manual testing is also important!
Development Workflow
# 1. Create a feature branch
git checkout -b feature/awesome-new-feature
# 2. Make your changes
# ... code code code ...
# 3. Format and lint
./gradlew ktlintFormat
# 4. Run tests
./gradlew test
# 5. Commit with meaningful message
git commit -m "feat: add awesome new feature"
# 6. Push and create PR
git push origin feature/awesome-new-feature
For detailed development workflows, see SKILL.md
π’ Versioning
Format: [major].[minor].[build]
Example: 3.72.123
- 3 = Major version
- 72 = Minor version
- 123 = Build number
π Additional Resources
- AGENTS.md β AI-friendly architecture reference
- SKILL.md β Development workflows and operational guides
- docs/ β Comprehensive documentation
- docs/architecture/ β Architecture deep-dives
- docs/features/ β Feature-specific documentation
- docs/guides/ β How-to guides
- docs/workflows/ β Process documentation
- Android Developer Docs
- Kotlin Documentation
- Jetpack Compose
- Coroutines Guide
- Room Database
π Getting Help
- π¬ Check existing issues
- π§ Reach out to the team
- π Read the documentation
- π Search the codebase for examples
π License
Copyright (c) 2021 Windscribe Limited
All rights reserved. This project is proprietary software developed by Windscribe Limited.
Explore related projects
Loadingβ¦