Software Engineer Builds Zero-Infrastructure Telegram AI Assistant on a $5 VPS

A software engineer built a personal AI assistant that runs entirely within Telegram, eliminating the need for web dashboards or separate tools. The project was motivated by frustration with costly SaaS subscriptions and complex cloud setups, with a strict constraint of zero external infrastructure. The stack uses Bun as the runtime, Telegraf for bot polling, OpenAI's Chat Completions API for AI responses, and SQLite for local storage — all running as a single process. Composio provides over 200 pre-built integrations, enabling the bot to interact with Gmail, Google Calendar, GitHub, and other services via natural conversation. Rather than using webhooks that require a public server, the bot relies on a polling loop, adding minimal latency while keeping operational costs as low as a $5 VPS.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in