Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/veryshyjelly/setu-engine
modular chatting app bridge made in golang
https://github.com/veryshyjelly/setu-engine
bridge go golang websocket
Last synced: 20 days ago
JSON representation
modular chatting app bridge made in golang
- Host: GitHub
- URL: https://github.com/veryshyjelly/setu-engine
- Owner: veryshyjelly
- Created: 2024-02-04T13:22:41.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-08T09:46:01.000Z (10 months ago)
- Last Synced: 2024-03-08T10:52:23.123Z (10 months ago)
- Topics: bridge, go, golang, websocket
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# setu-engine
# Usage
## Run the [whatsapp-ki-maya](https://github.com/veryshyjelly/whatsapp-ki-maya) server
or
## Run the [telegram-ki-maya](https://github.com/veryshyjelly/telegram-ki-maya) server### Get their IP address
## Using Docker
- Build the docker image
```bash
docker build -t setu-engine .
```
- Run the docker container
```bash
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
```json
{
"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