How suhas1010/rocket.chat works
Rocket.Chat is a secure, extensible team communications platform. Its principal user workflow is joining a workspace and communicating with colleagues or external customers through messaging and real-time calls; administration, access controls, federation, and integrations support that workflow. The README documents these capabilities, while the sampled source is selective and does not expose the complete runtime routing between client and server, so several product-level relationships are documented rather than traced to callers.
Main entry points: client Web client · message Messaging · AppsEngine.ts Apps Engine · AuthenticationContext.ts Authentication
Components 20
Communication
- Web client
apps/meteor/client - Messaging
apps/meteor/client/components/message - Customer live chat
packages/livechat - Voice and video
packages/ui-video-conf - Federation
ee/packages/xmpp-server/src/s2s/S2SManager.ts - Presence
ee/packages/presence/src/lib/presenceEngine.ts
Security and identity
- Attribute access
ee/packages/abac - Authentication
packages/ui-contexts/src/AuthenticationContext.ts - Session sharing
apps/meteor/client/views/root/hooks/useShareSessionWithOtherClients.ts
Extensions and services
- Apps Engine
packages/apps/src/AppsEngine.ts - App manager
packages/apps/src/server/AppManager.ts - App UI host
packages/apps/src/client/AppsEngineUIHost.ts - AI search
packages/ai-search/src/clientSearch.ts
Platform runtime
- Realtime transport
packages/ddp-client/src/ClientStream.ts - Workspace server
packages/ddp-server/src/Server.ts - Workspace data
packages/models/src/models/Apps.ts - Random generation
packages/random/src/main.client.ts - Feature previews
packages/ui-client/src/hooks/useFeaturePreviewList.ts
Other components
- Workspace user
- External systems
Connections 18
- Workspace user → Web client: uses
- Web client → Messaging: communicates through
- Web client → Voice and video: starts calls
- Web client → Customer live chat: contacts support
- Messaging → Presence: shows status
- Messaging → Federation: communicates across networks
- Web client → Attribute access: enforces access controls
- Workspace user → Authentication: authenticates
- Authentication → Session sharing: shares session
apps/meteor/client/views/root/hooks/useShareSessionWithOtherClients.ts - Web client → Realtime transport: exchanges realtime data
- Realtime transport → Workspace server: transports requests
- Workspace server → Workspace data: persists workspace data
- Web client → Apps Engine: uses extensions
- Apps Engine → App manager: manages apps
packages/apps/src/AppsEngine.ts - Web client → App UI host: hosts app UI
- Apps Engine → External systems: integrates with systems
- Web client → AI search: searches conversations
- Web client → Feature previews: configures previews