Skip to content

Commit

Permalink
🌟
Browse files Browse the repository at this point in the history
  • Loading branch information
KingAbishnoi committed Aug 29, 2022
0 parents commit 0fe143f
Show file tree
Hide file tree
Showing 246 changed files with 42,107 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Abishnoi
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These are supported funding model platforms

github: ['KingAbishnoi']
community_bridge: ABG-project
custom: ['https://t.me/Abishnoi_bots', 'https://t.me/AbishnoiMF', 'https://t.me/Abishnoi1M']
80 changes: 80 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
━━━━━━━━━━━━━━━━━━━━
**ᴋɪɴɢ ᴀʙɪsʜɴᴏɪ**

<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">


<h2 align="center">
──「 ᴇxᴏɴ ʀᴏʙᴏᴛ 」──
</h2>


<h1 align="center"><b> 𝖤𝖷𝖮N 𝖱𝖮𝖡𝖮𝖳 ❗️</b></h1>

## 𝘊𝘢𝘵𝘤𝘩 𝘔𝘦 𝘐𝘯 [𝘛𝘎🏃‍♀️](https://t.me/AbishnoiMF)

## 𝖬𝗒 A𝗅𝗅 𝖡𝗈𝗍𝗌 [𝖡𝖮𝖳𝖲](https://t.me/Abishnoi_bots)

## ⚡ (ɢɪᴠᴇ sᴛᴀʀ)

_**ᴀᴠᴀɪʟᴀʙʟᴇ ᴏɴ ᴛᴇʟᴇɢʀᴀᴍ ᴀs [ᴇxᴏɴ ✘ ʀᴏʙᴏᴛ](https://t.me/AbishnoiMF)**_
━━━━━━━━━━━━━━━━━━━━
<h3 align="center">
𝗚𝗥𝗢𝗨𝗣 𝗠𝗔𝗡𝗔𝗚𝗘𝗥
</h3>

━━━━━━━━━━━━━━━━━━━━
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">

<p align="center">
<img src="https://telegra.ph/file/03264297589e442200052.jpg">
</p>

<p align="center">
<b>𝗗𝗘𝗣𝗟𝗢𝗬𝗠𝗘𝗡𝗧 𝗠𝗘𝗧𝗛𝗢𝗗𝗦</b>
</p>

<h3 align="center">
─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 」─
</h3>

<p align="center"><a href="https://dashboard.heroku.com/new?template=https://github.com/TEAM-ABG/ExonRobot"> <img src="https://img.shields.io/badge/Deploy%20On%20Heroku-black?style=for-the-badge&logo=heroku" width="220" height="38.45"/></a></p>

<p align="center"><a href="https://heroku-deployer.herokuapp.com"> <img src="https://img.shields.io/badge/Redirect%20To%20Heroku-black?style=for-the-badge&logo=heroku" width="200" height="35.45"/></a></p>


━━━━━━━━━━━━━━━━━━━━

<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">


<h3 align="center">
─「 sᴜᴩᴩᴏʀᴛ 」─
</h3>

<p align="center">
<a href="https://telegram.me/AbishnoiMF"><img src="https://img.shields.io/badge/-Support%20Group-blue.svg?style=for-the-badge&logo=Telegram"></a>
</p>
<p align="center">
<a href="https://telegram.me/Abishnoi1M"><img src="https://img.shields.io/badge/Abishnoi%20-blue.svg?style=for-the-badge&logo=Telegram"></a>
</p>

━━━━━━━━━━━━━━━━━━━━
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">
<img src="https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif">


<h3 align="center">
─「 ᴄʀᴇᴅɪᴛs 」─
</h3>
: ➻

[𝐀𝖻𝗂𝗌𝗁𝗇𝗈𝗂] × <a href="https://github.com/KingAbishnoi" alt="KingAbishnoi"> <img src="https://img.shields.io/badge/KINGABISHNOI-90302f?logo=github" /></a>

[𝐈ɢɴɪᴛᴇᴛᴇᴄʜ𝐔ᴘᴅᴀᴛᴇs] × <a href="https://t.me/IgniteTechDivision" alt="Ignitetech"> <img src="https://img.shields.io/badge/HW-90302f?logo=github" /></a>


━━━━━━━━━━━━━━━━━━━━
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "06:00"
timezone: "Asia/Jakarta"
labels:
- "dependencies"
open-pull-requests-limit: 20
28 changes: 28 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Black

on: push

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install black
run: |
python -m pip install --upgrade pip
python -m pip install -U black
- name: Run black
run: black .
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Automated code formatting
title: Format code.
body: Automated code formatting.
labels: ⚫️ black
branch: autofix
committer: Abishnoi <Abishnoi@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
delete-branch: true
35 changes: 35 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: PyLint

on: [push, pull_request]

jobs:
PEP8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install Python lint libraries
run: |
pip install autoflake isort black
- name: Remove unused imports and variables
run: |
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports .
- name: lint with isort
run: |
isort .
- name: lint with black
run: |
black .
# commit changes
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'AsuXRobot'
commit_options: '--no-verify'
repository: .
commit_user_name: KingAbishnoi
commit_user_email: 72609355+KingAbishnoi@users.noreply.github.com
commit_author: KingAbishnoi <72609355+KingAbishnoi+@users.noreply.github.com>
27 changes: 27 additions & 0 deletions ABG/ABISHNOI COPYRIGHT ©
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"""
MIT License

Copyright (c) 2022 ABISHNOI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
# ""DEAR PRO PEOPLE, DON'T REMOVE & CHANGE THIS LINE
# TG :- @Abishnoi
# MY ALL BOTS :- Abishnoi_bots
# GITHUB :- KingAbishnoi ""
42 changes: 42 additions & 0 deletions ABG/covert.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import cv2
import ffmpeg


def convert_gif(input):
"""Function to convert mp4 to webm(vp9)"""

vid = cv2.VideoCapture(input)
height = vid.get(cv2.CAP_PROP_FRAME_HEIGHT)
width = vid.get(cv2.CAP_PROP_FRAME_WIDTH)

# check height and width to scale
if width > height:
width = 512
height = -1
elif height > width:
height = 512
width = -1
elif width == height:
width = 512
height = 512

converted_name = "kangsticker.webm"

(
ffmpeg.input(input)
.filter("fps", fps=30, round="up")
.filter("scale", width=width, height=height)
.trim(start="00:00:00", end="00:00:03", duration="3")
.output(
converted_name,
vcodec="libvpx-vp9",
**{
#'vf': 'scale=512:-1',
"crf": "30"
}
)
.overwrite_output()
.run()
)

return converted_name
6 changes: 6 additions & 0 deletions ABG/helper.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HELP_IMG = ["https://telegra.ph/file/2ad7c9d508b26c3cc7c09.jpg"]

START_IMG = ["https://telegra.ph/file/2ad7c9d508b26c3cc7c09.jpg"]


PHOTO = ["https://telegra.ph/file/2ad7c9d508b26c3cc7c09.jpg"]
28 changes: 28 additions & 0 deletions ABISHNOI COPYRIGHT ©
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"""
MIT License

Copyright (c) 2022 ABISHNOI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""

# ""DEAR PRO PEOPLE, DON'T REMOVE & CHANGE THIS LINE
# TG :- @Abishnoi
# MY ALL BOTS :- Abishnoi_bots
# GITHUB :- KingAbishnoi ""
79 changes: 79 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# We're using Debian Slim Buster image
FROM python:3.9.6-slim-buster

ENV PIP_NO_CACHE_DIR 1

RUN sed -i.bak 's/us-west-2\.ec2\.//' /etc/apt/sources.list

# Installing Required Packages
RUN apt update && apt upgrade -y && \
apt install --no-install-recommends -y \
debian-keyring \
debian-archive-keyring \
bash \
bzip2 \
curl \
figlet \
git \
util-linux \
libffi-dev \
libjpeg-dev \
libjpeg62-turbo-dev \
libwebp-dev \
linux-headers-amd64 \
musl-dev \
musl \
neofetch \
php-pgsql \
python3-lxml \
postgresql \
postgresql-client \
python3-psycopg2 \
libpq-dev \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
python3-pip \
python3-requests \
python3-sqlalchemy \
python3-tz \
python3-aiohttp \
openssl \
pv \
jq \
wget \
python3 \
python3-dev \
libreadline-dev \
libyaml-dev \
gcc \
sqlite3 \
libsqlite3-dev \
sudo \
zlib1g \
ffmpeg \
libssl-dev \
libgconf-2-4 \
libxi6 \
xvfb \
unzip \
libopus0 \
libopus-dev \
&& rm -rf /var/lib/apt/lists /var/cache/apt/archives /tmp

# Pypi package Repo upgrade
RUN apt-get install -y ffmpeg python3-pip curl
RUN pip3 install --upgrade pip setuptools

ENV PATH="/home/bot/bin:$PATH"

# make directory
RUN mkdir /Exon/
COPY . /Exon
WORKDIR /Exon

# Install requirements
RUN pip3 install -U -r requirements.txt

# Starting Worker
CMD ["python3","-m","Exon"]
27 changes: 27 additions & 0 deletions Exon/ABISHNOI COPYRIGHT ©
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"""
MIT License

Copyright (c) 2022 ABISHNOI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
# ""DEAR PRO PEOPLE, DON'T REMOVE & CHANGE THIS LINE
# TG :- @Abishnoi1M
# MY ALL BOTS :- Abishnoi_bots
# GITHUB :- KingAbishnoi ""
Loading

0 comments on commit 0fe143f

Please sign in to comment.