xiaoyuzhou.md
1 # Xiaoyuzhou (小宇宙) 2 3 **Mode**: 🔑 Local API · **Domain**: `xiaoyuzhou.fm` 4 5 ## Commands 6 7 | Command | Description | 8 |---------|-------------| 9 | `opencli xiaoyuzhou podcast` | View a podcast profile (requires local credentials) | 10 | `opencli xiaoyuzhou podcast-episodes` | List podcast episodes (requires local credentials) | 11 | `opencli xiaoyuzhou episode` | View episode details (requires local credentials) | 12 | `opencli xiaoyuzhou download` | Download episode audio (requires local credentials) | 13 | `opencli xiaoyuzhou transcript` | Download transcript JSON and extracted text (requires local credentials) | 14 15 ## Usage Examples 16 17 ```bash 18 # Podcast profile 19 opencli xiaoyuzhou podcast 6013f9f58e2f7ee375cf4216 20 21 # Recent episodes 22 opencli xiaoyuzhou podcast-episodes 6013f9f58e2f7ee375cf4216 --limit 5 23 24 # Episode details 25 opencli xiaoyuzhou episode 69b3b675772ac2295bfc01d0 26 27 # Download episode audio 28 opencli xiaoyuzhou download 69b3b675772ac2295bfc01d0 --output ./xiaoyuzhou 29 30 # Download transcript JSON + text 31 opencli xiaoyuzhou transcript 69dd0c98e2c8be31551f6a33 --output ./xiaoyuzhou-transcripts 32 33 # JSON output 34 opencli xiaoyuzhou episode 69b3b675772ac2295bfc01d0 -f json 35 36 # Verbose mode 37 opencli xiaoyuzhou transcript 69dd0c98e2c8be31551f6a33 -v 38 ``` 39 40 ## Prerequisites 41 42 - No browser required — uses the authenticated Xiaoyuzhou API 43 - All commands require local Xiaoyuzhou app credentials in `~/.opencli/xiaoyuzhou.json` 44 45 Example credential file: 46 47 ```json 48 { 49 "access_token": "your-access-token", 50 "refresh_token": "your-refresh-token", 51 "device_id": "81ADBFD6-6921-482B-9AB9-A29E7CC7BB55", 52 "device_properties": "", 53 "expires_at": 0 54 } 55 ```