Skip to content

πŸ€– The best bot for a reminder about the expiration of a subscription to a service

License

Notifications You must be signed in to change notification settings

Markushik/controller-new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

https://t.me/sub_controller_bot/ https://hub.docker.com/repository/docker/markushik/controller-new/ https://opensource.org/licenses/MIT/ https://github.com/Markushik/controller-new/stargazers https://github.com/Markushik/controller-new/ https://github.com/Markushik/controller-new/ https://github.com/Markushik/controller-new/actions/ https://github.com/astral-sh/ruff/ https://github.com/grantjenks/blue

controller β€” probably the best bot for a reminder of the end of the subscription.

πŸš€ Stack

Technologies

  • Python – programming language
  • Redis – persistent storage
  • PostgreSQL – best relational database
  • NATS JetStream – communications system for digital systems
  • Docker – containerization platform

Frameworks & Libraries

Auxiliary Libraries

  • zstd – compression technology
  • ormsgpack – msgpack serialization
  • markupsafe – safely add untrusted strings to HTML
  • fluent.runtime – localization / internationalization

⭐ Application Schema

application-schema.png

🐘 Database Schema

database-scheme.png

πŸͺ› Installation

🐳 Docker

1. Clone the repository:

git clone https://github.com/Markushik/controller-new.git

2. Create file .secrets.toml in folder configs and fill data

3. Run the command:

docker-compose up

πŸ’» Default

1. Clone the repository:

git clone https://github.com/Markushik/controller-new.git

2. Create file .secrets.toml in folder configs and fill data

3. Bring up PostgreSQL, Redis and NATS

4. First run the taskiq scripts:

taskiq worker application.infrastructure.scheduler.tkq:broker --fs-discover --reload --max-async-tasks -1
taskiq scheduler application.infrastructure.scheduler.tkq:scheduler --fs-discover

5. Second run the bot:

python -m application.tgbot

About

πŸ€– The best bot for a reminder about the expiration of a subscription to a service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •