
Telegram Automation Platform
A multi-tenant SaaS platform for managing and automating hundreds of Telegram accounts from one dashboard. It brings together a real-time shared inbox, workflow automation, an account marketplace, billing, analytics, and an AI engine. The system is built as eleven independent microservices on Kubernetes, so capacity grows as the number of accounts does.
A Turborepo monorepo of eleven TypeScript and Python (FastAPI) services that communicate over Redis streams and internal APIs. PostgreSQL 16 stores tenant data with monthly table partitioning, ClickHouse powers analytics, and a Kubernetes StatefulSet scales the account workers. Prometheus metrics, alerting rules, and a hardened CI/CD pipeline with secret and image scanning sit behind it all.
Process-isolated accounts
Each account runs in its own OS process behind a dedicated proxy, so one account can never affect another. Pre-connect IP-leak checks and anti-ban safeguards keep them protected.
Real-time shared inbox
Conversations from every connected account stream into a single inbox over WebSockets, backed by Redis streams and a Postgres schema partitioned by month.
Marketplace and wallet billing
Subscriptions and one-off purchases paid by card (Stripe) or crypto (NOWPayments), settled against an auditable double-entry wallet ledger.
AI analytics
Conversation summaries, sentiment analysis, and anomaly detection from OpenAI and Anthropic models, with metrics streamed to ClickHouse.



