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
- Host: GitHub
- URL: https://github.com/treapster/crossposter
- Owner: treapster
- License: agpl-3.0
- Created: 2022-03-01T01:17:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-08T07:39:55.000Z (7 months ago)
- Last Synced: 2025-01-16T22:15:50.675Z (5 months ago)
- Topics: bot, crossposter, crossposting, telegram, vk, vk-to-telegram
- Language: Go
- Homepage:
- Size: 193 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.