I built a CLI tool in Go to recover corrupted SQLite databases, implementing the "Corrupt Recovery" strategy inspired by Tencent's WCDB.
The Problem: Standard tools like sqlite3 .recover often fail if the file header or the sqlite_master table (usually Page 1) is corrupted. They rely on the file's internal structure to locate data.
This project is also an experiment in AI-assisted coding. The core logic (binary parsing, page scanning) and the CLI structure were primarily written by Gemini 3 Pro (Preview).
Repo: https://github.com/tougee/sqlite-repair-go
Feedback is welcome!