Skip to content

veryshyjelly/setu-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setu-engine

Usage

Run the whatsapp-ki-maya server

or

Run the telegram-ki-maya server

Get their IP address

Using Docker

  • Build the docker image
docker build -t setu-engine .
  • Run the docker container
docker run -d -p 8070:8070 --name setu-engine setu-engine

Bridging the chats

Obtain chat id from whatsapp

  • Send .id message in the chat with the bot present

Obtain chat id from telegram

  • Send /id message in the chat with the bot present

Post the bridge request using postman

  • Create a new request
  • Set the request type to POST
  • Set the request URL to http://localhost:8070/bridge
  • Set the request body to
{
    "first_chat_id": "first_chat_id",
    "first_url" : "ip_address_of_first_host",
    "second_chat_id": "second_chat_id",
    "second_url" : "ip_address_of_second_host"
}

Notes

  • You can bridge any two chats from any two hosts

About

modular chatting app bridge made in golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published