├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── README.md ├── main.js ├── package-lock.json ├── package.json ├── project.json ├── src ├── constant.js ├── control-map.js ├── details-op.js ├── get-location-image.js ├── get-location.js ├── get-ocr-location.js ├── get-share-link.js ├── get-some-can-see.js ├── save-media.js ├── save-to-db.js ├── start.js ├── transform-date.js └── utils.js └── webpack.config.js /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | test 4 | main.js -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | es6: true, 4 | }, 5 | extends: 'airbnb-base', 6 | globals: { 7 | Atomics: 'readonly', 8 | SharedArrayBuffer: 'readonly', 9 | }, 10 | parserOptions: { 11 | ecmaVersion: 2018, 12 | ecmaFeatures: { 13 | jsx: true, 14 | }, 15 | }, 16 | rules: { 17 | 'no-console': 'off', 18 | 'no-undef': 'off', 19 | 'prefer-destructuring': 'off', 20 | 'no-plusplus': 'off', 21 | 'no-loop-func': 'off', 22 | 'no-alert': 'off' 23 | }, 24 | }; 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | test -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # co-wechat-life-export 2 | 3 | 一个无需 root,用于导出朋友圈内容的 [Auto.js Pro](https://pro.autojs.org) 脚本项目。目前仅适用于微信最新版 7.0.4。 4 | 5 | 6 | 7 | 8 | 9 | ![](https://i.loli.net/2019/05/15/5cdc35a7686a033813.png) -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | 'ui'; 2 | 3 | const start = require('./dist/start.js'); 4 | const db = require('./dist/save-to-db.js'); 5 | const constant = require('./dist/constant.js'); 6 | 7 | console.setGlobalLogConfig({ 8 | file: constant.appDir + '/log.txt' 9 | }); 10 | 11 | ui.layout( 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |