{"id":13617526,"url":"https://github.com/bestmatteo/Telegram-Bot","last_synced_at":"2025-04-14T06:34:14.725Z","repository":{"id":43391018,"uuid":"274784588","full_name":"bestmatteo/Telegram-Bot","owner":"bestmatteo","description":"Telegram auto forwarder messages with Selenium","archived":false,"fork":false,"pushed_at":"2024-07-22T11:34:04.000Z","size":9345,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-01T20:47:49.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bestmatteo.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-06-24T22:51:48.000Z","updated_at":"2024-07-25T10:49:37.000Z","dependencies_parsed_at":"2024-01-17T00:35:30.298Z","dependency_job_id":"4b3de7a5-933d-4606-97b0-e4a01585c112","html_url":"https://github.com/bestmatteo/Telegram-Bot","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/bestmatteo%2FTelegram-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestmatteo%2FTelegram-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestmatteo%2FTelegram-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestmatteo%2FTelegram-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestmatteo","download_url":"https://codeload.github.com/bestmatteo/Telegram-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223621829,"owners_count":17174766,"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":[],"created_at":"2024-08-01T20:01:43.194Z","updated_at":"2024-11-08T02:30:35.975Z","avatar_url":"https://github.com/bestmatteo.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1\u003eTelegram-Bot\u003c/h1\u003e\r\n\r\n#### DISCLAMER: When I created this bot, I was 17 and learning code, JS files are meant to be JSON files. You may change it if you want, but the code works.\r\n\r\n### A Selenium-way to forward messages automatically \r\n\r\n## Get started \r\n\r\n1. Install the requirements\r\n\r\n```\r\npip install -r requirements.txt\r\n```\r\n\r\n2. Setup your new account\r\n\r\n```\r\npython setup.py\r\n```\r\nEnter any key beside 0, chrome will open up and after that you must enter your telegram account.\r\nAfter 30 seconds or more, you will be able to continue the process after entering your telegram account by pressing any key.\r\n\r\n3. Setup groups/channels and PMs\r\nEnter any key beside 0 and type:\r\n```\r\n0 to exit\r\n1 to setup group 1\r\n2 to setup group 2\r\n3...\r\n4...\r\n5 to setup group 5\r\n9 to setup ALL the five groups\r\n```\r\nEnter the url of your group/channels or PM one by one (With https://)\r\n\r\nChrome will open up and setup the group.\r\n\r\n4. Find your chrome's profile path\r\nOpen webscraping.py with a text editor, go to line 92 and edit the path to your user's path.\r\nExample: \r\n```C:\\\\Users\\\\gusta\\\\AppData\\\\Local\\\\Google\\\\Chrome\\\\User Data\\\\Default```\r\n\r\n## Setup the group that will receive the messages\r\n\r\nOpen Telegram via cellphone app and Pin the group at the top of your conversation history (Must the the first one pinned). \r\n\r\n## Start Forwarding \r\nEnter: \r\n\r\n```python webscraping.py``` \r\n\r\nNow the bot will keep tracking your new messages.\r\n\r\n\u003ch1\u003eThe end\u003c/h1\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestmatteo%2FTelegram-Bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestmatteo%2FTelegram-Bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestmatteo%2FTelegram-Bot/lists"}