mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-12-22 05:57:13 +00:00
Posting system for telegram
.github/workflows | ||
common | ||
gradle | ||
inlines | ||
posts | ||
posts_registrar | ||
ratings | ||
runner | ||
sample | ||
settings | ||
template | ||
triggers | ||
.gitignore | ||
build.gradle | ||
extensions.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
mppJavaProject.gradle | ||
mppJsProject.gradle | ||
mppProjectWithSerialization.gradle | ||
README.md | ||
settings.gradle |
PlaguPoster
This is a posting system for the Telegram based on usage of three chats:
- Target chat where the posts will be published to
- Source chat where the posts will be stored, available for management and ratings
- Cache chat where sometimes will appear your posts to be cached in memory of bot
And different plugins. Sample config is presented in the root of this repository.
Each plugin describes its own format of subconfig. Anyway, most of config parts will be stored in one
file config.json
(you may name it anyhow).
How does it work
- You are sending post to source chat
- Bot register it
- (Optionally) bot attaching ratings poll
How to launch the bot
There are several ways to launch the bot:
- With Docker (and
docker-compose
) - With using of
gradle
andrun
command - Using
zip
/tar
after project building