A Git Alert Bot - Github Integration for Pyrogram & Telethon

Overview

Yet Another GitAlertBot

Inspired From @Pokurt's GitGram

Run Bot:

Local Host

  • Git Clone Repo :
  • For Telethon Version : git clone https://github.com/DevsExpo/GitAlertBot -b telethon
  • For Pyrogram Version : git clone https://github.com/DevsExpo/GitAlertBot -b pyrogram
  • Make local.env File With the Values As Shown Below :
API_ID=12222
API_HASH="api_hash"
BOT_TOKEN="bot_token"
HOST="http://127.0.0.1"
PORT=8000
  • Now Just Run python3 git_alert_core.py
  • Now Navigate To Url : http://127.0.0.1:8080/ghook/<chat-id> (replace with the chat where you want alerts to be sent)
  • Go to Your Repo And Set The Webhook Url & Make Sure To Set It To Json. The Bot Should Sent Alerts Now.
  • Happy Gitting :)

Heroku

  • Choose Your Fav Version And Click On Deploy Button
  • Fill In The Values
  • Turn On Dyno
  • Now Navigate To Url : https://<heroku-app-name>.herokuapp.com/ghook/<chat-id> (replace with the chat where you want alerts to be sent and to your heroku app name)
  • Go to Your Repo And Set The Webhook Url & Make Sure To Set It To Json. The Bot Should Sent Alerts Now.
  • Happy Gitting :)

Telethon Version

Deploy To Heroku

Pyrogram

Deploy To Heroku

You might also like...
Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API.

Tg_PHub_Bot Telegram PHub Bot using ARQ Api and Pyrogram. This Bot can Download and Send PHub HQ videos in Telegram using ARQ API. OS Support All linu

Simple base for a telethon bot!

Telethon Bot Simple base used to make a Telegram Bot in telethon. Join @BotzHub! Note: The client, here, is named BotzHub. Fork and add your plugins t

A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram.

telegram-logger A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram. Requirements Python 3.6

A Powerful Telethon Based Telegram Spam Bot.
A Powerful Telethon Based Telegram Spam Bot.

Yukki Multi Spam Bot 🚀 Deploy on Heroku You can Use these API ID and API HASH while deploying String Session No Requirement of API ID and API HASH Ge

A Bot to Upload files to Many Cloud services. Powered by Telethon.
A Bot to Upload files to Many Cloud services. Powered by Telethon.

oVo MultiUpload V1.0 👀 A Bot to Upload files to Many Cloud services. Powered by Telethon _ 🎯 Follow me and star this repo for more telegram bots. @H

A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon.
A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon.

GilbertAnimeBot A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon. How to setup/deploy. Read these notes carefully b

3X Fast Telethon Based Bot

📺 YouTube Song Downloader Bot For Telegram 🔮 3X Fast Telethon Based Bot ⚜ Easy To Deploy 🤗

A Powerfull Userbot Telegram PandaX_Userbot, Vc Music Userbot + Bot Manager based Telethon

Support ☑ CREDITS THANKS YOU VERRY MUCH FOR ALL Telethon Pyrogram TeamUltroid TeamUserge CatUserbot pytgcalls Dan Lainnya

A telegram bot for generate fake details. Written in python using telethon

FakeDataGenerator A telegram bot for generate fake details. Written in python using telethon. Mandatory variables API_HASH Get it from my telegram.org

Comments
  • Sourcery refactored telethon branch

    Sourcery refactored telethon branch

    Branch telethon refactored by Sourcery.

    If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Review changes via command line

    To manually merge these changes, make sure you're on the telethon branch, then run:

    git fetch origin sourcery/telethon
    git merge --ff-only FETCH_HEAD
    git reset HEAD^
    

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • Sourcery refactored pyrogram branch

    Sourcery refactored pyrogram branch

    Branch pyrogram refactored by Sourcery.

    If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Review changes via command line

    To manually merge these changes, make sure you're on the pyrogram branch, then run:

    git fetch origin sourcery/pyrogram
    git merge --ff-only FETCH_HEAD
    git reset HEAD^
    

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • minor mistakes (Sourcery refactored)

    minor mistakes (Sourcery refactored)

    Pull Request #5 refactored by Sourcery.

    Since the original Pull Request was opened as a fork in a contributor's repository, we are unable to create a Pull Request branching from it.

    To incorporate these changes, you can either:

    1. Merge this Pull Request instead of the original, or

    2. Ask your contributor to locally incorporate these commits and push them to the original Pull Request

      Incorporate changes via command line
      git fetch https://github.com/DevsExpo/GitAlertBot pull/5/head
      git merge --ff-only FETCH_HEAD
      git push

    NOTE: As code is pushed to the original Pull Request, Sourcery will re-run and update (force-push) this Pull Request with new refactorings as necessary. If Sourcery finds no refactorings at any point, this Pull Request will be closed automatically.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • Telethon pull request notification error

    Telethon pull request notification error

    File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1489, in handle_request 2022-01-01T16:14:47.323209+00:00 app[web.1]: return await self.full_dispatch_request(request_context) 2022-01-01T16:14:47.323210+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1514, in full_dispatch_request 2022-01-01T16:14:47.323210+00:00 app[web.1]: result = await self.handle_user_exception(error) 2022-01-01T16:14:47.323211+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 964, in handle_user_exception 2022-01-01T16:14:47.323211+00:00 app[web.1]: raise error 2022-01-01T16:14:47.323212+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1512, in full_dispatch_request 2022-01-01T16:14:47.323212+00:00 app[web.1]: result = await self.dispatch_request(request_context) 2022-01-01T16:14:47.323212+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/quart/app.py", line 1557, in dispatch_request 2022-01-01T16:14:47.323213+00:00 app[web.1]: return await self.ensure_async(handler)(**request_.view_args) 2022-01-01T16:14:47.323213+00:00 app[web.1]: File "/app/git_alert_core.py", line 202, in ghoo_k 2022-01-01T16:14:47.323214+00:00 app[web.1]: {escape(data['pull_request']['body'])} 2022-01-01T16:14:47.323214+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/html/init.py", line 19, in escape 2022-01-01T16:14:47.323214+00:00 app[web.1]: s = s.replace("&", "&") # Must be done first! 2022-01-01T16:14:47.323215+00:00 app[web.1]: AttributeError: 'NoneType' object has no attribute 'replace'

    opened by Adarsh-Goel 0
Releases(telethon-0.0.1)
Owner
DevsExpo
A Organization Which Makes Awesome Open Source Projects.
DevsExpo
This is simply code for bitcoin fair value.

About The Project This is a code for bitcoin fair value, its simply exclude bubble data using RANSAC method, and then plot the results. Check youtube

BitcoinRaven 4 Mar 26, 2022
Track player's stats, find out when they're online and grinding!

Hypixel Stats Tracker Track player's stats, find out when they're online and playing games! INFO Showcase Server: https://discord.gg/yY5qQHPar6 Suppor

4 Dec 18, 2022
Generate Heroku-like random names to use in your python applications

HaikunatorPY Generate Heroku-like random names to use in your python applications. Installation pip install haikunator Usage Haikunator is pretty sim

Atrox 116 Nov 15, 2022
A tool for extracting plain text from Wikipedia dumps

WikiExtractor WikiExtractor.py is a Python script that extracts and cleans text from a Wikipedia database dump. The tool is written in Python and requ

Giuseppe Attardi 3.2k Dec 31, 2022
Changes your desktop wallpaper based on the weather.

WallPaperChanger 🖼️ Description ⛈️ This Python script changes your desktop wallpaper based on the weather. Cloning 🌀 $ git clone https://github.com/

Clarence Yang 74 Nov 29, 2022
Activate exitlag trial accounts

Exitlag Account Activator Activate exitlag trial accounts (unlimited trial accounts) ⭐ If you want to support me, follow me on github and star the pro

Benjamin 173 Nov 10, 2022
Wats2PDF - Convert whatsapp exported chat(without media) into a readable pdf format

Wats2PDF convert whatsApp exported chat into a readable pdf format. convert with

5 Apr 26, 2022
Translator based on Google API

Yakusu Toshiko Translator based on Google API. Instance of this bot is running as @yakusubot. Features Add a plus to a language's name to show an orig

Arisu W. 2 Sep 21, 2022
Powerful and Advance Telegram Bot with soo many features😋🔥❤

Chat-Bot Reach this bot on Telegram Chat Bot New Features 🔥 ✨ Improved Chat Experience ✨ Removed Some Unnecessary Commands ✨ Added Facility to downlo

Sanila Ranatunga 10 Oct 21, 2022
An API wrapper for convertio.co written in Python.

An API wrapper for convertio.co written in Python.

Moonrise 9 Sep 27, 2022
Its Is A Telegram Maths Basic Calculator Bot

Its Is A Telegram Maths Basic Calculator Bot

ANKIT KUMAR 1 Dec 26, 2021
Messing around with GitHub API to look at omicron build times

gh-workflow-runs This is a very simple tool to dump out basic information about workflow runs for a GitHub repo. The structure is based on gh-subscrip

David Pacheco 1 Nov 30, 2021
Telegram Bot to learn English by words and more.. ( in Arabic )

Get the mp3 files Extract the mp3.rar on the same file that bot.py on install requirements pip install -r requirements.txt #Then enter you bot token

Plugin 10 Feb 19, 2022
Companion "receiver" to matrix-appservice-webhooks for [matrix].

Matrix Webhook Receiver Companion "receiver" to matrix-appservice-webhooks for [matrix]. The purpose of this app is to listen for generic webhook mess

Kim Brose 13 Sep 29, 2022
Python: Asynchronous client for the Tailscale API

Python: Asynchronous client for the Tailscale API Asynchronous client for the Tailscale API. About This package allows you to control and monitor Tail

Franck Nijhof 9 Nov 22, 2022
This project uses Youtube data API's to do youtube tags analysis based on viewCount, comments etc.

Youtube video details analyser Steps to run this project Please set the AuthKey which you can fetch from google developer console and paste it in the

1 Nov 21, 2021
Python bot for send videos of a Youtube channel to a telegram group , channel or chat

py_youtube_to_telegram Usage: If you want to install ytt and use it, run this command: sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/nima

Nima Fanniasl 8 Nov 22, 2022
Want to play What Would Rather on your Server? Invite the bot now! 😏

What is this Bot? 👀 What You Would Rather? is a Guessing game where you guess one thing. Long Description short Take this example: You typed r!rather

FSP Gang s' YT 3 Oct 18, 2021
An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.

TWINT - Twitter Intelligence Tool No authentication. No API. No limits. Twint is an advanced Twitter scraping tool written in Python that allows for s

TWINT Project 14.2k Jan 03, 2023
WhatsApp Api Python - This documentation aims to exemplify the use of Moorse Whatsapp API in Python

WhatsApp API Python ChatBot Este repositório contém uma aplicação que se utiliza

Moorse.io 3 Jan 08, 2022