How nirajgitnest/chattrix works
Chattrix is a Streamlit dashboard for analyzing exported WhatsApp chats. The user uploads a chat, the app preprocesses it into structured rows, and the dashboard displays the processed data with CSV download plus on-demand statistics, activity, word-frequency, and emoji analyses. The app invokes preprocessing and analytics; those analytics operate on the resulting dataframe. The source excerpts show these main calls, but not deeper implementation details for Streamlit or its dependencies.
Main entry points: app.py Streamlit dashboard · preprocessor.py Chat preprocessor · helper.py Chat statistics
Components 9
Dashboard
- Streamlit dashboard
app.py - Structured data viewer
app.py - CSV download
app.py
Chat Processing
- Chat preprocessor
preprocessor.py
Chat Analytics
- Chat statistics
helper.py - Active users
helper.py - Common words
helper.py - Emoji analysis
helper.py
Other components
- Chat uploader
Connections 9
- Chat uploader → Streamlit dashboard: uploads chat
app.py - Streamlit dashboard → Chat preprocessor: preprocesses chat
app.py - Chat preprocessor → Streamlit dashboard: returns dataframe
app.py - Streamlit dashboard → Structured data viewer: renders dataframe
app.py - Streamlit dashboard → CSV download: offers download
app.py - Streamlit dashboard → Chat statistics: fetches statistics
app.py - Streamlit dashboard → Active users: fetches activity
app.py - Streamlit dashboard → Common words: fetches word counts
app.py - Streamlit dashboard → Emoji analysis: fetches emoji counts
app.py