|
|
11 年之前 | |
|---|---|---|
| .. | ||
| .idea | 11 年之前 | |
| app | 11 年之前 | |
| gradle | 11 年之前 | |
| .gitignore | 11 年之前 | |
| AndroidApp.iml | 11 年之前 | |
| README.md | 11 年之前 | |
| build.gradle | 11 年之前 | |
| gradle.properties | 11 年之前 | |
| gradlew | 11 年之前 | |
| gradlew.bat | 11 年之前 | |
| settings.gradle | 11 年之前 | |
Psibot is a sample app that demonstrates embedding the Psiphon Go client in an Android app. Psibot uses the Android VpnService API to route all device traffic through tun2socks and in turn through Psiphon.
app\src\main\jniLibs\<platform>\libtun2socks.so is built from the Psiphon fork of badvpn. Source code is here: https://bitbucket.org/psiphon/psiphon-circumvention-system/src/default/Android/badvpn/. The source was modified to change the package name to ca.psiphon.psibot.
Uses the Psiphon Android Library.
In app\src\main\res\raw\psiphon_config, placeholders must be replaced with valid values.