How akshithkl/zulip works
Zulip is an organized team-chat application built around topic-threaded conversations, with web-client interaction, server-side request handling, and supporting account, billing, import, and analytics capabilities. The graph follows the documented chat workflow and preserves major subsystems visible in the tree. Source-level evidence is limited to the supplied excerpts and SOURCE INDEX; unsampled links are omitted rather than inferred.
Main entry points: handlers.py Django request runtime · click_handlers.ts Interaction handlers · stripe_event_handler.py Billing event handling · webhook.py Billing webhook
Components 21
Web client
- Web application
web/src/bundles/app.ts - Interaction handlers
web/src/click_handlers.ts - Message composition
web/src/compose_actions.ts - Message view
web/src/message_view.ts - Recent conversations
web/src/recent_view_ui.ts - Stream navigation
web/src/stream_list.ts
Server runtime
- Django request runtime
zerver/tornado/handlers.py - Tornado application
zerver/tornado/application.py - Message sending
zerver/actions/message_send.py - Stream operations
zerver/lib/streams.py
Accounts and billing
- Authentication backends
zproject/backends.py - Billing webhook
corporate/views/webhook.py - Billing event handling
corporate/lib/stripe_event_handler.py - Stripe billing
corporate/lib/stripe.py - Billing records
corporate/models/stripe_state.py
Integrations and import
- Organization import
zerver/data_import - Bot storage API
zerver/views/storage.py - Bot storage
zerver/lib/bot_storage.py
Analytics
- Analytics counts
analytics/lib/counts.py - Analytics views
analytics/views/stats.py
Other components
- Team member
Connections 16
- Team member → Web application: uses
- Web application → Interaction handlers: loads
web/src/bundles/app.ts - Interaction handlers → Message composition: invokes
web/src/click_handlers.ts - Interaction handlers → Message view: invokes
web/src/click_handlers.ts - Team member → Django request runtime: sends requests
- Tornado application → Django request runtime: dispatches
zerver/tornado/application.py - Django request runtime → Message sending: routes requests
- Django request runtime → Stream operations: routes requests
- Team member → Authentication backends: authenticates
- Billing webhook → Billing event handling: dispatches events
corporate/views/webhook.py - Billing webhook → Billing records: reads and writes
corporate/views/webhook.py - Billing event handling → Stripe billing: uses billing functions
corporate/lib/stripe_event_handler.py - Billing event handling → Billing records: updates records
corporate/lib/stripe_event_handler.py - Bot storage API → Bot storage: reads and writes
zerver/views/storage.py - Team member → Organization import: imports history
- Analytics counts → Analytics views: supplies counts