flutter_build_uploader

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