
Rust-based Tor library for Android and iOS, providing a standard API to integrate the Arti Tor runtime into mobile apps for private, censorship-resistant network communication.
The official Arti Mobile library, supported by Tor Project, bringing the new Tor Rust runtime to mobile devices.
This is a shared project for exposing a standard API for Tor Arti to Android and iOS applications.
This was based on the following projects:
Learn more at: https://guide.onionmobile.dev/tor-on-android/arti-mobile-on-android and https://arti.torproject.org/
For more explanations on what it is doing. You should read Arti documentation for Android and for iOS.
Android library for Arti with JNI interface
repositories { maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" } }
dependencies { implementation("org.torproject:arti-mobile:1.7.0.1") }
Sample use:
var artiProxy = ArtiProxy.Builder(this)
.setLogListener((log) -> {
Log.d("artilog", log);
App.logOutput(getApplicationContext(), log + "\n");
})
.setWrapWebView(true)
.build();
mArtiProxy.start();
var socksPort = mArtiProxy.getSocksPort();
make android.make ios.vagrant up
vagrant ssh -c "cd /vagrant/common && make android"