Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Telegram Notification + GoFile Upload Script

This script uploads a ROM ZIP, JSON file, and any available boot/recovery images to GoFile, then sends the generated download links to a Telegram chat.

Usage

1. Open a terminal in the directory containing your files

Make sure the following files are available in the current directory:

  • ROM ZIP file

  • JSON file

  • Optional:

    • boot.img
    • init_boot.img
    • vendor_boot.img
    • recovery.img

2. Run the script

bash <(curl -fsSL https://raw.githubusercontent.com/K4LCHAKRA/telegram_notification_gofile_upload/refs/heads/main/gofile_tg_upload.sh)

3. Enter the required information when prompted

The script will ask for:

  • ZIP file name
  • JSON file name
  • Telegram Bot Token
  • Telegram Chat ID

Example:

Enter ZIP file name: rom.zip
Enter JSON file name: codename.json
Enter Telegram Bot Token: 123456789:ABCDEFxxxxxxxxxxxxxxxxxxxxxxxx
Enter Telegram Chat ID: -1001234567890

4. Wait for the upload process to complete

Requirements

  • bash
  • curl
  • wget
  • Internet connection
  • Telegram Bot Token
  • Telegram Chat ID

Notes

  • json file is optional
  • Image files are optional and will be uploaded only if found.
  • The script must be executed from the directory containing the files to upload.
  • Invalid file names or missing files will cause the script to exit with an error.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages