Coder Social home page Coder Social logo

brebiv / botmaker Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 12.0 1.86 MB

Constructor for Telegram chat bots. Like WordPress, but for Telegram bots.

Python 53.75% HTML 4.05% CSS 2.86% JavaScript 39.34%
python3 django django-rest-framework zeromq python-telegram-bot telegram-bot telegram react reactjs react-router semantic-ui-react student-project

botmaker's Introduction

BotMaker

Web-interface preview

Dashboard page Builder page Add command modal

Installation guide

Clone repository

$ git clone https://github.com/brebiv/BotMaker
$ cd BotMaker

Create virtual environment

$ python3 -m venv venv

Activate virtual environment

$ source venv/bin/activate

Install python requirements

$ pip install -r requirements.txt

Migrate Django database

$ python manage.py migrate

Create Django superuser account

$ python manage.py createsuperuser

Run local Django development server and run BotRunner instance.

You should use two terminal windows or run them in the background.

$ python manage.py runserver
$ python manage.py runbotrunner

Go to http://localhost:8000/admin. Login with credntials you set in createsuperuser step.

Go to bots folder and click add bot. Input bot token and choose owner.

You can register new bot and obtain token from Telegram Bot @BotFather.

Now go to http://localhost:8000/ click Dashboard button there input PIN-code which is 10891089. Done. You have installed BotRunner localy. Congrats. Now try to figure out how to use it on your own. It does not refresh commands automatically, so you have to click stop and then start button to make bot respond to commands you've made.

botmaker's People

Contributors

brebiv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.