Skip to main content

Upload files to Telegram using your account

Project description

tgup

PyPI - Python Version PyPI - Status PyPI - Version

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.

PyPI page

Installation

With uv:

uvx tgup

With pipx:

pipx install tgup

With pip:

pip install tgup

Usage

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 by default.

To send files to a specific channel, chat or user:

tgup --to <channel_username> dir1/ file1
tgup --to <chat_id> dir1/ file1
tgup --to <user_username> dir1/ file1

To see all the options, run: tgup --help

Acknowledgements

License

This project is released under the GPL 3.0 or later license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tgup-0.2.2.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tgup-0.2.2-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file tgup-0.2.2.tar.gz.

File metadata

  • Download URL: tgup-0.2.2.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tgup-0.2.2.tar.gz
Algorithm Hash digest
SHA256 881cd3f8686ec179b45a9da19afb078e35b5be30697d0f3550853dfbbcf48517
MD5 bc4ec6ff44e17bab5b8ef8b6569724af
BLAKE2b-256 593b00b3cddaff390874b8c64a81a38c923533cf1e26ef58a53a693e914c0f72

See more details on using hashes here.

Provenance

The following attestation bundles were made for tgup-0.2.2.tar.gz:

Publisher: pypi-release.yml on jotonedev/tgup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tgup-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: tgup-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tgup-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15aede5d51f9b29ec571962889adb0f531fac4cf97ed0b82d9da971d35ac56ac
MD5 3adcc2d604af9ce848621bbecdbd2544
BLAKE2b-256 5227c13ab9c1d662ba0bdf22cf652a7e316fdc12e3736c33ec2d44cc0ebc629e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tgup-0.2.2-py3-none-any.whl:

Publisher: pypi-release.yml on jotonedev/tgup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page