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.4.tar.gz (26.3 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.4-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tgup-0.2.4.tar.gz
  • Upload date:
  • Size: 26.3 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.4.tar.gz
Algorithm Hash digest
SHA256 ba22936c9125f5f327aa371b899ba9d854bed7280782a0d08e7d78ea2412d4a5
MD5 e48298fa5fa74da646eb2882ae4ed9a8
BLAKE2b-256 ff12f46304c430dbc205335be3ad9383aa6b761c301610807c2e83cd5fec615b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tgup-0.2.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: tgup-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d8130fefbb6af7862c7d4fd684d865aea84242f8eb4b677f780d87b0fb7f31f6
MD5 81e9b1a96380b7b22c28b8f0f888c8d0
BLAKE2b-256 1170875f947b4db6819d87b16a0951d5b5e335972e2f85b25f1807eebd196854

See more details on using hashes here.

Provenance

The following attestation bundles were made for tgup-0.2.4-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