yihong0618/xiaogpt

Play ChatGPT and other LLM with Xiaomi AI Speaker

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 9th, 2026
Created on February 16th, 2023
Open Issues & Pull Requests: 72 (+0)
GitHub issues: Enabled
Number of forks: 947
Total Stargazers: 6,911 (+0)
Total Subscribers: 44 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.4 hours
Mean response time: 4.9 days
90th percentile: 8.6 days
Tracked items: 54

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 6% of issues opened in the past year have been closed. Three people close 65% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 32
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 533 days
Stale 30+ days: 32
Stale 90+ days: 31

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • documentation (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

xiaogpt is a Python tool that enables ChatGPT and other large language models to run on Xiaomi AI speakers.

The tool solves the problem of accessing advanced AI capabilities through existing smart speaker hardware. It works by connecting to Xiaomi speakers via their device identifiers and routing queries to supported language models including ChatGPT, New Bing, ChatGLM, Gemini, Doubao, Moonshot, Llama3, and others. Users interact with these models through voice commands on their Xiaomi devices, with responses played back through the speaker.

Adoption requires a Xiaomi AI speaker, Python 3.8 or later, and credentials for at least one supported language model service. The tool is suited for users who already own Xiaomi speakers and want to augment them with modern AI capabilities without replacing the hardware. Setup involves obtaining the speaker's device identifier through the miservice package and configuring environment variables with Xiaomi account credentials and the chosen AI service API keys. The project supports multiple AI backends, allowing users to choose based on availability and preference rather than being locked into a single provider.

Development shows consistent activity with regular commits addressing bug fixes and feature additions. The project maintains responsiveness to issues and pull requests from the community. Updates include support for new language model providers and improvements to the speaker integration layer. The codebase remains actively maintained with attention to compatibility across different operating systems and shell environments.