Git Product home page Git Product logo

hub_bot's Introduction

HUB BOT

Telegram bot that can replace a paid livegram bot

The bot is added to a group in which topics are allowed, it is granted administrator rights, after which the messages of people who write to the bot are forwarded to separate topics in the group. Administrators can communicate with users in the topics created for them by the bot and conduct individual dialogues with them. Also, with the help of the bot, you can make global and targeted mailings to users whose data is stored in the MongoDB database

How to deploy:

Ubuntu 22.04:

  1. Apt install docker.io docker-compose -y

  2. git clone https://github.com/SandyBreak/HUB_BOT.git | Copy app to server

  3. Change mongodb pass&login and telegram_token in docker-compose.env

  4. In project dir: sudo docker-compose up -d --build

  5. How to connect using mongodb compass: mongodb://{mongodb_login}:{mongodb_password}@{sever_ip_adress}:27021/

Commands:

  1. sudo docker ps -a | list all running containers

  2. sudo docker stop | stop container

  3. sudo docker rm | remove container

  4. sudo docker-compose down | stop&remove containers

hub_bot's People

Contributors

sandybreak avatar

Stargazers

 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.