https://github.com/esfelurm/github-to-telegram
Bot sending GitHub projects to Telegram channel
https://github.com/esfelurm/github-to-telegram
bot-github bot-telegram github-to-telegram repository-telegram robot-github-to-telegram send-github-to-channel-telegram
Last synced: 4 months ago
JSON representation
Bot sending GitHub projects to Telegram channel
- Host: GitHub
- URL: https://github.com/esfelurm/github-to-telegram
- Owner: esfelurm
- Created: 2024-02-06T12:47:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T13:24:01.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T22:51:12.274Z (10 months ago)
- Topics: bot-github, bot-telegram, github-to-telegram, repository-telegram, robot-github-to-telegram, send-github-to-channel-telegram
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github To Telegram
Have a backup of GitHub projects in your channel with this robot!
The robot is upgradable!
`If you live in Iran and run on your system, use a valid VPN!`
The job of the robot is to find the projects related to the specified TOPIC and then send it to the Telegram channel.
## Options
- Remove duplicate posts
- Ability to screenshot from the GitHub page (With 2 sites)
- Download the README.md file of the projects (optional)
- Get the source code of the project in the form of a zip file (optional)
- Translation of project descriptions into Persion
- Get complete project information
## Screen Shot

## Sample

# How To work
How to work:
In order to publish projects related to a topic in your channel, you must use the following command :
/change [name topic] [number] [OK/NO] [OK/NO]
The first parameter is the TOPIC name The second parameter is the number of projects you want to send The third parameter is for whether you want the readme.md file of the repositories to be sent or not The last parameter is the same as the third parameter, with the difference that it sends the source code of the project instead of the readme.md file
Example : ```/change DDOS 10 OK OK```
## Install
Tested on Python versions: 3.8.3 , 3.11.6
```
git clone https://github.com/esfelurm/Github-To-Telegram
cd Github-To-Telegram
[SET FILE Github-To-Telegram.py]
Running on a server or system: python Github-To-Telegram.py
```
# Setting
```
admin_id = 'Admin numeric ID'
telegram_bot_token = "Token Bot"
telegram_channel_id = "ID Channel (ex : @esfelurm)"
Id_bot = "Username Bot : (ex : @esfelurm_bot)"
```