# aahnik/tgcf

The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.

Repository: https://github.com/aahnik/tgcf
Canonical: https://ross.abutalabs.com/products/tgcf
Homepage: https://github.com/aahnik/tgcf/wiki
Language: Python
License: MIT
License Family: permissive
Topics: telegram-bot, telethon, user-bot, telegram-userbot, telegram, mtproto, python3, script, python-script, aahnik, aahnik-daw, telegram-account, telegram-chat, tgcf, python, telegram-forward-bot, telegram-backup-bot, telegram-sync-bot, hacktoberfest
Last push: 2024-05-06T09:49:13+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2107, "days_push": 849, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1617, forks 871 (observed 2026-08-28T04:05:11.978632+00:00)

## What it is
tgcf is a Python-based Telegram message forwarding automation tool that syncs messages between source and destination chats using either bot or user accounts. It supports past (historical) and live forwarding modes, plugin-based customization (filtering, formatting, regex replacement, watermarks, OCR), and offers a web interface, CLI, and JSON configuration.

## Use cases
- forward messages from one telegram channel to another automatically
- sync telegram chats in real time
- back up telegram channel messages to another chat
- clone and repost messages across telegram groups
- auto-post content to telegram channels
- filter and reformat forwarded telegram messages with regex
- add watermarks or OCR to forwarded telegram media

## When to choose
- you need automated message forwarding between Telegram chats with customization
- you want both historical (past) and live forwarding modes
- you prefer a tool with a web UI, CLI, and JSON config options
- you need plugins for filtering, formatting, replacing, watermarking, or OCR on forwarded messages

## When to avoid
- you need forwarding on platforms other than Telegram
- you require an officially supported API rather than userbot/MTProto automation (risk of account restrictions)
- you need a managed hosted service with no self-hosting
- you want a simple one-off message copy without ongoing sync

## Facets
- artifact type: cli-tool
- maturity: active
- function: workflow-automation, webhook, ocr, image-processing, cli, developer-tools
- domain: messaging-platforms, self-hosted, social-media
- platform: python, cli, cross-platform, windows
- tags: telegram, message-forwarding, userbot, telethon, mtproto, auto-poster, chat-sync, automation, docker, linux, macos

## Member repositories
- aahnik/tgcf (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:11.978632+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:49:44.457259+00:00, confidence not recorded.
  - readme: https://github.com/aahnik/tgcf (fetched 2026-08-28T04:05:11.978632+00:00, sha 465f00b54420)
  - homepage: https://github.com/aahnik/tgcf/wiki (fetched 2026-08-29T11:22:13.093421+00:00, sha f2cad5868382)
  - registry_pypi: https://pypi.org/pypi/tgcf/json (fetched 2026-08-29T11:22:13.095814+00:00, sha b14dd0119282)
- Data as of 2026-08-30T08:39:29.467469+00:00.
