the signals and their derived score are provisional and subject to change.
validate manually before sharing.
c76b2e284742d44075cb7b743f9814d457638a154a123017395c1 month agoCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>84e6c989f7d61 month agoCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com># SERVICES
**Generated:** 2026-04-19 | **License:** AGPL-3.0 | **Rust edition:** 2024
## OVERVIEW
8 Rust microservices + 1 Node.js document server. All Rust services use axum + tokio.
## STRUCTURE
```
services/
├── api-gateway/ # Request routing (1 rs file)
├── identity-service/ # Auth: JWT, OAuth2 (1 rs file)
├── session-service/ # Session management (1 rs file)
├── storage-service/ # File storage: SQLite metadata + disk blobs (4 rs files)
├── conve# World-Office WORKSPACE
> ⚠️ **CANONICAL 2026-09-24.** This Rust + TypeScript stack is the **active build** again: the Rust docserver container (`docserver-1`, port `:8082`) is the production editor backend behind `editor.cloud.graphwiz.ai` (traefik route committed as `d363467` in `/opt/git/docker-traefik`). The Python rewrite at `server/opencloud-docserver/` is **DEPRECATED — reference only** (container stopped 2026-09-24; its last state, including line-granular pagination and header/footer page fu# DOCUMENT-SERVER-INTEGRATION
**Generated:** 2026-03-31
**Source:** codeberg.org/World Office/document-server-integration
**Files:** ~1.2k | **License:** MIT-3.0
## OVERVIEW
Integration API and examples for connecting applications to World-Office Document Server — shows how to embed editors in web apps.
## STRUCTURE
```
document-server-integration/
├── Makefile # Build system
├── web/ # Integration examples
│ ├── documentserver-example/ # Mul# opencloud-docserver — agent notes
Editor location: `web/editor.js` (one IIFE). Endpoint surface: `src/editor/router.py`.
## wo-command bus — the agent API
The editor exposes every mutating editor operation as a command on the
`wo-command` DOM event bus. `emitCommand(cmd, value)` (editor.js) dispatches:
```js
frame.contentWindow.dispatchEvent(new CustomEvent("wo-command", {
detail: { command: "bold", value: null }, // value: string | null
}));
```
The editor listens on `window` and routes each# WEB EDITOR FRONTEND
**Generated:** 2026-04-19 | **License:** AGPL-3.0
## OVERVIEW
Web-based document editing suite. Modern React editors in TypeScript. Part of pnpm workspace.
## STRUCTURE
```
apps/web/
├── apps/
│ ├── common/ # Shared editor code (217 JS files)
│ ├── spreadsheeteditor-react/ # React editor (35 ts/tsx)
│ ├── documenteditor-react/ # React editor (40 ts/tsx)
│ ├── presentationeditor-react/ # React editor (35 ts/ts# E2E TEST SUITE
**Generated:** 2026-04-19 | **License:** AGPL-3.0
## OVERVIEW
End-to-end testing for the full document editing stack: Document Server (WOPI client), OCIS (WOPI host), and Companion (deployment dashboard). Uses Playwright + Jest + Docker Compose.
## STRUCTURE
```
tests/
├── tests/ # Test specs
│ ├── setup.js # Test environment setup
│ ├── helpers/docker.js # Docker Compose helpers
│ └── fixtures/files/ # Test document fix# CORE CRATES
**Generated:** 2026-04-19 | **License:** AGPL-3.0 | **Rust edition:** 2024
## OVERVIEW
26 Rust crates implementing document format parsing, rendering, conversion, and protocol servers.
## FORMAT PARSERS (16 crates)
Each implements `FormatRoundtrip` from `wo-common/test_harness.rs`. Structure: `parser.rs` + `serializer.rs` + `roundtrip.rs`.
| Crate | Lines | Format | Notes |
|-------|-------|--------|-------|
| wo-ooxml | 2,954 | DOCX/XLSX/PPTX | Largest parser |
| wo-fb2 | 2,784 | Fictio# PACKAGES
**Generated:** 2026-04-19 | **License:** AGPL-3.0 | **Namespace:** `@world-office`
## OVERVIEW
9 shared TypeScript packages for the web editor frontend. Part of pnpm workspace.
## STRUCTURE
```
packages/
├── editor-common/ # Shared React components + utilities (42 files, 40 ts/tsx)
├── design-system/ # Design tokens, theme, primitives (38 files, 36 ts/tsx)
├── collaboration-client/ # Collaboration protocol client (13 files, 11 ts/tsx)
├── collaboration-r# CORE
**Generated:** 2026-04-19
**Source:** codeberg.org/World-Office/server
**Files:** 164 | **License:** AGPL-3.0 | **Lines:** 54,887 Rust
## OVERVIEW
26 Rust crates for document format parsing, rendering, conversion, and protocol servers. The deepest dependency layer — services and WASM targets depend on these crates.
## STRUCTURE
```
core/
├── Cargo.toml # Workspace group (resolver 2)
└── crates/
├── wo-common/ # Shared types, errors, test harness (Fo# WORLD-OFFICE-NEXTCLOUD
**Generated:** 2026-03-31
**Source:** codeberg.org/World-Office/server (independent rewrite)
**Files:** ~153 | **License:** Apache-2.0 | **Version:** 11.0.0
## OVERVIEW
Nextcloud app that integrates World Office Document Server — enables editing DOCX/XLSX/PPTX/PDF from within Nextcloud with co-editing, track changes, watermarks, and 50+ format support.
## STRUCTURE
```
worldoffice-nextcloud/
├── appinfo/info.xml # App metadata (NC 33-34, namespace: Worldoffice)# SERVER
**Generated:** 2026-04-08
**Source:** codeberg.org/World-Office/server (independent rewrite)
**Files:** ~863 | **License:** AGPL-3.0
## OVERVIEW
Node.js document builder server and common modules — provides CLI tools for document conversion and server-side processing.
## STRUCTURE
```
server/
├── package.json # npm config (ESLint 9 + Prettier + Jest)
├── .editorconfig # Editor configuration
├── .prettierrc # Prettier config
├── DocBnone