Please ⭐ this repo if you find it useful
Extract your Xiaomi device tokens directly from the cloud via a modern web interface.
Built with React + Vite (frontend) and FastAPI (backend), served from a single Docker container.
- Fetches devices from all Xiaomi regional servers (cn, de, us, ru, tw, sg, in, i2)
- One-click copy for Token and BLE Key values
- Instant search across all device fields
- Dark / light mode toggle
- Responsive — card layout on mobile, full table on desktop
services:
xiaomi_token_extractor:
image: techblog/xiaomi_token_extractor:latest
container_name: xiaomi_token_extractor
restart: always
environment:
- XIA_USER=your@email.com
- XIA_PASS=yourpassword
- XIA_SRV= # optional: cn, de, us, ru, tw, sg, in, i2
ports:
- "8080:8080"docker-compose up -dOpen http://<host>:8080 in your browser.
Thanks to tzungtzu for the original cloud connector.