mindal1ka

30.10.2026

The Step School Telegram bot and mini app: lunch auto-ordering, polls, student wishes, news, council summaries and break-time music. Everything the president does is visible to students.

What is it

Step School Bot is the Telegram bot and mini app for Step School. It started as the core of my school president campaign: "I don't promise too much. I show every step." On November 3, 2026 I was elected president, and the bot became the place where students follow what I promised and what is already done.

Everything for the school lives in one bot, and the mini app gives a nicer interface where a bigger screen helps.

Features

  • Lunch (FoodStep): weekly menu, ordering in a couple of taps, saved meal sets and auto-ordering: a reminder at 20:00 the day before, the order at 08:00 in the same message
  • Polls with open results: vote right in the bot or in the app
  • Wishes: students write ideas anonymously, the president must answer every one, and the author gets notified
  • News, council summaries (what was decided, who is responsible, what's next) and the president's program with statuses
  • Break-time music: students suggest tracks, AI checks them against open catalogs and lyrics before moderation
  • Roles and moderation: role chain with inherited permissions, per-section restrictions, an audit log of every change
  • MCP server: a personal link lets an AI assistant work with the school data within the user's own permissions

Under the hood

  • One process: FastAPI API, aiogram 3 webhook and the static mini app
  • SQLite (WAL) via async SQLAlchemy, daily backups
  • Mini app: Svelte 5 (runes) + SvelteKit SPA, stale-while-revalidate cache, Apple-style design with spring motion
  • Sign-in via Telegram initData, no separate accounts
  • Bot messages are generated image cards (Pillow), uploaded once and reused by file_id
  • AI through a queue of providers (OpenRouter, Claude API) with automatic fallback
  • FoodStep passwords and AI keys are encrypted (Fernet)
Ivan Mendeleev Іван МендєлєєвIvan MendielieievMindal1ka
© 2026 mindal1ka.com [email protected] Signal stable since 27.05.2012