auditui
A terminal-based user interface (TUI) client for Audible, written in Python 3.
Listen to your audiobooks or podcasts, browse your library, and more.
What it does and where are we
main.py offers a TUI interface for browsing your Audible library, listing your books with progress information. You can sort by progress or title, show all books, or show only unfinished books which is the default.
Now, I'm working on the "play" feature, which should allow you to play a book from the terminal by pressing Enter on a book in the list, and pause/unpause with Space.
Then, the next thing to add is a progress bar at the bottom of the interface, to show the progress of the book while it's playing.
It's still a work in progress, so :
- all the code is in
main.pywith exceptions:player.pyis the test playground for the download and play functionality
- expect bugs and missing features
- the code is not yet organized as I'm currently experimenting
How to run
This project uses uv for dependency management.
# install dependencies (creates .venv)
$ uv sync
# run the TUI
$ uv run main.py
Please also note that as of now, you need to have ffmpeg installed to play audio files.
Roadmap
- list your library
- list your unfinished books with progress information
- play/pause a book
- start a book from where it was left off on the last time it was played whichever the device
- register where a book is left off when pausing or closing the app
- print progress at the bottom of the app while a book is playing
- add control to go to the previous/next chapter
- add a control to jump 30s earlier/later
- mark a book as finished or unfinished
- build a decent TUI interface using Textual
- code cleanup / organization
Auth / credentials
Login is handled and credentials are stored in ~/.config/auditui/auth.json.
OTP is supported if you use a two-factor authentication device.
License
This project is licensed under the GPLv3+ License. See the LICENSE file for details.