An open API service indexing awesome lists of open source software.

https://github.com/treapster/crossposter

Crossposter bot that enables any telegram user or channel to subscribe to public vk groups
https://github.com/treapster/crossposter

bot crossposter crossposting telegram vk vk-to-telegram

Last synced: 3 months ago
JSON representation

Crossposter bot that enables any telegram user or channel to subscribe to public vk groups

Awesome Lists containing this project

README

        

# 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](https://t.me/vkcrosspostbot).

# Dependencies
[Telebot](https://github.com/tucnak/telebot/tree/v3)
[vksdk](https://github.com/SevereCloud/vksdk)
[go-sqlite3](https://github.com/mattn/go-sqlite3)
[toml](https://github.com/BurntSushi/toml)

# Usage
Clone repo, go build. Rename `dummy_config.toml` to `config.toml`. To crosspost audio get a kate mobile token with [this tool](https://github.com/vodka2/vk-audio-token) 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.