Skip to content

Latest commit

 

History

History
177 lines (135 loc) · 5.31 KB

README.md

File metadata and controls

177 lines (135 loc) · 5.31 KB

TelegramForwarder 🚀

License Python Version Telegram Bot API Code style: black GitHub issues GitHub stars Contributions welcome Activity

TelegramForwarder is a powerful and user-friendly Telegram bot designed for automated message forwarding between channels. Built with Python, it offers an intuitive interface for managing channel content synchronization while supporting all types of media.

English | 中文说明

Trading Flow

✨ Features

  • 🔄 Automated message forwarding between channels
  • 📱 User-friendly inline keyboard interface
  • 🔍 Monitor multiple source channels
  • 📢 Forward to multiple target channels
  • 📋 Channel pairing management
  • 🖼️ Support for all media types (photos, videos, documents)
  • 💾 SQLite database for persistent storage
  • 🔒 Owner-only access control
  • ⚡ Asynchronous processing for better performance

🚀 Quick Start

Prerequisites

  • Python 3.8 or higher
  • Telegram Bot Token
  • API ID and Hash from Telegram

Installation

  1. Clone the repository:
git clone https://github.com/gentlemanhu/TelegramForwarder.git
cd TelegramForwarder
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure your environment variables:
cp .env.example .env
# Edit .env with your configuration
  1. Run the bot:
python main.py

🎁 Support the Project

If you find this project helpful, please consider supporting its development:

Digital Asset Address
BTC 1588hGJGh8WfeQNEydxEcurpPR8CaH9FCX
USDT (TRC20) TY1A9McJd6wz1ZgfVHmLEoQGFJX27WSNoN
ETH 0x5aa791a5fe03f823275d7240ebe887d35fdf0f3b

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


中文说明

功能特点

  • 🔄 自动转发频道消息
  • 📱 友好的内联键盘界面
  • 🔍 支持监控多个源频道
  • 📢 支持转发到多个目标频道
  • 📋 频道配对管理
  • 🖼️ 支持所有媒体类型(图片、视频、文档)
  • 💾 使用 SQLite 数据库持久化存储
  • 🔒 仅限所有者访问控制
  • ⚡ 异步处理提升性能

快速开始

前置要求

  • Python 3.8 或更高版本
  • Telegram Bot Token
  • Telegram API ID 和 Hash

安装步骤

  1. 克隆仓库:
git clone https://github.com/gentlemanhu/TelegramForwarder.git
cd TelegramForwarder
  1. 安装依赖:
pip install -r requirements.txt
  1. 配置环境变量:
cp .env.example .env
# 编辑 .env 文件,填入你的配置
  1. 运行机器人:
python main.py

🎁 支持项目

如果您觉得这个项目对您有帮助,欢迎支持项目的开发:

Digital Asset Address
BTC 1588hGJGh8WfeQNEydxEcurpPR8CaH9FCX
USDT (TRC20) TY1A9McJd6wz1ZgfVHmLEoQGFJX27WSNoN
ETH 0x5aa791a5fe03f823275d7240ebe887d35fdf0f3b

If you find this project helpful, please consider giving it a star ⭐ to show your support!

如果这个项目对你有帮助,请考虑给它一个星标 ⭐ 以示支持!