How adityapandey3460/chitchat works
ChitChat is a Django-based chat application with HTTP views and Channels WebSocket consumers. Its likely user journey spans account access, individual or group conversations, and real-time message exchange; the tree also identifies encryption, media, and group-management features. The README contains no usable capability details, and most application source was not sampled, so only the routing and authentication relationships visible in the supplied evidence are connected; other features are shown as components without guessed call paths.
Main entry points: routing.py Socket routing · auth.py Account access · common.py Shared view helpers · consumers_global.py Global chat socket
Components 23
HTTP features
- Account access
chat/views/auth.py - Shared view helpers
chat/views/common.py - Individual chat
chat/views/individual_chat.py - Group chat
chat/views/group_chat.py - Group management
chat/views/group_management.py - Message encryption
chat/views/encryption.py - Group encryption
chat/views/group_encryption.py - Media handling
chat/views/media.py
Real-time chat
- Global chat socket
chat/consumers_global.py - Group chat socket
chat/consumers_group.py - Individual chat socket
chat/consumers_individual.py - Socket routing
chat/routing.py
Browser client
- Chat interface
static/js/chitchat/chat_ui.js - WebSocket client
static/js/chitchat/websocket.js - Browser encryption
static/js/chitchat/encryption.js - Group controls
static/js/chitchat/group_management.js - Browser helpers
static/js/chitchat/common.js - Browser storage
static/js/chitchat/storage.js
Application platform
- Chat data models
chat/models.py - MongoDB
- ASGI application
chitchat/asgi.py - Application settings
chitchat/settings.py
Other components
- User
Connections 6
- User → Account access: requests account access
- Account access → Shared view helpers: uses helpers
chat/views/auth.py - Account access → MongoDB: updates user records
chat/views/auth.py - Socket routing → Individual chat socket: routes sockets
chat/routing.py - Socket routing → Group chat socket: routes sockets
chat/routing.py - Socket routing → Global chat socket: routes sockets
chat/routing.py