Upload files to Telegram using your account.
This project is partially based on telegram-upload by Nekmo, it was recreated because the original project seems abandoned.
With pipx (preferred method):
pipx install tgup
With pip:
pip install tgup
To use this program you need an Telegram account and your App api_id & api_hash (get it in my.telegram.org). The first time you use tgup it requests your telephone number, api_id and api_hash. Bot tokens can not be used with this program (bot uploads are limited to 50MB).
To send files:
tgup dir1/ file1 dir2/abc/
It will send the files to your personal chat.
To see all the options, run: tgup --help
- Based on telegram-upload
This project is released under the GPL 3.0 or later license.