Open source · MIT licence · Free

Your channels,
relayed your way.

Forwarder copies new messages from any Telegram group or channel you're in to the chats you choose, filtered and cleaned on the way. It runs on your own machine.

  • NWNews Wire AfricaChannel
  • MBThe Morning BriefChannel
  • CSCrypto Signals DailyChannel
Rules
  • Remove links
  • Block "sponsored"
  • Remove @mentions
  • Add footer
  • MDMy DeskChannel
  • TCTeam ChatGroup
Example: a link is removed, a sponsored post is blocked, an @mention is cleaned, and a footer is added before each message lands.

One task per route.
A switch to turn it on.

Each task has a name, its source and destination chats, a mode and its own rules. Running tasks pick up again after a restart.

The Tasks screen: three forwarding tasks with on and off switches, and a recent activity list below

How it works

It signs in as you, so it sees what you see.

Forwarder connects as your own Telegram account, so it can read channels you only subscribe to. A bot can only see chats it has been added to.

1

Pick the route

Mark any chat you're in as From or To. A task can have many of each.

2

Choose a mode

Forward keeps the "Forwarded from" header. Copy re-sends the message as your own, and allows text edits.

3

Turn it on

New messages relay as they arrive. The Activity screen shows every relay, warning and error.

Task editor, Route tab: Forward or Copy mode, and From and To toggles for each chat

The route, at a glance

The editor shows where messages come from, where they go, the mode and the time of the last relay. Search finds any chat you're in.

You can revoke the login at any time in Telegram under Settings → Devices.

Rules

Keep what you want.
Clean what you keep.

Filters that drop a message

  • An allow list: the text must contain one of its words
  • A block list: any hit drops the message
  • Skip media, or skip messages without media
  • Only relay messages that carry a link
  • Skip posts already forwarded from elsewhere

Edits that rewrite the text

  • Remove links
  • Remove @mentions
  • Find and replace, one per line: find => replace
  • A footer added to every message

Edits need Copy mode. A task in Forward mode with edits set won't start, so nothing is silently skipped.

Task editor, Rules tab: allow and block lists and filter switches, with one unsaved change counted beside Save

Safety

Built so a task can't run away.

Loops are refused

A task that sends into its own source, or closes a cycle with another running task, won't start.

Sends are paced

At most one send every 0.25 seconds overall, and one every 1.5 seconds into any single chat, so a burst never trips Telegram's limits.

Nothing relays twice

Recently relayed messages are remembered, so a restart or a busy channel never sends a duplicate.

Your data stays home

Your login, tasks and history live in one folder on your machine, and messages go only between Telegram and you.

Light, dark and phone

The interface follows Apple's design guidelines. It switches between light and dark with your system, and on a phone the sidebar becomes a floating tab bar.

The Tasks screen split down the middle, light appearance on the left and dark on the right
Tasks and the task editor on phones, with a floating tab bar

Get started

Running on your machine in three steps.

You need Python 3, or Docker, and a Telegram account.

  1. 1

    Get your API keys

    Sign in at my.telegram.org and open API development tools to get an api_id and api_hash.

  2. 2

    Install and run

    git clone https://github.com/withZion/tg-forwarder
    cd tg-forwarder
    python -m venv .venv
    .venv\Scripts\activate        # macOS/Linux: source .venv/bin/activate
    pip install -r requirements.txt
    python main.py
  3. 3

    Sign in and add a task

    Open http://127.0.0.1:8000, enter your keys and phone number, then the code Telegram sends you. Choose New Task, pick your chats and turn it on.

Prefer a server? The repo includes a Dockerfile and a host check script. It needs an always-on machine, so shared website hosting won't keep it running.

Good to know

What it doesn't do yet.

  • Albums relay as separate messages, not one grouped post.
  • Edits and deletions in a source aren't carried over to the destination.
  • Messages posted while it's stopped aren't relayed when it starts again.
  • Protected channels refuse Forward mode. Copy mode relays their text, though Telegram may still block their media.