{"repo":"foxswat/opencode-qwen-auth","free":true,"listed":false,"github":"https://github.com/foxswat/opencode-qwen-auth","clone":"git clone https://github.com/foxswat/opencode-qwen-auth.git","description":"Qwen OAuth authentication plugin for OpenCode with multi-account rotation and proactive token refresh","language":"TypeScript","stars":36,"topics":["alibaba","bun","oauth","opencode","opencode-plugins","qwen","typescript"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"OpenCode Qwen Auth Plugin Qwen OAuth authentication plugin for OpenCode with multi-account rotation, proactive token refresh, and automatic API translation. 💝 Donate (Crypto addresses) Bitcoin (BTC) Ethereum (ETH) USDT (ERC-20) Use the same Ethereum address above: Note for donors in China : Crypto via Binance P2P is recommended (Great Firewall blocks Ko-fi). Features - Device Flow OAuth - PKCE-secured authentication, works in headless/CI environments - Multi-Account Support - Store and rotate between multiple Qwen accounts - Hybrid Account Rotation - Smart selection using health scores, token bucket, and LRU - Proactive Token Refresh - Automatically refresh tokens before expiry - Rate Limit Handling - Detects 429 responses, rotates accounts, respects retry-after - API Translation - Bridges OpenAI Responses API ↔ Chat Completions API - Streaming Support - Full SSE transformation for real-time responses Installation Let an LLM Do It Paste this into any LLM agent (Claude Code, OpenCode, Cursor, etc.): Quick Install (Recommended) Run one command to automatically configure OpenCode: This adds the plugin and Qwen provider configuration to your opencode.json . Manual Installation If you prefer manual setup: Then add to your opencode.json : Quick Start 1. Start OpenCode in your project directory: 2. Authenticate with Qwen: Select Qwen OAuth and follow the device flow instructions. 3. Start coding with Qwen models: Configuration No configuration required. The plugin works out of the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/foxswat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/foxswat/opencode-qwen-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}