Make a bridge between VK and Telegram groups!
npm install me-bridge-botAdd @MeBridgeBot to your conversations in Telegram and VK, allow them to read your messages (in VK you should make it in conversation settings, you must be Administrator to do this)
To connect chats, enter /token command in first chat to get a special command with secret key.
Enter this special command in another chat (it looks like /connect $mbb1$1!9d8xxxxx00ca) and your chats are connected now!
VK_TOKEN=b0**76 # VK token (required)
VK_POLLING_GROUP_ID=17 # VK polling group ID (required for community bot)
VK_PROXY=http://10.11.22.33:3128 # VK HTTP ProxyTG_TOKEN=1*Q # Telegram token (required)
TG_API_ROOT=https://tg.reverse-proxy.com # Telegram bot api root (nginx reverse proxy)
TG_PROXY=http://10.11.22.33:3128 # Telegram HTTP Proxy
DEBUG=bot,vk-io,telegraf* # (show debug information)
WELCOME_MESSAGE=Hello. This bot is sponsored by... # Welcome message. This will be sent to /start command after bot info
`Install & start
`bash
Install bot
npm i -g me-bridge-bot
Just start by command
me-bridge-bot
`Systemd Unit
`ini
[Service]
Environment="VK_TOKEN=**"
Environment="VK_POLLING_GROUP_ID="
Environment="TG_TOKEN=**"
Environment="WELCOME_MESSAGE=Hello. This bot is sponsored by..."
Environment="DB_FILE=/srv/me-bridge-bot/meBridgeBot.db"
Environment="DEBUG=bot*"``