A Flutter CLI tool to simplify your post-build workflow: auto-rename APKs, upload to File.io, and share via WhatsApp.
โจ Features
- โ Rename APK after build with version and timestamp
- โ๏ธ Upload to gofile.io and get a shareable link
- ๐ฌ Optionally open WhatsApp Web with the APK link
- โ๏ธ Configurable using
pubspec.yaml - ๐ฅ๏ธ Auto-generates
flutterapk.baton Windows for one-click build & upload
๐ฆ Installation
Add this to your Flutter project:
dev_dependencies:
flutter_build_uploader: ^0.0.3
๐ง Configuration
Add the following to your pubspec.yaml:
flutter_build_uploader:
release: true # true = release, false = debug
whatsapp: true # open WhatsApp Web with the link (optional)
If not set, defaults are:
release: truewhatsapp: true
๐ ๏ธ Usage
๐ Run manually:
flutter build apk
dart run flutter_build_uploader
โก Windows users:
On first run, it auto-creates a flutterapk.bat file:
flutter build apk --release
dart run flutter_build_uploader
Just double-click this file next time!
๐งช Example Output
โ
APK found. Renaming...
๐ฆ APK renamed to: build/exports/myapp-v1.0.2-20250701_2100.apk
โ๏ธ Uploading to File.io...
โ
Uploaded! Link: https://file.io/examplelink
๐ฌ Opening WhatsApp Web...
๐ง Coming Soon
- Google Drive and Telegram uploads
.aabsupport- QR code download page
- GitHub release automation
- GUI version (with Flutter Desktop)
๐ License
MIT ยฉ Ratul Hasan Ruhan