How owncloud/ocis works
oCIS is a file-sync-and-sharing platform with a bundled web client and a scalable, multi-service backend. The main user workflow is a client accessing file spaces through documented APIs, with authentication, storage, and sharing capabilities behind the service layer. The README also documents OpenID Connect, web-office integration, and extensibility through configurable services. The graph preserves those product branches; several service internals are represented at directory level because their implementation was not sampled.
Main entry points: proxy Proxy and gateway · runtime.go oCIS runtime · server.go WebDAV API · storage-system File storage services
Components 18
Client experience
- Web client
web - Mobile and desktop clients
Access and identity
- Proxy and gateway
services/proxy - Authentication services
services/auth-service - Identity provider
services/idp - Identity management
services/idm - LibreGraph API
services/graph/pkg/service/v0
File platform
- WebDAV API
services/ocdav/pkg/command/server.go - File storage services
services/storage-system - Sharing services
services/sharing - Search engine
services/search/pkg/engine/engine.go - WOPI collaboration gateway
services/collaboration/pkg/connector
Platform services
- oCIS runtime
ocis/pkg/runtime/runtime.go - Event services
services/eventhistory - Notifications
services/notifications/pkg/command/server.go - Policy engine
services/policies/pkg/engine/opa/engine.go
Other components
- Client user
- Office applications
Connections 21
- Client user → Web client: uses
README.md - Client user → Mobile and desktop clients: uses
README.md - Web client → Proxy and gateway: accesses platform
- Mobile and desktop clients → Proxy and gateway: accesses platform
README.md - Proxy and gateway → WebDAV API: routes API requests
- Proxy and gateway → LibreGraph API: routes API requests
- Client user → Authentication services: authenticates with
README.md - Authentication services → Identity provider: uses OIDC provider
README.md - Identity provider → Identity management: uses identity data
- WebDAV API → File storage services: manages file spaces
README.md - LibreGraph API → File storage services: accesses file spaces
- WebDAV API → Sharing services: supports sharing
README.md - Web client → Search engine: searches files
- Office applications → WOPI collaboration gateway: connects for editing
README.md - WOPI collaboration gateway → File storage services: accesses file content
- Event services → Notifications: provides event history
- oCIS runtime → Proxy and gateway: runs service
- oCIS runtime → WebDAV API: runs service
- oCIS runtime → File storage services: runs service
- oCIS runtime → Authentication services: runs service
- Policy engine → LibreGraph API: evaluates access rules