TypeScript · 2026

Tux Robot

The bot that grew out of the framework, rebuilt on grammY: one Cloudflare Worker for the conversation, Cloudflare AI for the answers, Tavily for web search and document retrieval, and a Svelte 5 web app in front of it all. Live at t.me/TuxRobot.

View sourceMessage the bot

Tux Robot holding a conversation in Telegram

The problem

Answer Telegram messages with model output and current web results from a single Worker, without a server that has to stay warm between messages.

Architecture

  • grammY handles Telegram updates inside one Cloudflare Worker.
  • Cloudflare AI generates the answers, with Gemini and Llama behind it; Tavily supplies web search and document retrieval.
  • A Svelte 5 web application provides the browser-facing interface.

Highlights

  • Webhook, model calls and retrieval in a single deployment
  • Search over documents the bot has been sent, not only the web
  • Moved off the framework above and onto grammY, which is the honest ordering of the two rows

Technology

TypeScript · cloudflare · telegram · grammy

All selected work