A simple and powerful WhatsApp export chat viewer that allows you to browse, search, and analyze your exported WhatsApp chats—right from your browser.
- Image search using OCR (Tesseract)
- Search messages by text or sender
- Filter messages by date
- Fast chat navigation
- Multiple exported chat folders
You do not need Python or Tesseract installed locally. Everything runs inside Docker.
docker pull sohelshekhin/wp_export_chat_viewer:latest
Example folder structure:
/home/user/chats/
└── FamilyChat/
├── _chat.txt
└── Media/
├── image1.jpg
└── ...
docker run -p 5000:5000 -v /home/user/chats:/data/chats sohelshekhin/wp_export_chat_viewer:latest
Open in your browser:
http://localhost:5000
Your chat folders will appear in the picker automatically.
Not recommended, but supported
Run the container:
docker run -d -p 5000:5000 --name chatviewer sohelshekhin/wp_export_chat_viewer
Copy your chats:
docker cp chats/ chatviewer:/app/chats
Then open:
http://localhost:5000
WhatsApp → Chat → More → Export Chat → WITH Media
This generates:
_chat.txt
/home/user/chats/FamilyChat/
FamilyChat/_chat.txt
FamilyChat/Media/
image1.jpg
image2.jpg
docker run -p 5000:5000 -v /home/user/chats:/data/chats sohelshekhin/wp_export_chat_viewer
config.py supports:
CHAT_ROOT = os.environ.get("CHAT_ROOT", "/data/chats")
SELF_NAME = "Your Name In WhatsApp Export"
Override CHAT_ROOT:
docker run -p 5000:5000 -e CHAT_ROOT=/data/chats -v /home/user/chats:/data/chats sohelshekhin/wp_export_chat_viewer
app.py
config.py
parsing.py
ocr_utils.py
meta_db.py
chat_state.py
templates/
base.html
chat.html
picker.html
static/
css/style.css
js/chat.js
chats/ (optional for local runs)
- Python 3.10+
- Tesseract OCR installed
pip install -r requirements.txt
python app.py
Open:
http://localhost:5000
MIT License