Skip to content

πŸ“‚ English Documentation Hub

🏠 Docs Root

Welcome to the conceptual documentation for codex-bot. This section explains the "Why" and "How" behind the framework's architecture.


πŸ—ΊοΈ Architecture Map

Section Description
πŸ“¦ Base Core DTOs and the abstract Orchestrator.
🧭 Director Cross-feature transition coordinator.
βš™οΈ Engine Router assembly, discovery, and bot factory.
🧠 FSM State management and Garbage Collector.
πŸ”„ Redis Redis Stream integration and background processing.
πŸ“€ Sender UI message delivery and synchronization.
πŸ› οΈ CLI Scaffolding commands for feature creation.
✨ Animation Waiting animations for Telegram UI.
πŸ”— URL Signer HMAC-signed URLs for Mini Apps.
🧰 Helper Context extraction and utility helpers.

πŸ“œ Core Philosophy

codex-bot is built on three main pillars:

  1. Feature-based Isolation: Every feature is a self-contained module with its own logic, UI, and resources.
  2. Stateless Orchestrators: Orchestrators do not store user state in self. All context is passed through the Director.
  3. UI Persistence: The framework manages two persistent messages (Menu and Content) to minimize chat clutter.

Last Updated: 2025-02-07