{"id":15306644,"url":"https://github.com/t0mer/xiaomi-token-extractor","last_synced_at":"2025-04-15T00:31:33.813Z","repository":{"id":53123159,"uuid":"354782702","full_name":"t0mer/Xiaomi-Token-Extractor","owner":"t0mer","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-26T22:33:28.000Z","size":221,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T12:38:31.437Z","etag":null,"topics":["docker","flask","home-assistant","home-automation","python","xiaomi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t0mer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-04-05T09:29:46.000Z","updated_at":"2025-01-26T22:33:32.000Z","dependencies_parsed_at":"2024-04-16T11:46:15.747Z","dependency_job_id":"0ae1da90-77cf-4e57-a4d7-cba99f093e6e","html_url":"https://github.com/t0mer/Xiaomi-Token-Extractor","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2FXiaomi-Token-Extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2FXiaomi-Token-Extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2FXiaomi-Token-Extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2FXiaomi-Token-Extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t0mer","download_url":"https://codeload.github.com/t0mer/Xiaomi-Token-Extractor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248984285,"owners_count":21193718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","flask","home-assistant","home-automation","python","xiaomi"],"created_at":"2024-10-01T08:06:40.349Z","updated_at":"2025-04-15T00:31:33.360Z","avatar_url":"https://github.com/t0mer.png","language":"Python","funding_links":["https://www.paypal.com/paypalme/techblogil?locale.x=he_IL"],"categories":[],"sub_categories":[],"readme":"*Please :star: this repo if you find it useful*\r\n\r\n\u003cp align=\"left\"\u003e\u003cbr\u003e\r\n\u003ca href=\"https://www.paypal.com/paypalme/techblogil?locale.x=he_IL\" target=\"_blank\"\u003e\u003cimg src=\"http://khrolenok.ru/support_paypal.png\" alt=\"PayPal\" width=\"250\" height=\"48\"\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n\r\n# Xiaomi Token Extractor\r\n## Extract your xiaomi devices token\r\n\r\nXiaomi Token Extractor is a Python \u0026 [Flask](https://flask.palletsprojects.com/en/1.1.x/) powered, easy to use system that helps us to easily extract our Xiaomi devices tokens from the cloud in order to easily integrate them into our smart home (HA, HB etc'). \r\n\r\n## Credits\r\nThanks to [https://github.com/tzungtzu](https://github.com/tzungtzu/Xiaomi-cloud-tokens-extractor) that did the hard work i was able to create this docker with web interface.\r\n\r\n## Installation\r\n#### docker-compose from hub\r\n```yaml\r\nversion: \"3.7\"\r\n\r\nservices:\r\n  xiaomi_token_extractor:\r\n    image: techblog/xiaomi_token_extractor:latest\r\n    container_name: xiaomi_token_extractor\r\n    restart: always\r\n    labels:\r\n      - \"com.ouroboros.enable=true\"\r\n    environment:\r\n      - XIA_USER=\r\n      - XIA_PASS=\r\n      - XIA_SRV=  #Optional: [\"cn\", \"de\", \"us\", \"ru\", \"tw\", \"sg\", \"in\", \"i2\"]\r\n    ports:\r\n      - \"8080:8080\"\r\n\r\n```\r\nNow, run ```docker-compose up -d``` to pull and run your container.\r\nOpen your browser and navigate to your container ip address with port 8080, you should see the following screen.\r\n\r\n[![Xiaomi Token Extractor](https://github.com/t0mer/Xiaomi-Token-Extractor/blob/main/screenshots/xiaomi_token_extractor.jpg?raw=true \"Xiaomi Token Extractor\")](https://github.com/t0mer/Xiaomi-Token-Extractor/blob/main/screenshots/Xiaomi-Token-Extractor.jpg?raw=true \"Xiaomi Token Extractor\")\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0mer%2Fxiaomi-token-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft0mer%2Fxiaomi-token-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0mer%2Fxiaomi-token-extractor/lists"}