Skip to main content

Architecture

The self-hosted Blotch server runs as a set of five Docker containers working together. All data is stored locally on your machine.

Container Overview

ContainerRole
App Front EndWeb interface where you configure your Frame, manage Pages, and install Widgets
App ServerHandles API requests from the front end for configuration and management
Frame BackendServes the latest state of your Frame (current Page, Widget data, Schedule) over HTTP
WebSocket ServerPushes real-time updates to your Frame so it refreshes without polling
DatabaseStores all your configuration, Widget settings, Schedules, and Frame state

Data Flow

  1. You open the web interface in your browser to configure your Frame — choosing Widgets, building Pages, and setting Schedules
  2. The App Front End sends your changes to the App Server, which stores them in the Database
  3. Your Blotch Smart Frame periodically fetches its latest state from the Frame Backend over HTTP
  4. When you make changes, the WebSocket Server pushes an update to the Frame so it refreshes immediately

Self-Contained Data

All data is stored in Docker volumes on your host. No external cloud services are needed. Your Frame only needs access to your server on the local network.