Skip to content

Linguly/telegram-interface

Repository files navigation

telegram-interface

Telegram Interface

How to run Locally

  1. Make a copy of .env_template and rename it to .env
  2. Add the bot token and Linguly Core Base url you want to connect your interface to
  3. npm install
  4. npm run build
  5. npm start or npm run dev to run in dev mode
  6. Now you can start chatting with the bot you have added the bot token to the .env file

Prepare Redis for local development

To install in ubuntu:

sudo apt-get update
sudo apt-get install redis-server

To run the redis server:

sudo service redis-server start

To test:

redis-cli ping

Reference

Chat flow

To make the chat flow design easier we are using drawio. To edit the chatFlow.drawio file use the draw.io vscode extension or the website.

Here is the current chat flow exported as svg:

Chat flow

About

Telegram Interface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors