-
Couldn't load subscription status.
- Fork 0
Description
We actually link two group chats.
So all messages from VK group chat are retransmitted to Telegram group chat.
And back - every message from Telegram group chat goes back to VK group chat.
So both group chats act effectively as one, and people from both platforms get connected.
Use bun.sh, JavaScript.
Similar to https://github.com/deep-assistant/hive-mind/blob/main/src/lino.lib.mjs use Links Notation to create a universal append only exchange protocol, that will act as message queue and transaction log at the same time. So it will keep track of which messages added in queue and which messages successfully sent, so no message will be left out and each message will be send only once no matter what will happen (network problems, electrical outages and so on).
For that we should use .lino file, that also can be automatically partitioned (per day, per week and so on). So once all transactions completed in current .lino file it by default renamed to file of that date, and archived. That means we keep each current file append only, small and we will be able to access archives in the future if needed. For example if we want to connect a bridge to another platform like Discord. But in this pull request we should focus only on Telegram and VK.