Metadata-Version: 2.4
Name: t-for
Version: 1.0.1
Summary: Telegram media forwarder with duplicate prevention per source-destination pair.
Author: sunimon p p
Project-URL: Homepage, https://github.com/yourusername/t-for
Keywords: telegram,telethon,forwarder,media
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: telethon>=1.40.0
Requires-Dist: tqdm>=4.67.0
Requires-Dist: colorama>=0.4.6
Dynamic: license-file

# 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

```bash
pip install t-for
```

## Configure Telegram API

Get your API ID and API Hash from:

https://my.telegram.org

### Windows CMD

```cmd
set TELEGRAM_API_ID=123456
set TELEGRAM_API_HASH=your_api_hash
```

### PowerShell

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

## Run

```bash
t-for
```

## History

Forward history is stored in:

```text
forward_history.json
```

Each source → destination pair is tracked separately.
