How arcturus-labs/llm-text-assistant works
Main Components
A. Frontend Layer (React):
• Components Module (showing key components like ArtifactPanel, MessageContent)
• Assets
• Main Application Entry (App.jsx)
B. Backend Layer (Flask):
• API Routes Module
• Static Routes Module
• Subscription Routes Module
C. Infrastructure Layer:
• Docker Container (encompassing both frontend and backend)
• Fly.io Deployment Platform
Component Relationships
• Frontend-Backend communication through API endpoints
• Docker container encapsulation
• Deployment flow to Fly.io
• Request/response flow between components
Detailed Component Breakdown
Frontend Structure:
React Application
• Components
• ArtifactPanel
• ArtifactTab
• MessageContent
• SubscriptionCheck
• Assets
• Main Application (App.jsx)
Backend Structure:
Flask Application
• API Routes
• Conversation
• Tools
• General Routes
• Static Routes
• Subscription Routes
Additional Elements
Supporting components:
• Testing Framework connections (Jest for frontend, Pytest for backend)
• Build/Deploy pipeline (GitHub Actions)
• Development tools (Vite, Babel)
Infrastructure Layer (Docker + Fly.io)
Use these symbols:
• Rectangles: Components and modules
Important Notes
• Separation of concerns between frontend and backend
• API communication paths
• Containerization boundary
• CI/CD pipeline flow
• Development tooling connections