Add audiobooks CLI for Audiobookshelf API access

- current/recent/finished/stats/libraries commands
- Tab-separated output for minimal tokens
- For wind-down suggestions: know what user is listening to
This commit is contained in:
Agent 2026-02-07 15:37:00 +00:00
parent 10a4c1227b
commit cc5baa712b
2 changed files with 188 additions and 0 deletions

View file

@ -67,6 +67,25 @@ derstandard raw [max] # Full RSS XML
2. Pick interesting ones, optionally fetch full content with `articles`
3. Next briefing: only shows articles published since last check
## Audiobookshelf
Helper script: `~/clawd/bin/audiobooks`
```bash
audiobooks current # Currently listening / in-progress books
audiobooks recent [limit] # Recently active books (default: 5)
audiobooks finished [limit] # Finished books (default: 10)
audiobooks stats # Listening stats overview
audiobooks libraries # List libraries
```
- Credentials: `.credentials/audiobookshelf.env`
- URL: `https://audiobooks.cloonar.com`
- Output is tab-separated for minimal tokens
- Use during wind-down to suggest continuing audiobook
---
## Forgejo Git Access
Helper script: `~/bin/forgejo`