Git Product home page Git Product logo

omchaturvedi0412 / pbx_2.0 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from badhacker98/pbx_2.0

0.0 0.0 0.0 2.79 MB

๐Ÿ’ซ ๐—ฃ๐—•๐—ซ 2.0 ๐—จ๐—ฆ๐—˜๐—ฅ ๐—•๐—ข๐—ง โค๏ธโ€๐Ÿฉน ๐—ก๐—ข ๐—Ÿ๐—”๐—š ๐—™๐—”๐—ฆ๐—ง ๐—ฆ๐—ฃ๐—˜๐—˜๐—— ๐Ÿ’ธ ๐—•๐—ข๐—ง ๐—ช๐—ข๐—ฅ๐—ž๐—œ๐—ก๐—š ๐—ข๐—ก ๐—ฃ๐—ฌ๐—ฅ๐—ข๐—š๐—ฅ๐—”๐—  ๐Ÿฆ‹ ๐— ๐—”๐——๐—˜ ๐—•๐—ฌ๐Ÿ•Š๏ธ - ๐—ฃ๐—•๐—ซ โค๏ธ

License: GNU General Public License v3.0

Shell 33.87% Python 65.13% Procfile 0.99%

pbx_2.0's Introduction

๐Ÿ•Š๏ธโƒโ€Œแด˜ส™x โค๏ธแฅซแญกแึŸแึŸ 2.0

Badhacker98

๐Ÿ˜ˆ Telegram Bot on Steroids!

แด€ sแดแดแดแด›สœ โ˜† า“แด€sแด› แด›แด‡สŸแด‡ษขส€แด€แด แดœsแด‡ส€ส™แดแด› โ˜† แด€แด…ษดแด€แด„แด‡ า“แด‡แด€แด›แดœแด‡ส€s


GitHub forks GitHub Repo stars

Maintenance GitHub license

Telegram Group Telegram Channel


Deploying PBXBOT 2.0 on Heroku

Follow these 4 straightforward steps to deploy PbxBot on Heroku:

  1. Fork & Star this Repo:

    Begin by forking and starring this repository on GitHub.

  2. Heroku Account Login:

    Ensure you are logged into your Heroku account before proceeding.

  3. Click "Deploy to Heroku":

    Find the "Deploy to Heroku" button below, and click it, but make sure you are deploying from your fork.

  4. Fill Required Variables:

    On the deployment page, you'll find necessary variables to be filled out.

That's it! You've successfully deployed Pbx on Heroku. Now scale dynos and start the bot!


Deploying PBXBOT 2.0 on Linux

Pbxbot 2.0 can be deployed on any Linux VPS and terminal.

  1. Update Packages:

    sudo apt update && sudo apt upgrade -y
  2. Install required packages:

    sudo apt install --no-install-recommends -y python3 python3-dev python3-pip python3-virtualenv git mediainfo nano ffmpeg unzip tmux
  3. Edit Config Variables:

    cp example.env .env && vi .env

    Now press 'i' on your keyboard to start editing the .env file.

    Now fill all the env mentioned in the file.

    To save the file press 'Esc' button and write ':wq' using your keyboard and press 'Enter'

  4. Install Requirements:

    Create an virtualenv and source it.

    python3 -m virtualenv venv && source venv/bin/activate

    Now install requirements but make sure you're in (venv)

    pip3 install -U -r requirements.txt
  5. Start the Bot:

    Start a sub-terminal using tmux

    tmux new-session -s PBXBOT2.0

    Now start the bot

    ./start.sh

    Not press 'Ctrl + B' then 'D' to detatch from tmux and let your bot run in background.

That's it! You've successfully deployed Pbxbot 2.0 on a Linux VPS in 6 easy steps.


Config Variables

  • API_HASH : Get this value from my.telegram.org

  • API_ID : Get this value from my.telegram.org

  • BOT_TOKEN : Get this value from @Botfather

  • DATABASE_URL : Get this value from mongo.db

  • LOGGER_ID : A group/channel id to use as a logger chat.

  • OWNER_ID : The owner of bot. Only single userid is supported.

More config details coming soon with updated documentations


License

PbxBot License

Project PbxBot is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.



pbx_2.0's People

Contributors

hellboy-op avatar badhacker98 avatar aryan1403 avatar harry4552 avatar proraiden avatar cyberboyayush avatar ghosthellboy avatar iamgojoof6eyes avatar errorshivansh avatar codacy-badger avatar vcpb 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.