Foundation-Devices / tor

Tor plugin for Flutter
https://pub.dev/packages/tor
GNU General Public License v3.0
15 stars 6 forks source link

tor

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

Getting started

Install rust

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.