mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
- Developed ContentErrorClassifier to classify and handle content processing errors with retry logic. - Created ErrorCommunicationService to manage user notifications for errors and retry successes. - In use with previous api. Will likely be migrated to nest api |
||
|---|---|---|
| .. | ||
| .structurizr/index | ||
| .gitignore | ||
| legacy.workspace.dsl | ||
| README.md | ||
| workspace.dsl | ||
| workspace.dsl.json | ||
Structurizr Architecture Documentation
This directory contains the C4 model architecture documentation for the Omnivore platform using Structurizr Lite.
Files
workspace.dsl- The main DSL file defining the C4 modelworkspace.json- Workspace configuration (auto-generated)
Running Structurizr
The Structurizr Lite service is included in the main Docker Compose setup:
# Start all services including Structurizr
docker-compose up -d
# Or start just Structurizr
docker-compose up structurizr
Once running, access the Structurizr web interface at: http://localhost:8080
Architecture Views
The DSL file defines several views:
- System Context - Shows how users interact with Omnivore and external systems
- Container View - Shows the internal containers/services within Omnivore
- Styling - Custom colors and themes for professional diagrams
Editing the Architecture
- Edit the
workspace.dslfile in this directory - Refresh the browser page to see changes (Structurizr Lite auto-reloads)
- Export diagrams as needed for documentation
DSL Structure
The workspace follows the standard C4 model structure:
workspace {
model {
// People and systems
// Relationships
}
views {
// Diagram definitions
// Styling
}
}
Integration with Documentation
This architecture documentation integrates with the main documentation in docs/architecture/:
c4-context.dsl- Source of truth (this file)c4-context.md- Human-readable documentationc4-context.puml- PlantUML version (if needed)
Tips
- Use
autoLayoutfor automatic positioning - Add
animationblocks to show progressive disclosure - Use
theme defaultor custom styling for consistency - Export views as PNG/SVG for inclusion in other documentation