# eeva-inc/moltorino architecture

> Architecture diagram of the GitHub repository eeva-inc/moltorino, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eeva-inc/moltorino
- Repository: https://github.com/eeva-inc/moltorino

## Overview

Moltorino is a multi-platform chat client supporting Twitch, YouTube, Kick, and TikTok. Its principal workflow is that a user opens chat channels, receives and views messages, and can send chat or moderation actions through an account for the relevant platform. The graph also preserves README-described features such as local recording, GIFs, emote enhancements, and theme customization. Edges are limited to relationships documented in the README or visible in indexed/read source; unsampled feature internals are represented without guessed call paths.

Main entry points: [`src/Application.cpp`](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/Application.cpp) (Application lifecycle), [`src/controllers/accounts/AccountController.hpp`](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/accounts/AccountController.hpp) (Account management), [`src/singletons/WindowManager.cpp`](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/singletons/WindowManager.cpp) (Chat windows), [`src/controllers/automod/AutoModReviewController.cpp`](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/automod/AutoModReviewController.cpp) (AutoMod review)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application and UI"]
  node_application["Application lifecycle<br/>[Application.cpp]"]
  node_window["Chat windows<br/>[WindowManager.cpp]"]
  node_settings["Preferences<br/>[Settings.hpp]"]
end

subgraph group_chat["Chat and messages"]
  node_channel["Channel model<br/>[Channel.hpp]"]
  node_messages["Message model<br/>[Message.hpp]"]
  node_message_build["Message building<br/>[MessageBuilder.hpp]"]
end

subgraph group_platforms["Platform services"]
  node_accounts["Account management"]
  node_twitch["Twitch chat and API"]
  node_youtube["YouTube chat"]
  node_kick["Kick chat"]
  node_tiktok["TikTok chat"]
end

subgraph group_features["User features"]
  node_automod["AutoMod review"]
  node_commands["Chat commands"]
  node_highlights["Message highlights"]
  node_recording["Chat recording"]
  node_theme["Themes and backgrounds<br/>[Settings.hpp]"]
  node_emotes["Emote services<br/>[BttvEmotes.cpp]"]
  node_translation["Message translation"]
end

node_user(("Chat user"))

node_user -->|"uses"| node_application
node_application -->|"initializes"| node_accounts
node_application -->|"initializes"| node_automod
node_application -->|"initializes"| node_commands
node_application -->|"initializes"| node_highlights
node_application -->|"initializes"| node_recording
node_user -->|"views chat"| node_window
node_window -->|"displays channels"| node_channel
node_accounts -->|"manages account"| node_twitch
node_accounts -->|"manages account"| node_youtube
node_accounts -->|"manages account"| node_kick
node_accounts -->|"manages account"| node_tiktok
node_user -->|"reviews holds"| node_automod
node_user -->|"uses commands"| node_commands
node_user -->|"records chat"| node_recording
node_user -->|"customizes appearance"| node_theme
node_user -->|"uses emotes"| node_emotes
node_user -->|"translates messages"| node_translation

click node_application "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/Application.cpp"
click node_window "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/singletons/WindowManager.cpp"
click node_settings "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/singletons/Settings.hpp"
click node_channel "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/common/Channel.hpp"
click node_messages "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/messages/Message.hpp"
click node_message_build "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/messages/MessageBuilder.hpp"
click node_accounts "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/accounts/AccountController.hpp"
click node_twitch "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/twitch/TwitchIrcServer.hpp"
click node_youtube "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/youtube/YouTubeAccountManager.cpp"
click node_kick "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/kick/KickLiveController.cpp"
click node_tiktok "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/tiktok/TikTokAccountManager.cpp"
click node_automod "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/automod/AutoModReviewController.cpp"
click node_commands "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/commands/CommandController.cpp"
click node_highlights "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/highlights/HighlightController.cpp"
click node_recording "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/recording/ChatRecordingController.cpp"
click node_theme "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/singletons/Settings.hpp"
click node_emotes "https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/bttv/BttvEmotes.cpp"
click node_translation "https://github.com/eeva-inc/moltorino/tree/chatterino7/src/messages"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_application,node_window,node_settings,node_user toneBlue
class node_channel,node_messages,node_message_build toneAmber
class node_accounts,node_twitch,node_youtube,node_kick,node_tiktok toneMint
class node_automod,node_commands,node_highlights,node_recording,node_theme,node_emotes,node_translation toneRose
```

## Components

### Application and UI

- [Application lifecycle](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/Application.cpp): `src/Application.cpp`
- [Chat windows](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/singletons/WindowManager.cpp): `src/singletons/WindowManager.cpp`
- [Preferences](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/singletons/Settings.hpp): `src/singletons/Settings.hpp`

### Chat and messages

- [Channel model](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/common/Channel.hpp): `src/common/Channel.hpp`
- [Message model](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/messages/Message.hpp): `src/messages/Message.hpp`
- [Message building](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/messages/MessageBuilder.hpp): `src/messages/MessageBuilder.hpp`

### Platform services

- [Account management](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/accounts/AccountController.hpp): `src/controllers/accounts/AccountController.hpp`
- [Twitch chat and API](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/twitch/TwitchIrcServer.hpp): `src/providers/twitch/TwitchIrcServer.hpp`
- [YouTube chat](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/youtube/YouTubeAccountManager.cpp): `src/providers/youtube/YouTubeAccountManager.cpp`
- [Kick chat](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/kick/KickLiveController.cpp): `src/providers/kick/KickLiveController.cpp`
- [TikTok chat](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/tiktok/TikTokAccountManager.cpp): `src/providers/tiktok/TikTokAccountManager.cpp`

### User features

- [AutoMod review](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/automod/AutoModReviewController.cpp): `src/controllers/automod/AutoModReviewController.cpp`
- [Chat commands](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/commands/CommandController.cpp): `src/controllers/commands/CommandController.cpp`
- [Message highlights](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/highlights/HighlightController.cpp): `src/controllers/highlights/HighlightController.cpp`
- [Chat recording](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/controllers/recording/ChatRecordingController.cpp): `src/controllers/recording/ChatRecordingController.cpp`
- [Themes and backgrounds](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/singletons/Settings.hpp): `src/singletons/Settings.hpp`
- [Emote services](https://github.com/eeva-inc/moltorino/blob/chatterino7/src/providers/bttv/BttvEmotes.cpp): `src/providers/bttv/BttvEmotes.cpp`
- [Message translation](https://github.com/eeva-inc/moltorino/tree/chatterino7/src/messages): `src/messages`

### Other components

- **Chat user**

## Connections

- Chat user → Application lifecycle: uses (evidence: `README.md`)
- Application lifecycle → Account management: initializes (evidence: `src/Application.cpp`)
- Application lifecycle → AutoMod review: initializes (evidence: `src/Application.cpp`)
- Application lifecycle → Chat commands: initializes (evidence: `src/Application.cpp`)
- Application lifecycle → Message highlights: initializes (evidence: `src/Application.cpp`)
- Application lifecycle → Chat recording: initializes (evidence: `src/Application.cpp`)
- Chat user → Chat windows: views chat (evidence: `README.md`)
- Chat windows → Channel model: displays channels (evidence: `src/singletons/WindowManager.cpp`)
- Account management → Twitch chat and API: manages account (evidence: `src/controllers/accounts/AccountController.hpp`)
- Account management → YouTube chat: manages account (evidence: `src/controllers/accounts/AccountController.hpp`)
- Account management → Kick chat: manages account (evidence: `src/controllers/accounts/AccountController.hpp`)
- Account management → TikTok chat: manages account (evidence: `src/controllers/accounts/AccountController.hpp`)
- Chat user → AutoMod review: reviews holds (evidence: `README.md`)
- Chat user → Chat commands: uses commands (evidence: `README.md`)
- Chat user → Chat recording: records chat (evidence: `README.md`)
- Chat user → Themes and backgrounds: customizes appearance (evidence: `README.md`)
- Chat user → Emote services: uses emotes (evidence: `README.md`)
- Chat user → Message translation: translates messages (evidence: `README.md`)
