Skip to content

Architecture

Toni Leino edited this page Jun 12, 2026 · 2 revisions

Architecture

Service-oriented, four layers:

UI Layer (bubbletea)   workspace rail · sidebar · messages · thread · compose · status bar
Service Layer          WorkspaceManager · MessageService · ConnectionManager
Client Layer           Slack Web API + browser-protocol WebSocket
Data Layer             SQLite cache · TOML config · token storage
  • ~9,300 lines of Go across 31 source files and 24 test files
  • SQLite is a cache, not the source of truth — Slack remains authoritative
  • Render cache + bubbles/viewport for snappy scrolling
  • muesli/reflow everywhere for ANSI-correct wrapping and truncation

Further reading

Clone this wiki locally