cat << 'EOF' > README.md
A Telegram bot that runs on a personal account to both upload files to GoFile.io and download entire folders from it.
- Upload & Download: Send a direct link or a telegram file to upload it directly to Gofile.io and get the uploaded link.
- Folder Downloader: Send a GoFile folder link to download all its contents.
-
Install System Tools:
sudo apt update && sudo apt install ffmpeg
-
Install Python Libraries:
pip install -r requirements.txt
-
Get Your Keys:
API_ID
&API_HASH
from my.telegram.orgGOFILE_TOKEN
from your gofile.io account profile.
-
Set Your Keys:
export API_ID="1234567" export API_HASH="0123456789abcdef0123456789abcdef" export GOFILE_TOKEN="your_gofile_token_here"
-
Run the Script:
python3 master_bot.py
The first time, you'll have to log in with your phone number and the code Telegram sends you.