{"id":13480446,"url":"https://github.com/luin/wechat-export","last_synced_at":"2025-04-05T05:08:28.836Z","repository":{"id":38263305,"uuid":"408030056","full_name":"luin/wechat-export","owner":"luin","description":"📃 Export WeChat chat histories to HTML files.","archived":false,"fork":false,"pushed_at":"2021-10-02T02:15:51.000Z","size":988,"stargazers_count":666,"open_issues_count":4,"forks_count":66,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-05-02T00:06:16.252Z","etag":null,"topics":["export","wechat"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-19T04:22:44.000Z","updated_at":"2024-04-29T18:59:54.000Z","dependencies_parsed_at":"2022-07-31T23:48:01.405Z","dependency_job_id":null,"html_url":"https://github.com/luin/wechat-export","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luin%2Fwechat-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luin%2Fwechat-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luin%2Fwechat-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luin%2Fwechat-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luin","download_url":"https://codeload.github.com/luin/wechat-export/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289428,"owners_count":20914464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["export","wechat"],"created_at":"2024-07-31T17:00:39.468Z","updated_at":"2025-04-05T05:08:28.820Z","avatar_url":"https://github.com/luin.png","language":"C","readme":"# wechat-export\n\nExport WeChat chat histories to HTML files.\n\n## Preview\n\nThis script generates a HTML file for each contact's chat history.\n\n\u003cimg src=\"./assets/preview.jpeg\" width=\"320\" /\u003e\n\nCurrently it supports:\n\n* Text\n* Voice\n* Picture\n* Video\n* System message\n\nTODO:\n\n- [ ] Emoji\n- [ ] Link\n\n## How to Use\n\nTested on macOS 11.5.2 and iOS 14.8, but should work on any recent versions.\n\n1. Back up iPhone with your Mac.\n\n    \u003cimg src=\"./assets/backup.png\" width=\"500\" /\u003e\n\n2. Use [iExplore](https://macroplant.com/iexplorer) to export \"Documents\" to the local system.\n\n    \u003cimg src=\"./assets/iexplore.png\" width=\"500\" /\u003e\n\n3. Clone the code.\n4. Compile the [audio decoder](https://github.com/kn007/silk-v3-decoder): `cd silk/silk \u0026\u0026 make \u0026\u0026 cd ../../`\n5. Install [Node.js](https://nodejs.org/en/) (\u003e= 14)\u003e\n6. `npm install`\n7. `node index.js path_to/Documents/{uid} output_dir` (`path_to/Documents` is what we got from the second step, and `uid` looks like `g3c3814a370neh4dr69uf9f889f6ea7a`).\n\n## Articles\n\n* [iOS 微信的本地存储结构简析](https://zhuanlan.zhihu.com/p/22474033)\n\n## Related Projects\n\n* [WeChatExporter](https://github.com/tsycnh/WeChatExporter)\n* [WechatExport-iOS](https://github.com/stomakun/WechatExport-iOS)\n\n## Credits\n\nSilk decoder is developed by [Karl Chen](https://github.com/kn007/silk-v3-decoder).\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluin%2Fwechat-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluin%2Fwechat-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluin%2Fwechat-export/lists"}