Skip to main content

Telegram Interactive Bot (Simple Customer Service System) Deployment Guide

Introduction

Telegram-Interactive-Bot is an open source two-way bot developed by MiHa.

Open source repository: https://github.com/MiHaKun/Telegram-interactive-bot

It contains detailed introduction and example bot with its backend. Please read carefully.

Since open sourcing, many people have come to the group asking about deployment issues. After some thought, I'm writing this documentation.

Disclaimer

MiHa has never sold this code. This code is open source, and although I am the author, you can use this code freely as long as you follow the open source license.

If you have paid for this bot before, I'm sorry, you were misled. Please do not think that the author has ever profited from it. Thank you.

Deployment

1. Server Selection

This program can run on basically any server. No additional database support needed (currently using SQLite, a file-based database).

So for configuration, choose a quality and cost-effective server or just any server will do.

Note that:

  • Centos has actually lost support. Ubuntu recommended
  • Ubuntu 22.04 is still supported, recommended: Ubuntu 22.04 LTS, 64-bit

A bit of self-promotion here, I personally use RackNerd's: 2 cores 3GB--$27/year. On this machine, I run about 40 bots. Currently running well.

2. Panel Selection

Actually, if you're familiar with Linux, deploying this program is very simple, no panel needed.

However, people who need this documentation... probably need to install a panel.

I'm assuming you've purchased a server as recommended above, so I recommend installing 1Panel. A Docker-based panel management tool.

3. Panel Installation

Please visit: https://1panel.cn/docs/installation/online_installation/

Look at this:

image-20240730161016291

Copy this command, then use ssh to login to your server. Don't hesitate, just copy and execute. Then, just next all the way.

[Rest of content remains the same with images and formatting preserved...]