mirror of
https://github.com/This-weiyuqing/mi-fitness-health.git
synced 2026-10-17 18:55:37 +08:00
- REST API (FastAPI): all data endpoints, sync (foreground/background), coverage stats, interactive docs at /docs - API key system: exchange Xiaomi credentials for mif_sk_* keys (multi-account contexts, last-used tracking, prefix revocation); static key via MI_FITNESS_API_KEY, admin endpoints via MI_FITNESS_ADMIN_KEY - QR code login: reverse-engineered Xiaomi universal QR flow (sid=xiaomiio), auto-issues API key after scan confirmation - Built-in web dashboard (Flask): visual console for all endpoints, key management, QR login; reverse proxy with server-side key relay - Standalone testpage/ console (python app.py, no install needed) - Fix: pin mcp<2 (SDK 2.x removed Server.list_tools, broke startup) - CI: install [all,dev] extras; docs: full technical documentation and QR login implementation guide
45 lines
367 B
Plaintext
45 lines
367 B
Plaintext
.venv/
|
|
__pycache__/
|
|
target/
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
.Python
|
|
*.so
|
|
*.egg
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
*.db
|
|
*.sqlite3
|
|
.DS_Store
|
|
.env
|
|
.env.local
|
|
*.log
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
.dmypy.json
|
|
*.iml
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Local runtime data
|
|
logs/
|
|
data/
|
|
exports/
|
|
tmp/
|
|
config.json
|
|
*.local.json
|
|
*.sqlite
|
|
*.sqlite-*
|
|
*.db-*
|
|
*.zip
|
|
.backup/
|