/tor

Tor plugin for Flutter

Primary LanguageDartMIT LicenseMIT

tor

foundation-Devices/tor is a multi-platform Flutter plugin for managing a Tor proxy. Based on arti.

Getting started

Use rustup, not homebrew.

Install cargo ndk

cargo install cargo-ndk

Cargokit

Cargokit handles building, just flutter run it or run it in Android Studio or VS Code (untested).

To update Cargokit in the future, use:

git subtree pull --prefix cargokit https://github.com/irondash/cargokit.git main --squash

Development

To (re)generate Dart bindings run just generate

Example app

flutter run in example to run the example app

See example/lib/main.dart for usage.