mirror of
https://github.com/teest114514/chatlog_alpha.git
synced 2026-04-04 09:45:04 +08:00
Features: - Add sns.db database integration and auto-detection - Implement XML content parser for moments data (internal/model/sns.go) - Extract basic info: create time, nickname, content description - Parse location data: city, coordinates, POI name, address - Recognize media types: image, video, article, finder (video account) - Extract structured data: image count, video duration, article info - Add "朋友圈检索" (Moments Search) page in HTTP UI - Support multiple output formats: - JSON: Structured data for programmatic access - Plain text: Human-readable format with emoji icons - Raw XML: Original XML content for debugging - CSV/Excel: Export for data analysis - Support query features: filter by username, limit, offset pagination - Database browser integration: SNS database visible in decrypted DB list Technical changes: - internal/wechatdb/datasource/v4/datasource.go: Add SNS group config and query methods - internal/wechatdb/datasource/datasource.go: Add SNS interface methods - internal/wechatdb/wechatdb.go: Add GetSNSTimeline and GetSNSCount - internal/chatlog/database/service.go: Add SNS service layer methods - internal/chatlog/http/route.go: Add /api/v1/sns endpoint with format support - internal/chatlog/http/static/index.htm: Add moments search tab and UI - .gitignore: Ignore tmpclaude directories and sns.md test file - README.md: Update changelog for 2026-01-14 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>