Code Monkey home page Code Monkey logo

wechat-explorer's Introduction

Wechat Explorer

微信聊天记录导出、分析工具 For iOS

Guide

Install via pip

pip install wechat-explorer

Export wechat data from your iOS backup

You may use the free iPhone Backup Extractor or iExplorer. Export the folder named com.tencent.xin. There is an folder named Documents in your exports.

How to use

wexp list_chatrooms ../Documents user_id
wexp list_friends ../Documents user_id
wexp get_chatroom_stats ../Documents user_id chatroom_id@chatroom 2015-08-01 2015-09-01
wexp export_chatroom_records ../Documents user_id chatroom_id@chatroom 2015-10-01 2015-10-07 ../
wexp get_friend_label_stats ../Documents user_id

HTML chatroom records to PDF

wkhtmltopdf --dpi 300 records.html records.pdf

Demo

原理

由于 iOS 本身的限制,是拿不到任何数据的。我们只能从 iTunes 的备份中,导出微信 App 的数据,然后通过分析数据,实现一系列的功能(比如导出聊天记录,数据计算等等)。

TODO

  • support non-text record type
  • add avatars group members

wechat-explorer's People

Contributors

humiaozuzu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.