A Single-Process Decentralized Package Manager Bridge for Flutter
Pol converts pub.dev dependencies to Git-based dependencies - all in one desktop app with native performance.
+-------------------------------------------+
| Flutter Desktop App |
| |
| +---------------+ +---------------+ |
| | UI (Flutter) |<-->| Business Logic| |
| +---------------+ | (Dart) | |
| +-------+-------+ |
| | |
| FFI | |
| v |
| +---------------+ |
| | dart_engine | |
| | (Rust DLL) | |
| +---------------+ |
+-------------------------------------------+
| Layer | Technology | Purpose |
|---|---|---|
| UI | Flutter | Windows desktop interface |
| Logic | Dart | YAML parsing, GitHub API, orchestration |
| Native | Rust (DLL) | Fast Git operations via FFI |
.\scripts\build.ps1This will:
- Build the Rust DLL
- Copy it to the Flutter project
cd frontend
flutter run -d windowspol/
βββ engines/
β βββ dart_engine/ # Rust FFI library
β βββ Cargo.toml
β βββ src/lib.rs # C-compatible exports
β
βββ frontend/ # Flutter Desktop App
β βββ lib/
β β βββ core/
β β β βββ ffi/ # Dart FFI bindings
β β β βββ services/ # YAML, GitHub, Converter
β β β βββ ...
β β βββ features/
β β βββ dependency_list/
β β βββ converter/
β β βββ logs/
β βββ windows/
β βββ runner/
β βββ dart_engine.dll # Native library
β
βββ scripts/
βββ build.ps1 # Build script
- Single Process: No separate backend to run
- Native Performance: Git operations via Rust FFI
- Auto Resolution: Finds GitHub repos for pub.dev packages
- Monorepo Support: Correctly handles multi-package repos
- Backup: Creates backup before modifying pubspec.yaml
- Rust (1.70+): https://rustup.rs/
- Flutter (3.0+): https://flutter.dev/
- Windows 10/11
For higher API rate limits, set your token in the app settings.
MIT License