<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kirillmrmv-svg</title>
    <description>The latest articles on DEV Community by kirillmrmv-svg (@kirillmrmvsvg).</description>
    <link>https://dev.to/kirillmrmvsvg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267088%2Ff63bb79f-a1b7-4dab-b3fb-e515df6429fb.jpg</url>
      <title>DEV Community: kirillmrmv-svg</title>
      <link>https://dev.to/kirillmrmvsvg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kirillmrmvsvg"/>
    <language>en</language>
    <item>
      <title>ython developer &amp; founder of MKscripts. Former advocate, advising IT founders on tax &amp; security and building Telegram bots.</title>
      <dc:creator>kirillmrmv-svg</dc:creator>
      <pubDate>Thu, 26 Nov 2026 14:33:56 +0000</pubDate>
      <link>https://dev.to/kirillmrmvsvg/ython-developer-founder-of-mkscripts-former-advocate-advising-it-founders-on-tax-security-and-om8</link>
      <guid>https://dev.to/kirillmrmvsvg/ython-developer-founder-of-mkscripts-former-advocate-advising-it-founders-on-tax-security-and-om8</guid>
      <description>&lt;h2&gt;
  
  
  What were you building, and why?
&lt;/h2&gt;

&lt;p&gt;Telegram bots, mobile apps&lt;/p&gt;

&lt;h2&gt;
  
  
  What did you expect to happen?
&lt;/h2&gt;

&lt;p&gt;I expected miracle&lt;/p&gt;

&lt;h2&gt;
  
  
  The moment you realized something was off
&lt;/h2&gt;

&lt;p&gt;I start working &lt;/p&gt;

&lt;h2&gt;
  
  
  Everything you tried (including what didn't work)
&lt;/h2&gt;

&lt;p&gt;I only worked&lt;/p&gt;

&lt;h2&gt;
  
  
  Who did you ask for help?
&lt;/h2&gt;

&lt;p&gt;My friends and AI&lt;/p&gt;

&lt;h2&gt;
  
  
  Where things stand now
&lt;/h2&gt;

&lt;p&gt;everything ok!&lt;/p&gt;

&lt;h2&gt;
  
  
  Anything else you want our guests to weigh in on?
&lt;/h2&gt;

&lt;p&gt;Let’s start a conversation.&lt;/p&gt;

</description>
      <category>codenewbiestory</category>
      <category>codenewbie</category>
      <category>ai</category>
      <category>programming</category>
    </item>
    <item>
      <title>How I structured a modular bilingual Telegram bot template in Python (aiogram 3 + SQLite) to avoid rewriting boilerplate</title>
      <dc:creator>kirillmrmv-svg</dc:creator>
      <pubDate>Thu, 26 Nov 2026 14:18:09 +0000</pubDate>
      <link>https://dev.to/kirillmrmvsvg/how-i-structured-a-modular-bilingual-telegram-bot-template-in-python-aiogram-3-sqlite-to-avoid-4nj9</link>
      <guid>https://dev.to/kirillmrmvsvg/how-i-structured-a-modular-bilingual-telegram-bot-template-in-python-aiogram-3-sqlite-to-avoid-4nj9</guid>
      <description>&lt;p&gt;Every time I started a new Telegram bot project (for MVPs, lead generation, or service catalogs), I ended up spending the first 4–5 hours rewriting the exact same boilerplate: language switching, Terms &amp;amp; Privacy consent flow, SQLite setup, and basic admin tools.&lt;/p&gt;

&lt;p&gt;To stop repeating myself, I extracted the core architecture into a clean, modular starter kit built with &lt;strong&gt;Python, aiogram 3, and SQLite&lt;/strong&gt;. Here is a breakdown of how the project is structured and how I solved common boilerplate bottlenecks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project Architecture
&lt;/h2&gt;

&lt;p&gt;Instead of dumping everything into a single &lt;code&gt;bot.py&lt;/code&gt; file, the project is split into isolated modules so routing, storage, and background jobs stay decoupled:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
text
telegram-bot-starter-kit/
├── main.py              # Entry point, dispatcher &amp;amp; router registration
├── config.py            # Environment variables &amp;amp; bot settings
├── database.py          # Async SQLite connection &amp;amp; user state queries
├── handlers.py          # Core user flows &amp;amp; menu navigation
├── admin_handlers.py    # Admin-only commands (/stats, /broadcast)
├── keyboards.py         # Inline &amp;amp; reply keyboard builders
├── scheduler.py         # Background &amp;amp; periodic tasks
└── locales/
    ├── en.json          # English UI strings
    └── es.json          # Spanish UI strings
Key Architectural Decisions
1. Lightweight JSON Localization (EN/ES)
Instead of pulling in heavy i18n frameworks for small-to-medium bots, all UI copy lives in plain en.json and es.json files with safe UTF-8 / UTF-8-BOM decoding. Adding a third language takes two minutes: duplicate a JSON file and add a button to the language keyboard.
2. Built-in Terms &amp;amp; Privacy Acceptance Flow
For commercial bots, logging user consent isn't optional. On /start, after choosing a language, the user gets a Terms of Service &amp;amp; Privacy Policy prompt. Until they accept, access to the main menu is restricted, and their acceptance status is persisted in SQLite.

![ ](https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/s8puzw1htbh1f5vk7faf.jpg)
3. Zero-Config Storage &amp;amp; Lightweight VPS Ready
Using SQLite means the bot runs out of the box on a minimal Linux VPS (even 1 CPU / 1 GB RAM) without setting up PostgreSQL or Redis upfront. Background jobs are isolated in scheduler.py, keeping user handlers fast and readable.
4. AI-Friendly Structure for Rapid Customization
Many developers now extend templates using AI coding assistants (Cursor, Claude, ChatGPT). Clear module boundaries make it easy to feed specific files to an LLM to add new menu branches without breaking existing state logic.
Explore the Structure &amp;amp; Source
You can check out the full architectural breakdown, setup instructions, and UI previews in the GitHub repository:
👉 https://github.com/kirillmrmv-svg/telegram-bot-starter-kit
(Note: The GitHub repository serves as an architectural showcase with documentation and core structure; the complete ready-to-run source archive is linked there on Gumroad for anyone who wants to skip the setup.)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>telegram</category>
      <category>aiogram</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
