Skip to content

Node.js + RxJS + Blessed Telegram client starter kit

Notifications You must be signed in to change notification settings

lekzd/console-tg-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram console client

First steps

  • npm install
  • make env.json file in root folder
  {
    "APP_ID": "{APP_ID}",
    "API_HASH": "{API_HASH}",
    "USER_PHONE": "+7...",
    "EMOJI": true,
    "proxies": [
      {
        "type": "proxyTypeMtproto",
        "server": "{proxy_server}",
        "port": {proxy_port},
        "data": {
          "secret": "{proxy_secret}"
        }
      }
    ]
  }
  • npm start

env.json schema

APP_ID: stirng API_HASH: string

Get your app credentials here: https://core.telegram.org/api/obtaining_api_id

USER_PHONE: string

Your phone number to login in Telegram

EMOJI: boolean

Turn off emoji support in case of rendering problems in your terminal (mostly on Windows)

proxies: array

In case of you already have proxy on your system — skip it and leave array empty.

List of proxies you can get one of them here: https://mssg.me/proxy Application can works without proxy, but in some cases it can spent ~30 mins to found workable IP. Use proxy to reduce problems of it.

First launch

At first launch application asks you verification code which sends to your Telegram account. After that your session will store locally on your mashine. In case of your first launch takes so much time without drawing of UI try proxy.

About

Node.js + RxJS + Blessed Telegram client starter kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published