A simple, powerful Flutter CLI tool to automate post-build tasks: rename APKs, upload to GoFile.io, and optionally share via WhatsApp.
โจ Features
- โ Automatically rename APK with version & timestamp
- โ๏ธ Upload to gofile.io and get a shareable link
- ๐ฌ Optionally open WhatsApp Web with the download link
- โ๏ธ Fully configurable via
pubspec.yaml
- ๐ฅ๏ธ Auto-generates
flutterapk.bat
for Windows one-click builds
๐ฆ Installation
Option 1: Project-level
dev_dependencies:
flutter_build_uploader: ^0.0.4
Option 2: Global CLI
dart pub global activate flutter_build_uploader
๐ง Configuration (optional)
In your pubspec.yaml
:
flutter_build_uploader:
release: true # true = release (default), false = debug
whatsapp: true # true = open WhatsApp Web (default)
๐ ๏ธ Usage
๐ In-project (manual)
flutter build apk
dart run flutter_build_uploader
โก Global (after activating)
flutter build apk
flutter_build_uploader
๐ช For Windows users:
On first run, a flutterapk.bat
file is created:
flutter build apk --release
dart run flutter_build_uploader
Just double-click it next time โ
๐งช Example Output
โ
APK found. Renaming...
๐ฆ APK renamed to: build/exports/myapp-v1.0.2-20250701_2100.apk
โ๏ธ Uploading to GoFile.io...
โ
Uploaded! Link: https://gofile.io/d/abc123XYZ
๐ฌ Opening WhatsApp Web...
๐ง Coming Soon
- Google Drive and Telegram upload support
.aab
format support- QR code link page
- GitHub release automation
- Rename pattern customization
- GUI version (Flutter Desktop)
๐ License
MIT ยฉ Ratul Hasan Ruhan