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
Python script to backup/convert your Spotify playlists into the XSPF format.

Python script to backup/convert your Spotify playlists into the XSPF format.

Chris Ovenden 4 Jun 09, 2022
a discord bot coded in Python which shows news based on the term searched by the user

Noah Miller v1.0 a discord bot coded in Python which shows news based on the term searched by the user Add the bot to your server About This is a disc

klevr 3 Nov 08, 2021
The worst but simplest webhook bot for GitHub and Matrix.

gh-bot gh-bot is maybe the worst (but simplest) Matrix webhook bot for Github. Example of commits: Example of workflow finished: Setting up Server You

Jae Lo Presti 4 Aug 18, 2022
Asynchronous Python API Wrapper for phisherman.gg

Asynchronous Python API Wrapper for phisherman.gg

Qrista Labs 4 Apr 30, 2022
Bot telegram yang menggemakan pesan apa pun yang Anda kirim atau modifikasi untuk menganonimkan pesan

Bot telegram yang menggemakan pesan apa pun yang Anda kirim atau modifikasi untuk menganonimkan pesan

KEN KAN 2 Oct 21, 2022
Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot.

OpasiumAI Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot. Insta

Dan 3 Oct 15, 2021
Discord-RAID-Tool - Hacks/tools

How to use Python must be installed run install-config If you dont have python installed, download python 3.7.6 and make sure you click on the 'ADD TO

1 Jan 01, 2022
Cdk-python-crud-app - CDK Python CRUD App

Welcome to your CDK Python project! You should explore the contents of this proj

Shapon Sheikh 1 Jan 12, 2022
Growtopia server_data.php reader with bypass method, using discord bot

Server_data.php-reader Growtopia server_data.php reader with bypass method, using discord bot How to use 1 install python 2 change your bot token

7 Jul 16, 2022
An API wrapper around Discord API.

NeoCord This project is work in progress not for production use. An asynchronous API wrapper around Discord API written in Python. Features Modern API

Izhar Ahmad 14 Jan 03, 2022
Unofficial WebApp for WhatsApp Web created in PyQt6

Unofficial WebApp for WhatsApp Web created in PyQt6 using PyQt6-WebEngine

Rafael Tosta Santos 126 Dec 20, 2022
A zero-dependency Python library for getting the Kubernetes token of a AWS EKS cluster

tokeks A zero-dependency Python library for getting the Kubernetes token of a AWS EKS cluster. No AWS CLI, third-party client or library (boto3, botoc

Chris Karageorgiou Kaneen 6 Nov 04, 2022
Backend.AI Client Library for Python

Backend.AI Client The official API client library for Backend.AI Usage (KeyPair mode) You should set the access key and secret key as environment vari

Lablup 10 Feb 10, 2022
Tools to help record data from Qiskit jobs

archiver4qiskit Tools to help record data from Qiskit jobs. Install with pip install git+https://github.com/NCCR-SPIN/archiver4qiskit.git Import the

0 Dec 10, 2021
Spotify Top Lists - get the current top lists of a user from the Spotify API and display them in a Flask app

Spotify Top Lists This is a simple script that will get the current top lists of a user from the Spotify API and display them in a Flask app. Requirem

Yasin 0 Oct 16, 2022
Python API wrapper around Trello's API

A wrapper around the Trello API written in Python. Each Trello object is represented by a corresponding Python object. The attributes of these objects

Richard Kolkovich 904 Jan 02, 2023
Fully automated Chegg Discord bot for "homework help"

cheggbog Fully automated Chegg Discord bot for "homework help". Working Sept 15, 2021 Overview Recently, Chegg has made it extremely difficult to auto

Bryce Hackel 8 Dec 23, 2022
This Instagram app created as a clone of instagram.Developed during Moringa Core.

Instagram This Instagram app created as a clone of instagram.Developed during Moringa Core. AUTHOR By: Nyagah Isaac Description This web-app allows a

Nyagah Isaac 1 Nov 01, 2021
Tiktok-bot - A tiktok bot with python

Install the requirements pip install selenium pip install pyfiglet==0.7.5 How ca

Ukis 5 Aug 23, 2022
A Telegram Bot To Stream Videos in Telegram Voice Chat.

Video Stream X Bot Telegram bot project for streaming video on telegram video chat, powered by tgcalls and pyrogram Deploy to Heroku 👨‍🔧 The easy wa

Mⷨoͦns͛ᴛⷮeͤrͬ Zeͤrͬoͦ 13 Dec 05, 2022