lyledean1 / flutter_whisper.cpp

Flutter App That Can Transcribe Audio Offline/On Device with Whisper C++ Bindings via Rust
MIT License
102 stars 10 forks source link

Support Pure Dart Library #11

Open guyluz11 opened 11 months ago

guyluz11 commented 11 months ago

Can you make this package support dart native without flutter? This will open so many options for this package, and it is already a binding of c++ implementation so it shouldn't be a big change.

Users can choose manually microphone or speakers location on device if needed.

lyledean1 commented 11 months ago

Thanks for submitting this feature request!

I don't think there is a need to use Dart Native here as you can achieve the same thing by just exposing this as a pure Dart library - see https://cjycode.com/flutter_rust_bridge/library/dart_only.html. Going to rename this issue to "Support Pure Dart Library".

guyluz11 commented 11 months ago

Yes, dart standalone without flutter

Should look like this in pub.dev

Screenshot_20231015_214348_Firefox

guyluz11 commented 11 months ago

And as they wrote in flutter_rust_bridge Native Assets would make it easier, adding a link to this feature to keep track

https://github.com/dart-lang/sdk/issues/50565