Echoion Music Bot - Technical Documentation
Overview
This documentation provides comprehensive technical information about the Echoion Music Bot architecture, components, data flows, and development guidelines.
System Architecture
Documentation Index
Getting Started
| Document |
Description |
| 01-overview.md |
Project overview, high-level architecture, key features, technology stack |
Component Documentation
| Document |
Component |
Topics |
| 02-echoion-api.md |
EchoionApi |
Core types, interfaces (ICoreInterface, IPluginInterface), EventBus, Cache, Database |
| 03-echoion-core.md |
EchoionCore |
MusicManager, AudioDecoder, NetworkClient, YouTubeClient, CommandManager, RpcServer |
| 04-echoion-plugin.md |
EchoionPlugin |
Plugin lifecycle, PluginInterface, CoreLoader, TeamSpeak SDK integration |
| 05-echoion-desktop.md |
EchoionDesktop |
Qt6 GUI, CoreClient, WebSocket RPC, authentication |
System Documentation
| Document |
Topic |
Coverage |
| 06-data-flow.md |
Data Flow |
Communication protocols, sequence diagrams, message formats, audio pipeline |
| 07-configuration.md |
Configuration |
Config locations, structure, reloading, YouTube auth, proxy settings |
| 08-commands.md |
Commands |
Command system, available commands, permissions, adding commands |
| 09-audio-pipeline.md |
Audio |
Pipeline architecture, formats, FFmpeg, hardware acceleration |
| 10-database-cache.md |
Persistence |
Database schema, SQLite, LRU cache, performance tuning |
| 11-events.md |
Events |
EventBus architecture, event types, pub-sub patterns |
| 12-hot-reload.md |
Hot Reload |
State preservation, reload process, auto-reload |
| 13-security.md |
Security |
Authentication, permissions, rate limiting, audit logging |
| 14-building.md |
Building |
Build requirements, platform instructions, development workflow |
Architecture Overview
Component Interaction
Key Interfaces
Configuration
Config File Locations
| Platform |
Path |
| Linux |
~/.config/echoion/config.json |
| macOS |
~/Library/Application Support/echoion/config.json |
| Windows |
%APPDATA%/echoion/config.json |
Configuration Architecture
Development Workflow
Quick Commands
| Task |
Command |
| Build all |
cmake -B build && cmake --build build |
| Hot reload Core |
cmake --build build --target EchoionCore |
| Run tests |
cd build && ctest |
| Debug |
gdb ./build/EchoionCore_test |
Documentation Diagrams
All documentation files contain Mermaid diagrams for:
- Architecture diagrams - Component relationships
- Sequence diagrams - Interaction flows
- Data flow diagrams - How data moves through the system
- Class diagrams - Data structures and interfaces
- State diagrams - Lifecycle management
Contributing
Refer to 14-building.md for development guidelines and AGENTS.md for coding conventions.
License
MIT License - See LICENSE file for details