Resend messages from SpigotMc2Vk-Public to VK/Telegram Conversation vise versa
- Build exec file for:
gox
You can specify package or platform
gox -os="linux"
gox -osarch="linux/amd64"
- Place
config.json
nearby yourspigot2vk_admin
executable and run;
By default listens on ports: 8338, 8336
config.json
:
{
"consoleChatID": 0,
"vkCommunityToken": "YOUR_VK_GROUP_TOKEN",
"vkUserToken": "YOUR_USER_TOKEN",
"portTCPChatUplink": "IP:PORT",
"portTCPChatDownlink": ":PORT",
"portTCPConsoleUplink": "IP:PORT",
"portTCPConsoleDownlink": ":PORT",
"portTCPConsoleJsonUplink": "IP:PORT",
"portTCPConsoleJsonDownlink": ":PORT",
"IDList": [VK_USER_ID_1, VK_USER_ID_2]
}
https://blog.golang.org/docker
docker build -t spigot2vk .
docker run --name sp2vk --rm spigot2vk