Skip to content

0xchat-app/tor

 
 

Repository files navigation

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

FRB codegen

Generate Dart bindings from Rust FRB APIs:

just generate

or

flutter_rust_bridge_codegen generate \
    --rust-input crate::api \
    --rust-root rust/ \
    --rust-output rust/src/generated/frb_generated.rs \
    --dart-output lib/rust_api/generated \
    --no-web

Example app

flutter run in example to run the example app

See example/lib/main.dart for usage.

About

Tor plugin for Flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 62.7%
  • Rust 20.1%
  • Swift 5.1%
  • Kotlin 3.9%
  • CMake 2.8%
  • Shell 1.8%
  • Other 3.6%