MCPcopy Index your code
hub / github.com/blakehan/weread_decrypt

github.com/blakehan/weread_decrypt @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
7 symbols 18 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

微信读书缓存文件解密

本项目仅供技术研究使用, 请勿用于商业用途!

本项目仅供技术研究使用, 请勿用于商业用途!

本项目仅供技术研究使用, 请勿用于商业用途!

Introduction

将微信读书下载到本地的缓存进行解密,文件保存在/data/user/0/com.tencent.weread/databases/{一串数字(vid)}/books/{bookId}中,需要手机的 ROOT 权限

Usage

  1. Clone this repo
  2. go mod tidy
  3. go build
  4. ./weread_decrypt.exe [vid] [flag] ["Your .res file folder"] 网文 flag 为 0 写出 txt 文件 实体书 flag 为 1 写出 html 文件
  5. Check output folder

Example

pic pic pic pic 出版书 pic pic pic

Core symbols most depended-on inside this repo

readInt
called by 8
main.go
getKeyAndIV
called by 2
main.go
decryptTxtFile
called by 1
main.go
decryptHtmlFile
called by 1
main.go
main
called by 0
main.go

Shape

Function 5
Struct 2

Languages

Go100%

Modules by API surface

main.go7 symbols

For agents

$ claude mcp add weread_decrypt \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact