How 0x6e08715/wechatanalysis works
WeChatMsg is a Windows desktop tool for decrypting and exploring a user’s local WeChat data, analyzing conversations, and exporting chat and contact data. The main workflow starts in the desktop application, opens the main interface, and uses message data for chat viewing, analysis, and export. Separate UI areas support contacts and PC decryption. The README documents broader export formats and visual reports; those capabilities are represented by their source directories, but their internal wiring is not established by the sampled excerpts.
Main entry points: main.py App entry · mainview.py Main window · decrypt.py Database decryption · msg.py Message queries
Components 17
Desktop application
- App entry
main.py - Main window
app/ui/mainview.py - Chat views
app/ui/chat - Contact views
app/ui/contact - Decrypt tool
app/ui/tool/pc_decrypt/pc_decrypt.py
Local data
- Database decryption
app/decrypt/decrypt.py - WeChat process info
app/decrypt/get_wx_info.py - Message queries
app/DataBase/msg.py - Message database
app/DataBase/msg.py
Analysis and reports
- Conversation analysis
app/analysis/analysis.py - Web reports
app/web_ui/web.py
Export and contacts
- Contact models
app/person.py - Chat exporters
app/util/exporter/exporter.py - HTML export
app/util/exporter/exporter_html.py
Other components
- User
- WeChat process
- Local files
Connections 16
- User → App entry: launches
- App entry → Main window: opens
- App entry → Decrypt tool: offers decryption
- Decrypt tool → Database decryption: requests decryption
- Database decryption → WeChat process info: gets process data
- WeChat process info → WeChat process: reads process memory
- Database decryption → Local files: writes decrypted files
- Main window → Chat views: opens chat views
- Main window → Contact views: opens contact views
- Message queries → Message database: queries
- Conversation analysis → Message queries: requests message data
- Web reports → Conversation analysis: requests chart data
- Web reports → Message queries: requests message data
- Chat exporters → HTML export: uses HTML format
- HTML export → Local files: writes exported media
- Contact models → Local files: saves avatars