8000 GitHub - lgtome/tg-ws-bot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lgtome/tg-ws-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot which works with express-ws

Usage

The easiest way to use it is to provide TOKEN to .env

And run yarn docker:up or npm docker:up

If you use Docker from CLI, pass BOT_API_TOKEN to .env file

If you use Makefile with Docker pass BOT_API_TOKEN to Makefile BOT_TOKEN variable

Others:
  • git clone this repo
  • run with Docker docker build -t $name$ . then docker run
  • run with Makefile make build then make run
  • You can also use make run-t if BOT_TOKEN was provided
  • Also, you can run it locally with the current command yarn dev for development and yarn serve for usage

Goal

The main idea of this app is to send a message to the bot and print it to the browser

Also with an opportunity to catch messages on the server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0