# euro-office/documentserver architecture

> Architecture diagram of the GitHub repository euro-office/documentserver, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/euro-office/documentserver
- Repository: https://github.com/euro-office/documentserver

## Overview

Euro-Office is a document server intended to work with a platform such as Nextcloud, which stores the files; it is not a standalone application. The README documents the platform dependency but does not describe the runtime request flow or how the repository’s major directories interact. The graph therefore shows the product and the substantial named subsystems without inventing internal calls or a user-to-result sequence. Paths identify directories in the supplied tree; source excerpts were unavailable.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_server["Server Runtime"]
  node_document_server["Document Server"]
  node_server_code["Server Components"]
  node_core["Core Engine"]
end

subgraph group_clients["Editing Clients"]
  node_sdkjs["JavaScript SDK"]
  node_forms["Forms"]
  node_web_apps["Web Applications"]
end

subgraph group_content["Document Resources"]
  node_document_formats["Document Formats"]
  node_templates["Document Templates"]
  node_fonts["Fonts"]
  node_dictionaries["Dictionaries"]
end

subgraph group_integration["Platform Integration"]
  node_ds_integration["Document Server Integration"]
  node_server_package["Server Packaging"]
end

node_platform(("Office Platform"))

node_document_server -->|"requires"| node_platform

click node_server_code "https://github.com/euro-office/documentserver/tree/main/server"
click node_document_formats "https://github.com/euro-office/documentserver/tree/main/document-formats"
click node_templates "https://github.com/euro-office/documentserver/tree/main/document-templates"
click node_fonts "https://github.com/euro-office/documentserver/tree/main/core-fonts"
click node_dictionaries "https://github.com/euro-office/documentserver/tree/main/dictionaries"
click node_core "https://github.com/euro-office/documentserver/tree/main/core"
click node_sdkjs "https://github.com/euro-office/documentserver/tree/main/sdkjs"
click node_forms "https://github.com/euro-office/documentserver/tree/main/sdkjs-forms"
click node_web_apps "https://github.com/euro-office/documentserver/tree/main/web-apps"
click node_ds_integration "https://github.com/euro-office/documentserver/tree/main/document-server-integration"
click node_server_package "https://github.com/euro-office/documentserver/tree/main/document-server-package"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_document_server,node_server_code,node_core toneBlue
class node_sdkjs,node_forms,node_web_apps toneAmber
class node_document_formats,node_templates,node_fonts,node_dictionaries toneMint
class node_ds_integration,node_server_package toneRose
class node_platform toneIndigo
```

## Components

### Server Runtime

- **Document Server**
- [Server Components](https://github.com/euro-office/documentserver/tree/main/server): `server`
- [Core Engine](https://github.com/euro-office/documentserver/tree/main/core): `core`

### Editing Clients

- [JavaScript SDK](https://github.com/euro-office/documentserver/tree/main/sdkjs): `sdkjs`
- [Forms](https://github.com/euro-office/documentserver/tree/main/sdkjs-forms): `sdkjs-forms`
- [Web Applications](https://github.com/euro-office/documentserver/tree/main/web-apps): `web-apps`

### Document Resources

- [Document Formats](https://github.com/euro-office/documentserver/tree/main/document-formats): `document-formats`
- [Document Templates](https://github.com/euro-office/documentserver/tree/main/document-templates): `document-templates`
- [Fonts](https://github.com/euro-office/documentserver/tree/main/core-fonts): `core-fonts`
- [Dictionaries](https://github.com/euro-office/documentserver/tree/main/dictionaries): `dictionaries`

### Platform Integration

- [Document Server Integration](https://github.com/euro-office/documentserver/tree/main/document-server-integration): `document-server-integration`
- [Server Packaging](https://github.com/euro-office/documentserver/tree/main/document-server-package): `document-server-package`

### Other components

- **Office Platform**

## Connections

- Document Server → Office Platform: requires (evidence: `README.md`)
