Git Product home page Git Product logo

zy's Introduction

PYTEL Based on Pyrogram

with asynchronous I/O - Python 3 MTProto library to interact with Telegram's API.

Fitures

  • Multi Client SESSION
  • ChatGPT Open AI
  • Managing Group. ( Telegram )
  • Social Media. ( Searching & Downloader ) Downloader: Instagram/Tiktok/Youtube/Pinterest Searching: Google/Instagram/Tiktok/Youtube/Github etc.

Get Session Pyrogram

python3 -m pygen

Recommended, get string from repository.

Environment

Copy file sample.env or rename to config.env
cp sample.env config.env

Advanced Package Tool ( for Ubuntu/Debian )

Perform this command to install the package. Don't run this command if u're using Docker compose.
apt-get update -y && apt list --upgradeable \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
    wget curl git python3-dev \
    python3-pip python3-venv \
    python3-testresources \
    python3-libxml2 gcc g++ neofetch \
    pkg-config build-essential \
    ffmpeg libavformat-dev libavcodec-dev \
    libavdevice-dev libavutil-dev libswscale-dev \
    libswresample-dev libavfilter-dev libzbar0 linux-libc-dev \
Perform this command to cleared package & cleared cache.
apt-get -qqy clean \
&& rm -rf -- ~/.cache \
    /var/lib/apt/lists/* \
    /var/cache/apt/archives/* \
    /etc/apt/sources.list.d/* \
    /usr/share/man/* /usr/share/doc/* \
    /var/log/* /tmp/* /var/tmp/*

Advanced Package Tool ( for Docker )

Perform this command to install Docker.
apt-get install docker.io -y
Perform this command to install Docker Compose V2 or Migration V1 to V2.
# create the docker plugins directory if it doesn't exist yet
mkdir -p ~/.docker/cli-plugins

# download the CLI into the plugins directory
curl -sSL https://github.com/docker/compose/releases/download/v2.23.1/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose

# make the CLI executable
chmod +x ~/.docker/cli-plugins/docker-compose

On Ubuntu/Debian ( Localhost/VPS )

  • Install requirements:

    pip3 install -U --no-cache-dir --break-system-packages -r main.txt

  • Run pytel:

    python3 -m start --help

On Docker ( Localhost/VPS )

Note: this Dockerfile for amd64 builds. Check your architecture first and run command docker version to see architecture, before running docker compose. Run command:
git pull \
    && docker system prune -f \
    && docker compose up --detach --build --remove-orphans --no-color \
    && docker compose logs -f

On Heroku

License

GNU AGPL-3.0 © 2023-present KASTA ID 🇮🇩

zy's People

Contributors

unknownkz avatar vooyage21 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.