How story-apps/starc works
Story Architect is a Qt desktop writing environment that takes authors from project and document setup through planning, drafting, analysis, and formatted exchange. The README documents support for many writing formats, templates, research, story assets, multiple drafts, planning tools, and analytical views. The sampled application code shows startup entering the application manager, which owns the principal management services; the format manager explicitly selects readers. Many feature implementations were not sampled, so their paths identify existing feature directories and their internal links are left unasserted.
Main entry points: application_manager.cpp Application manager · format_manager.cpp Format reader selection · import_manager.cpp Document import · application.cpp Desktop application
Components 18
Application startup
- Desktop application
src/app/application.cpp - Application manager
src/core/management_layer/application_manager.cpp
Project management
- Projects and drafts
src/core/management_layer/content/projects/projects_manager.cpp - Project workspace
src/core/management_layer/content/project/project_manager.cpp - Account services
src/core/management_layer/content/account/account_manager.cpp - Preferences and templates
src/core/management_layer/content/settings/settings_manager.cpp - Application data
src/corelib/data_layer/database.cpp
Writing and planning
- Format-specific editors
src/core/management_layer/plugins - Planning tools
src/core/management_layer/plugins - Story analysis
src/core/management_layer/plugins
Document exchange
- Document import
src/core/management_layer/content/import/import_manager.cpp - Format reader selection
src/3rd_party/fileformats/format_manager.cpp - ODT reader
src/3rd_party/fileformats/odt_reader.cpp - DOCX reader
src/3rd_party/fileformats/docx_reader.cpp - RTF reader
src/3rd_party/fileformats/rtf_reader.cpp - Text reader
src/3rd_party/fileformats/txt_reader.cpp - Document export
src/core/management_layer/content/export/export_manager.cpp
Other components
- Author
Connections 20
- Author → Desktop application: uses
- Desktop application → Application manager: starts via
src/app/application.cpp - Application manager → Account services: creates
src/core/management_layer/application_manager.cpp - Application manager → Projects and drafts: creates
src/core/management_layer/application_manager.cpp - Application manager → Project workspace: creates
src/core/management_layer/application_manager.cpp - Application manager → Preferences and templates: creates
src/core/management_layer/application_manager.cpp - Application manager → Document import: creates
src/core/management_layer/application_manager.cpp - Application manager → Document export: creates
src/core/management_layer/application_manager.cpp - Author → Projects and drafts: organizes work
- Author → Format-specific editors: drafts in
- Author → Planning tools: plans with
- Author → Story analysis: reviews
- Author → Document import: imports work
- Author → Document export: exports work
- Document import → Format reader selection: selects reader
- Format reader selection → ODT reader: selects
src/3rd_party/fileformats/format_manager.cpp - Format reader selection → DOCX reader: selects
src/3rd_party/fileformats/format_manager.cpp - Format reader selection → RTF reader: selects
src/3rd_party/fileformats/format_manager.cpp - Format reader selection → Text reader: falls back
src/3rd_party/fileformats/format_manager.cpp - Project workspace → Application data: persists data