Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Telegram bot for automating posting on a Telegram channel. Includes duplicate detection and automated schedule change.

License

Notifications You must be signed in to change notification settings

shitpostingio/autopostingbot

Repository files navigation

Autoposting bot

Autoposting is a Telegram bot designed to post regularly on a Telegram channel. It is currently being employed on the Shitpost - Shitposting.io channel.

The bot is designed to support multiple users, assuming they're unaware of what others are sending.

Key features

  • Feature-based image and video duplicate detection thanks to our custom Analysis API.

  • Queue length aware posting algorithm.

  • Based on Telegram's TDlib and not on the Bot API for a richer feature set.

  • Easy addition of commands through the command package.

  • Ability to add custom scheduling algorithms via the posting/algorithm package.

  • Multiple language support

Languages

Currently supported languages are:

How to build

In order to build (and run) the bot you will need to have both Go and TDlib installed. To simplify this process, you're free to use our custom Docker image that you can find in this repository.

Once you have all the prerequisites, you will only need to run

make build

Pre-built artifacts are available in the GitHub Actions of the project: https://github.com/shitpostingio/autopostingbot/actions

Contributions

Contributions are welcome: suggest new features, add them yourself, translate the bot into new languages!