Writing
Blog
Articles on Telegram bots, APIs, cloud infrastructure, and modern web development.
Building a Scalable Telegram Bot with Node.js and MongoDB
A step-by-step guide on architecting a Telegram bot that can handle thousands of concurrent users. We cover webhook setup, message queuing, MongoDB schema design, and Cloudflare Workers deployment.
Why I Chose Cloudflare Workers Over Traditional Servers
My experience migrating the SDBOTS API from a VPS to Cloudflare's edge network — latency improvements, cost breakdown, cold-start behaviour, and real production tradeoffs.
Next.js 15 App Router: What Changed and Why It Matters
A practical breakdown of the biggest App Router changes in Next.js 15 — React 19 support, improved caching defaults, Turbopack stable, and how I applied them to this portfolio.
MongoDB Schema Design Patterns for Telegram Bots
How to model user state, message history, subscription tiers, and rate limits in MongoDB for a multi-tenant bot platform. Includes real schema examples from SDBOTS.
Migrating from Framer Motion to motion/react
A practical migration guide — what changed, what broke, how to update your imports, and a comparison of bundle size and API differences between the two packages.
Adding OpenAI to Your Telegram Bot Without Breaking the Bank
Practical techniques for integrating GPT-4o into a Telegram bot while keeping API costs under control — streaming, caching, rate limiting, and conversation context management.