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.0.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.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tgup-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 247d9d149a6e3c65724f4060fd2fc596b4f44f129e07de4ca080dd027427c203
MD5 268a468994ac4d5ddb18904ae3bca20c
BLAKE2b-256 9426c95e5c1f6c032706e5a65a787859bc36ecb5fa0a6e9a0c6da0d87942e3f0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tgup-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd45086f2a8be76b4f339c2cc45eb927c94c1d18a671d80852f0fc742e4af175
MD5 6643199def239208cbe2fbfee73865ba
BLAKE2b-256 48fe312b57addf67190049e7e5cbf761340d1dc1554bad5918832aaab329758c

See more details on using hashes here.

Provenance

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