Possible Ways to Tor Your App

Summary of different ways an app can integrate with Tor

Build Tor into your app

It is now easier than ever to directly build Tor into your app, hiding all complexity of setup and configuration from your users. Whether you use Tor-Android, Arti, or Tor.framework, there are many options ready to go. Apps like Tor Browser for Android do this today, to provide a seamless, integrated experience for browsing the web over Tor.

Integrate with external Orbot or TorServices app

If you do not want to add the additional code complexity and size directly into your app, you can instead only offer active Tor features if the user has Orbot or TorServices installed on their device. Apps like F-Droid, Save by OpenArchive, and ReThinkDNS do this today, to enable proxying through Tor without having to build in all of Tor.

Implement Tor in a VPN or Network Extension

If you want to build your own VPN, or want to ensure that all possible network traffic from your app (and even the whole device) is automatically routed through Tor, then this might be the approach you take. Apps like Orbot do this today, to provide an easy Tor-based "VPN" for users.

Run an OnionService in your app

Using Tor, you can turn your app into a server, that any other Tor client can connect to. This enables you to host content and services just like you are on the open web, directly from your device. Apps like OnionShare, Briar and Quiet do this today to enable file sharing and chat.

Last updated