How 2356222374/outline works
Outline is a collaborative team knowledge base. Users browse collections and documents, edit content together, and use sharing, comments, search, and integrations to collaborate. The tree and README establish these product areas, while the sampled files give limited implementation-level links: notably app store composition, editor Markdown support, and server startup. Several major areas are represented from the tree and README rather than inspected source, so their internal connections are omitted rather than inferred.
Main entry points: PluginManager.ts Plugin manager · main.ts HTTP application · index.tsx Workspace UI · RootStore.ts Client stores
Components 23
Knowledge Workspace
- Workspace UI
app/index.tsx - Collections and navigation
app/components/Sidebar/Sidebar.tsx - Document models
app/models/Document.ts - Client stores
app/stores/RootStore.ts - Search and commands
app/components/CommandBar/useSearchIndex.ts - Sharing and access
app/components/Sharing/Document/SharePopover.tsx
Editing and Collaboration
- Document editor
app/editor/index.tsx - Editor extensions
shared/editor/lib/ExtensionManager.ts - Markdown serialization
shared/editor/lib/markdown/serializer.ts - Comments and reactions
app/scenes/Document/components/Comments/Comments.tsx - Live collaboration
app/scenes/Document/components/AsyncMultiplayerEditor.ts
Application Services
- HTTP application
server/main.ts - Server services
server/services/index.ts - Database storage
- Server domain models
server/models/SearchQuery.ts
Integrations and Storage
- File storage layer
server/storage/files/BaseStorage.ts - S3 storage
server/storage/files/S3Storage.ts - Plugin manager
server/utils/PluginManager.ts - Webhook subscriptions
plugins/webhooks/client/hooks/useWebhookSubscriptionMenuActions.ts - GitHub integration
plugins/github/server/tasks/GitHubWebhookTask.ts - GitLab integration
plugins/gitlab/server/tasks/GitLabWebhookTask.ts - OIDC authentication
plugins/oidc/server/auth/oidcRouter.ts
Other components
- Team member
Connections 19
- Team member → Workspace UI: uses
README.md - Workspace UI → Client stores: composes
- Client stores → Document models: registers stores
app/stores/RootStore.ts - Team member → Document editor: edits documents
README.md - Document editor → Editor extensions: uses extensions
- Editor extensions → Markdown serialization: creates serializer
shared/editor/lib/ExtensionManager.ts - Team member → Collections and navigation: browses knowledge
README.md - Team member → Sharing and access: shares content
README.md - Team member → Comments and reactions: collaborates
README.md - Team member → Live collaboration: edits together
README.md - Workspace UI → Search and commands: offers search
- HTTP application → Server services: starts services
server/main.ts - HTTP application → Database storage: checks connection
server/main.ts - HTTP application → Server domain models: serves domain data
- File storage layer → S3 storage: extends storage
server/storage/files/S3Storage.ts - Plugin manager → GitHub integration: loads integrations
- Plugin manager → GitLab integration: loads integrations
- Plugin manager → Webhook subscriptions: loads integrations
- Plugin manager → OIDC authentication: loads integrations