Giter Club home page Giter Club logo

malygos-hsgqtelegrambot's Introduction

malygos-HSGQtelegrambot

Semoga Aplikasi ini bermanfaat.

telegram bot for olt hsgq // bot telegram untuk olt hsgq (untuk sementara hanya epon)

dibuat dengan Node.js

Installasi

Download atau Clone dengan download as zip atau git clone:

$ git clone ferilagi/malygos-HSGQtelegrambot

Masuk ke directory malygos-HSGQtelegrambot:

$ cd malygos-HSGQtelegrambot

Lakukan perintah npm install, harus terisntall node.js :

$ npm install

Copy .env-example menjadi .env:

$ cp .env-example .env

Ubah variable di .env agar sesuai dengan ipaddress, username, dan password olt anda.

Jalankan aplikasi dengan perintah:

$ node app.js

atau

$ npm start

Perintah

Setelah aplikasi berjalan, buka aplikasi telegram lalu ketik perintah :

/start

jika berhasil maka akan muncul balasan Selamat Datang namun jika muncul balasan. anda belum terdaftar atau Maaf Anda bukan anggota, anda harus menginisialisasi terlebih dahulu

Untuk Inisialisasi, ketik perintah :

/password

Setelah itu akan muncul masukkan password dan jawab dengan password yang telah anda masukkan di file .env pada bagian PASS_CHAT. jika berhasil maka akan muncul balasan Authentikasi Berhasil.

Atau bisa dipersingkan dengan :

/password {password yang ada di .ENV}

contoh /password 12345678

Perintah untuk menampilkan info port dan onu:

/info

Perintah untuk menampilkan detail onu:

/onu {parameter}
  • untuk {parameter} bisa diisi dengan Mac-Address / Nama Onu contoh:

    • mac-address

      /onu 00:1B:44:11:3A:B7
    • nama onu

      /onu modem-budi

Untuk Docker / Container

Download atau Clone dengan download as zip atau git clone:

$ git clone ferilagi/malygos-HSGQtelegrambot

Masuk ke directory malygos-HSGQtelegrambot:

$ cd malygos-HSGQtelegrambot

Copy .env-example menjadi .env:

$ cp .env-example .env

Ubah variable di .env agar sesuai dengan ipaddress, username, dan password olt anda.

Build image aplikasi dengan perintah:

$ docker build -t HSGQtelegrambot .

Jalankan container dengan perintah:

$ docker run HSGQtelegrambot

malygos-hsgqtelegrambot's People

Contributors

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