{"id":20172410,"url":"https://github.com/jipok/telegramretranslator","last_synced_at":"2025-04-10T02:52:12.869Z","repository":{"id":166113715,"uuid":"256693249","full_name":"Jipok/TelegramRetranslator","owner":"Jipok","description":"telegram client (telethon) that forwards all messages from the selected channels/chats to another one ","archived":false,"fork":false,"pushed_at":"2020-05-14T12:52:18.000Z","size":243,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T04:22:17.625Z","etag":null,"topics":["bot","client","python","relay","retranslator","telegram","telethon"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jipok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-18T07:21:09.000Z","updated_at":"2023-07-31T17:13:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"57e6d1d8-e753-494e-8324-0a919999f225","html_url":"https://github.com/Jipok/TelegramRetranslator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jipok%2FTelegramRetranslator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jipok%2FTelegramRetranslator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jipok%2FTelegramRetranslator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jipok%2FTelegramRetranslator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jipok","download_url":"https://codeload.github.com/Jipok/TelegramRetranslator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248147061,"owners_count":21055470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","client","python","relay","retranslator","telegram","telethon"],"created_at":"2024-11-14T01:30:18.133Z","updated_at":"2025-04-10T02:52:12.860Z","avatar_url":"https://github.com/Jipok.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retranslator\nTelegram client that forwards all messages from the selected channels/chats to another one\n\n![](https://github.com/Jipok/TelegramRetranslator/blob/master/screenshot.png)\n\n## Installation\n1. Need python 3.5 or higher\n2. `pip3 install telethon`\n3. `wget https://raw.githubusercontent.com/Jipok/TelegramRetranslator/master/retranslator.py`\n4. Register app on my.telegram.org\n5. Change the `API_HASH` and `API_ID` in the script to values from my.telegram.org\n\n## Run\n1. `python3 retranslator.py`\n\n*or*\n```\nchown +x ./retranslator.py\n./retranslator.py\n```\n2. Log in\n3. Open normal telegram client\n4. Find a chat with the retranslator bot. There should be a list of dialogs with their id.\n5. Select the channel/chat id where the messages will be forwarded.\n6. Select the id of chats and channels from where messages should be forwarded.\n7. Selecting same id again will remove chat/channel from forwarding.\n\n## Multiple accounts\nThe script saves two files:\n- `default.id_list` which contains the id list. The first ID in the file is the target\n- `default.session` which contains data for authentication. This file is processed by telethon.\n\nYou can give the script another profile name:\n```\npython3 retranslator.py another_name\n# or\n./retranslator.py another_name\n```\n\n## SOCKS5 proxy\n1. `pip install pysocks`\n2. Uncomment 5th line\n3. Uncomment the 34th line and specify the proxy server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjipok%2Ftelegramretranslator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjipok%2Ftelegramretranslator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjipok%2Ftelegramretranslator/lists"}