Skip to main content

Telegram media forwarder with duplicate prevention per source-destination pair.

Project description

t-for

Telegram media forwarder with duplicate prevention.

Features

  • Forward photos, videos, documents, or all media.
  • Prevents forwarding the same media twice for the same source → destination pair.
  • Different destination channels are treated independently.
  • Stores forwarding history locally.
  • No media files are downloaded to disk.

Installation

pip install t-for

Configure Telegram API

Get your API ID and API Hash from:

https://my.telegram.org

Windows CMD

set TELEGRAM_API_ID=123456
set TELEGRAM_API_HASH=your_api_hash

PowerShell

$env:TELEGRAM_API_ID="123456"
$env:TELEGRAM_API_HASH="your_api_hash"

Run

t-for

History

Forward history is stored in:

forward_history.json

Each source → destination pair is tracked separately.

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

t_for-1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

t_for-1.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file t_for-1.0.1.tar.gz.

File metadata

  • Download URL: t_for-1.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for t_for-1.0.1.tar.gz
Algorithm Hash digest
SHA256 447a5ab65754f47a3466c0ab028fcc3dc131b23637bf5c2128570a972a385e6f
MD5 544850cde5db541d7dd70e29761ff9b5
BLAKE2b-256 9a57eef3851c248e0e6adc853e1d39bf92d175bd298a446122f04a5234739d49

See more details on using hashes here.

File details

Details for the file t_for-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: t_for-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for t_for-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d614eff53807cd2d6d730c5089079351ca60f1014f79c520a2d05e37d4fc15d6
MD5 697e4301bb4d5f758f201e13da41a814
BLAKE2b-256 0f1bdc9bf2195434192aad3bc2505c95172c5391a9058066f81e6fbcc08f5658

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