Telegram bot shell / commandline untuk mengelola remote server. Dibuat menggunakan Node.js. https://netfreak.my.id
Go to file
techies 9c811ae44b Update 'README.md' 2022-09-27 13:34:15 +07:00
lib add files to lib 2022-08-21 08:20:08 +07:00
.gitignore initial commit 2022-08-21 08:17:17 +07:00
LICENSE initial commit 2022-08-21 08:17:17 +07:00
README.md Update 'README.md' 2022-09-27 13:34:15 +07:00
commands.txt initial commit 2022-08-21 08:17:17 +07:00
config.example.json Update 'config.example.json' 2022-08-21 08:37:54 +07:00
server.js initial commit 2022-08-21 08:17:17 +07:00

README.md

Shellia

Telegram bot shell exec / commandline untuk mengelola remote server. Pastikan sudah punya Telegram Bot. Kalau belum, chat BotFather untuk membuat bot. Simpan TOKEN HTTP API bot yang sudah kamu buat. Kemudian cek ID User akun Telegram kamu untuk mendapatkan akses administrator bot. Untuk mendapatkan ID kamu dapat chat IDBot.

Teknologi

Teknologi yang digunakan:

Python JavaScript NPM NodeJS Shell Script

Output:

Telegram Bot

Cara Install

Debian Ubuntu

Debian/Ubuntu distro

Install node-pty dependencies.

sudo apt install -y make python build-essential

Install NPM

sudo apt install npm

Install PM2 untuk menjalankan Node server secara no-down-time

npm install pm2 -g

Red Hat Fedora Rocky Linux Cent OS

RedHat/Fedora/Rocky distro

Install node-pty dependencies.

sudo dnf install -y python
sudo dnf group install -y "C Development Tools and Libraries"

Install NPM

sudo dnf install npm

Install PM2 untuk menjalankan Node server secara no-down-time

npm install pm2 -g

Clone & Start bot

Clone dan jalankan bot pada server

git clone https://gitea.unej.ac.id/techies/Shellia.git && cd shell-bot
npm install

Jalankan bot

node server

Jalankan bot secara no-down-time

pm2 startup
pm2 start server.js

Orig

Gitea