Skip to content

YYuanqi/privch

 
 

Repository files navigation

Private Channel

Get it on Google Play

PrivCh is a modern VPN client built with Flutter that supports Android and Windows, but does not offer international communication services. The app is also available on Google Play.

Directory Description
application The privch cross-platform VPN client app
xinlake-responsive A Flutter package that contains widgets for responsive design
xinlake-text A Flutter package that supports text processing
xinlake-qrcode A Flutter plugin that read barcode from images, cameras, screens
xinlake-platform A Flutter plugin that contains platform-side implementations to help Flutter apps interact with the system
window-interface A Flutter plugin that controls the native window of your flutter app on Windows

Build

Requirements

  • Git. Make sure git.exe can be called by other build systems
  • Flutter SDK. Make sure flutter doctor -v doesn't prompt issues after installing the Flutter SDK,
  • Android Studio, only required to build Android APK.
    • Android SDK Command-line Tools (last)
    • CMake
    • NDK
  • Visual Studio 2022, only required to build Windows (native) application.
    • "Desktop development with C++" workload
    • C++ CMake tools for Windows
    • [Optional] Windows 10 SDK v10.0.20348.0

Clean

C:\privch\application> flutter clean

Build PrivCh Android APK

  • Option 1, using Flutter commands.
C:\privch\application> flutter pub get

# This step is only required when doing a fresh build
C:\privch\application\android> .\gradlew.bat generateReleaseSources

C:\privch\application> flutter build apk
  • Option 2, using Android Studio.

Run the flutter pub get command then open <SOURCE-CODE>/application/android with Android Studio. For fresh builds you need to execute Build -> Run Generate Sources Gradle Tasks before building APK

Build PrivCh Windows Application

  • Option 1, using Flutter commands.
C:\privch\application> flutter pub get
C:\privch\application> flutter build windows
  • Option 2, using Visual Studio.

Run the flutter pub get command, Open Visual Studio select "Open a local folder" then select <SOURCE-CODE>/application/windows.

Screen

Android

Windows

About

Modern VPN Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.4%
  • C++ 8.7%
  • Dart 2.1%
  • Java 1.0%
  • CMake 0.8%
  • PHP 0.6%
  • Other 1.4%