An open-source Flutter project that makes it easy to share data in a local network
Data sharing in local network
https://github.com/huynguyennovem/netshare/assets/29337364/2e9caa89-d05a-48f5-ae79-6e69760962ad
Note: This project is mainly running on the latest Flutter beta channel
flutter run -d <target-platforms>
<target-platforms>
is all supported Flutter platforms, except Web.
Normally, desktop app (macOS, Windows, Linux) will be server and mobile app (Android, iOS) will be client role. But roles can be reversed, let's try and enjoy :)
For instance, I want to share files between Macbook and Android, so I will build and run app for these platforms. Or you can use released binary files in Releases without building the project.
Start hosting
buttonScan to connect
to scan the address with QR Code generated by server app (on Mac above)Manual connect
to enter address yourselfConnect
button and enjoy itNote
flutter run --release
(you can not reopen app if running it in debug mode).g.dart
files). By default, all .g.dart
files are committed to the repository so you don't need to re-generate again.flutter pub run build_runner build --delete-conflicting-outputs