crossposter

command module
v0.0.0-...-6d22ad4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

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.

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL