Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 945 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 945 Bytes

piktagbot

A Telegram bot that helps users with sticker management. You can attach tags to stickers and then search your stickers by tags in inline mode.

Furthermore, now you can sort recent or tagged stickers in any order you choose with simple WebApp interface.

There are two executables in cmd. Settings are env vars, for both executables they are:

  • dbUser — database user
  • dbPass — database password
  • APP_HASHapp_id from my.telegram.org
  • APP_IDapp_hash from my.telegram.org
  • BOT_TOKEN — bot token from BotFather
  • SESSION_FILE — path to session .json file (existing or not)
  • DOMAIN — web app domain
  • APP_PORT — web app port

and only for web app there are:

  • CERT_FILE — TLS certificate file
  • KEY_FILE — TLS private key file
  • STICKER_PATH — folder where to store caches stickers