How onlyoffice/web-apps works
ONLYOFFICE web-apps is the user-facing frontend for Document Server and Desktop Editors. The principal workflow is a user opening a document type’s editor, editing through its interface, then saving or exporting through the surrounding ONLYOFFICE ecosystem. The repository also provides mobile and embedded interfaces, collaboration features, themes, plugins, and shared UI support. The README documents the broad product boundaries; sampled mobile controllers show some shared wiring. Unsampled editor internals and save/export call paths are represented only at the documented level.
Main entry points: controller/Main.jsx Document mobile UI · controller/Main.jsx Presentation mobile UI · controller/Main.jsx Diagram mobile UI · Collaboration.jsx Co-editing
Components 23
Editor applications
- Document editor
apps/documenteditor/main/app/controller/Main.js - Spreadsheet editor
apps/spreadsheeteditor/main/app/controller/Main.js - Presentation editor
apps/presentationeditor/main/app/controller/Main.js - PDF editor
apps/pdfeditor/main/app/controller/Main.js - Form creator
apps/documenteditor/forms/app/controller/ApplicationController.js - Diagram viewer
apps/visioeditor/main/app/controller/Main.js
Collaboration
- Co-editing
apps/common/mobile/lib/controller/collaboration/Collaboration.jsx - Comments
apps/common/mobile/lib/controller/collaboration/Comments.jsx - Review changes
apps/common/mobile/lib/controller/collaboration/Review.jsx - Version history
apps/common/mobile/lib/controller/VersionHistory.jsx - Chat
apps/common/main/lib/controller/Chat.js
Mobile experience
- Document mobile UI
apps/documenteditor/mobile/src/controller/Main.jsx - Spreadsheet mobile UI
apps/spreadsheeteditor/mobile/src/controller/Main.jsx - Presentation mobile UI
apps/presentationeditor/mobile/src/controller/Main.jsx - Diagram mobile UI
apps/visioeditor/mobile/src/controller/Main.jsx
Shared interface services
- Plugin manager
apps/common/mobile/lib/controller/Plugins.jsx - Themes
apps/common/mobile/lib/controller/Themes.jsx - Mobile storage
apps/common/mobile/utils/LocalStorage.mjs - Language metadata
apps/common/main/lib/util/LanguageInfo.js
Ecosystem integration
- Document Server
- Desktop Editors
- Integration API
Other components
- User
Connections 40
- User → Document editor: edits documents
- User → Spreadsheet editor: edits spreadsheets
- User → Presentation editor: edits presentations
- User → PDF editor: edits PDFs
- User → Form creator: creates forms
- User → Diagram viewer: views diagrams
- Document editor → Document Server: editing and conversion
- Spreadsheet editor → Document Server: editing and conversion
- Presentation editor → Document Server: editing and conversion
- PDF editor → Document Server: editing services
- Form creator → Document Server: editing services
- Diagram viewer → Document Server: editing services
- User → Document mobile UI: edits on mobile
- User → Spreadsheet mobile UI: edits on mobile
- User → Presentation mobile UI: edits on mobile
- User → Diagram mobile UI: views on mobile
- Document mobile UI → Co-editing: renders controller
apps/documenteditor/mobile/src/controller/Main.jsx - Document mobile UI → Comments: renders controller
apps/documenteditor/mobile/src/controller/Main.jsx - Document mobile UI → Review changes: renders controller
apps/documenteditor/mobile/src/controller/Main.jsx - Document mobile UI → Plugin manager: renders controller
apps/documenteditor/mobile/src/controller/Main.jsx - Spreadsheet mobile UI → Co-editing: renders controller
apps/spreadsheeteditor/mobile/src/controller/Main.jsx - Spreadsheet mobile UI → Comments: renders controller
apps/spreadsheeteditor/mobile/src/controller/Main.jsx - Presentation mobile UI → Co-editing: renders controller
apps/presentationeditor/mobile/src/controller/Main.jsx - Presentation mobile UI → Comments: renders controller
apps/presentationeditor/mobile/src/controller/Main.jsx - Presentation mobile UI → Plugin manager: renders controller
apps/presentationeditor/mobile/src/controller/Main.jsx - Presentation mobile UI → Themes: renders provider
apps/presentationeditor/mobile/src/controller/Main.jsx - Diagram mobile UI → Co-editing: renders controller
apps/visioeditor/mobile/src/controller/Main.jsx - Diagram mobile UI → Plugin manager: renders controller
apps/visioeditor/mobile/src/controller/Main.jsx - Diagram mobile UI → Themes: renders provider
apps/visioeditor/mobile/src/controller/Main.jsx - Co-editing → Document Server: synchronizes collaboration
- Document editor → Desktop Editors: runs as frontend
- Spreadsheet editor → Desktop Editors: runs as frontend
- Presentation editor → Desktop Editors: runs as frontend
- Document editor → Integration API: supports embedding
- Spreadsheet editor → Integration API: supports embedding
- Presentation editor → Integration API: supports embedding
- Document mobile UI → Mobile storage: uses storage
apps/documenteditor/mobile/src/controller/Main.jsx - Spreadsheet mobile UI → Mobile storage: uses storage
apps/spreadsheeteditor/mobile/src/controller/Main.jsx - Presentation mobile UI → Mobile storage: uses storage
apps/presentationeditor/mobile/src/controller/Main.jsx - Diagram mobile UI → Mobile storage: uses storage
apps/visioeditor/mobile/src/controller/Main.jsx