command
module
Version:
v0.0.0-...-87488ff
Opens a new window with list of versions in this module.
Published: Nov 12, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
提取QQ NT数据库 group_msg_table 中的纯文本
用法
[!Tip]
如果提取消息失败,可尝试添加-ver 数字参数以适配不同版本数据库格式,默认值:0,目前可取:0~2。
- 打印数据库中所有群号
go run main.go -pg nt_msg.body.db
- 直接按时间顺序输出群号 1234567 的全部消息到屏幕
go run main.go -g 1234567 nt_msg.body.db
- 按时间顺序写入群号 1234567 的全部消息到文本文件
go run main.go -g 1234567 nt_msg.body.db > chat.txt
Documentation
¶
Package main 是一个解析消息为纯文本的示例, 可通过引用 package 的方式扩展更多处理逻辑.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.