Skip to main content

Send files to Telegram contacts from your CLI

Project description

📨 tg-send-cli

Send files to Telegram contacts from your CLI with a pretty TUI.

PyPI Python

Features

  • Pretty TUI — Colors, progress bars, and unicode symbols
  • Fuzzy search — Find contacts by typing part of their name
  • Easy install — One command installation

Installation

uv tool install tg-send-cli

Or with pip:

pip install tg-send-cli

Setup

Before first use, you need Telegram API credentials:

  1. Go to my.telegram.org
  2. Log in with your phone number
  3. Create a new application
  4. Copy your API ID and API Hash

The tool will prompt you for these on first run.

Usage

tgsend photo.jpg        # Send a photo
tgsend document.pdf     # Send a document
tgsend video.mp4        # Send a video

Contact Selection

  • Type to fuzzy search through contacts
  • ↑↓ to navigate
  • Enter to select
  • Esc to cancel

First Run

On first run, you'll be prompted to:

  1. Enter your Telegram API credentials
  2. Authenticate with your phone number

Your session is saved locally at ~/.telegram_file_sender/.

License

MIT

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

tg_send_cli-1.0.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

tg_send_cli-1.0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file tg_send_cli-1.0.0.tar.gz.

File metadata

  • Download URL: tg_send_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tg_send_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f6806f2490f62532fe0f20f62a6f02dd09f9fad96b09f2ab55a1fad148eb05c4
MD5 1f082f785c9226b6b46987f97ee5c527
BLAKE2b-256 59f2876d246de59ef99a0520dbbc71ab27ac650512c050a084284b83af716f68

See more details on using hashes here.

File details

Details for the file tg_send_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tg_send_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tg_send_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da30f22bc54f9dab6757e2a7b0784228eb499928f0edbc1c002102e87b489576
MD5 2a4564667e61283392c15a2a7cae4735
BLAKE2b-256 18072c46be8f77462ee61ec38d02b9d51e49fbaf21ffdfd67a3031a43edce203

See more details on using hashes here.

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