Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.25 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.25 KB

Crossposter

This bot can crosspost vk posts to telegram groups, chats or direct messages. Send /add vk.com/group @channel and any new posts from the group will duplicate to channel with pictures, documents, audios, videos and reposts. If you use me instead of channel username it will send updates to you. Use /ls and /del to manage your subscriptions.
Try it yourself on telegram.

Dependencies

Telebot
vksdk
go-sqlite3
toml

Usage

Clone repo, go build. Rename dummy_config.toml to config.toml. To crosspost audio get a kate mobile token with this tool and set it to VkAudioToken. If your primary token has access to audio you can use it for audio. Set service token to VkToken and telegram token to TgToken. Then launch bot and try it out in telegram.

Private mode

In case you want the bot to only work for you, set IsPrivate in config and add your id to BotAdmins. You can add multiple admins to share the bot with friends. In private mode commands from users not listed in BotAdmins will be ignored.