Fix ASCII diagram alignment in ARCHITECTURE.md

This commit is contained in:
GitHub Copilot
2026-01-24 20:29:32 +00:00
parent 45645ab724
commit ba5ff120c9
+8 -8
View File
@@ -7,20 +7,20 @@ This document describes the internal architecture of textual-webterm.
textual-webterm is a web-based terminal server that exposes terminal sessions (or Textual apps) over HTTP and WebSocket. It's designed to run behind a reverse proxy with authentication. textual-webterm is a web-based terminal server that exposes terminal sessions (or Textual apps) over HTTP and WebSocket. It's designed to run behind a reverse proxy with authentication.
``` ```
┌─────────────┐ ─────────────────────────────────────────────────┐ ┌─────────────┐ ┌───────────────────────────────────────────────────┐
│ Browser │────▶│ local_server.py │ │ Browser │────▶│ local_server.py
│ │◀──── (aiohttp web server) │ │◀─────│ (aiohttp web server) │
└─────────────┘ │ │ └─────────────┘ │ │
│ │ ┌─────────────┐ ┌──────────────────────────┐ │ │ ┌───────────────┐ ┌──────────────────────────┐ │
│ WebSocket │ │ session_ │ │ terminal_session.py │ │ │ WebSocket │ │ session_ │ │ terminal_session.py │ │
└────────────▶│ │ manager.py │──│ (PTY + pyte emulator) │ │ └────────────▶│ │ manager.py │──│ (PTY + pyte emulator) │ │
│ └─────────────┘ └──────────────────────────┘ │ └───────────────┘ └──────────────────────────┘ │
│ │ │ │
│ ┌─────────────┐ ┌──────────────────────────┐ │ ┌───────────────┐ ┌──────────────────────────┐ │
│ │ poller.py │ │ docker_stats.py │ │ │ │ poller.py │ │ docker_stats.py │ │
│ │ (I/O thread) │ │ (CPU metrics via socket) │ │ │ │ (I/O thread) │ │ (CPU metrics via socket) │ │
│ └─────────────┘ └──────────────────────────┘ │ └───────────────┘ └──────────────────────────┘ │
─────────────────────────────────────────────────┘ └───────────────────────────────────────────────────┘
``` ```
## Core Components ## Core Components