Skip to content

Latest commit

 

History

History
51 lines (48 loc) · 1.15 KB

File metadata and controls

51 lines (48 loc) · 1.15 KB

Content Parse Bot

Bot for parse content from chats, groups and channels

TODO

  • Create interface for reids objects
  • Implents commands of bot:
    • /chats
    • /keywords
    • /help
  • Move users, admins, keywords, chats to PostgreSQL
  • Setup postgresql interfaces (ORM or custom interface with pydantic)
  • Refactor
  • Deploy
  • Setup CI
  • Change UI: show all chats/keywords in text messgae; not in button "Мои чаты"/"Мои ключевые слова"
  • Setup log system
    • Write a correct message in raisable excpetions
  • Add the ability to add keywords/chats en masse
  • Auto integration into new chats
  • Abitlity to sub/unsub for users
  • When remove item, show inline buttons as grid, not column

How to run it

You can run it with docker or manually

Docker

  1. Fill .env file
cp .env.example .env
# open and fill .env
  1. Build and up
docker compose up --build

Manually

  1. Fill .env file
cp .env.example .env
# open and fill .env
  1. Run bot
cd bot
poetry run python bot
  1. Run parser
cd parser
poetry run python parser