{"repo":"khoben/telemirror","free":true,"listed":false,"github":"https://github.com/khoben/telemirror","clone":"git clone https://github.com/khoben/telemirror.git","description":"Telegram message forwarder (client API)","language":"Python","stars":300,"topics":["python","telegram","mirroring","telethon","heroku","forwarder","telegram-bot","telegram-forwarder","telegram-forward-bot"],"license":"GPL-3.0","category":"chat-messaging","readme_excerpt":"Telegram message forwarder (client API) Functionality - Live forwarding and updating messages - Source and target channels/chats/topics (one-to-one, many-to-one, many-to-many) mapping - Incoming message filters: word replacing, forward formating, skipping by keyword and more Prepare 1. Create Telegram App 2. Obtain API ID and API HASH 3. Get SESSION STRING SESSION STRING can be obtained by running login.py with provided API ID and API HASH environment variables. ❗ DON'T USE your own account. 4. Setup Postgres database or use InMemoryDatabase with USE MEMORY DB=true parameter in .env file 5. Fill .env with your data .env-example contains the minimum environment configuration to run with an in-memory database. .env overview 6. Setup mirror forwarding config: mirror.config.yml-example contains an example config: to set up a filter, specify the name of the filter (should be accessable from ./telemirror/messagefilters ) and pass named parameters with the same types but in yaml syntax. Example: ./.configs/mirror.config.yml or .env (limited) can be used to configure mirroring: ./.configs/mirror.config.yml mirroring config overview .env mirroring config overview Channel mirroring config priority : - YAML CONFIG ENV from .env - from ./.configs/mirror.config.yml file - CHAT MAPPING, REMOVE URLS, REMOVE URLS LIST, REMOVE URLS WL, DISABLE DELETE, DISABLE EDIT from .env file ❓ Channels ID can be fetched by using Telegram bot. ❗ Note: never push your .env / .yml files with real crendential","default_branch":null,"files":null,"tree":[],"storefront":"/r/khoben","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/khoben/telemirror/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}