feat: 高精度离线GeoIP — MMDB支持 + 中文路径修复 + 分块自解压

- geoip.py: 修复中文路径 str()→Path 编码问题 (maxminddb Latin-1 bug)
- geoip.py: 启动自动重组geoip_chunks分块 + gunzip解压
- scripts/setup_geoip.py: 手动重组/解压脚本
- .gitignore: 忽略解压后的 .mmdb 文件

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
TianXuan Developer
2026-07-23 23:42:38 +08:00
parent 0f84497c82
commit e0a7400bd7
3 changed files with 103 additions and 2 deletions
+3
View File
@@ -18,6 +18,9 @@ runtime/
*.sqlite3-wal
*.sqlite3-shm
# GeoIP MMDB (decompressed — .gz versions are tracked)
*.mmdb
# Logs
logs/
*.log