Skip to content
Projects

About

A fun, fast, and intuitive TUI client for Audiobookshelf — browse, play, and sync your audiobooks & podcasts, all in your terminal. Linux & macOS.

Developer Tools

How these counts are measured

31 stars2 Forks +1 in 24h

What you can do

  • Podcast home: one "New & Unfinished" list across all your shows, instant mark-as-finished (F), and auto-play straight into the next unfinished episode
  • Manage podcast subscriptions: add a show by name or a direct RSS URL (A), with cover art and a description shown as you browse the results, or remove one (C) and choose whether to keep or delete its downloaded files. It's all done from Library, with no separate screen
  • Browse libraries: flip through your Library, or jump to Collections and series (grouped, in sequence order) with Tab/S
  • Listening stats: a Stats page with streaks, a day-of-week chart, a year-long activity heat-map, recent sessions, and top lists for what and who you listen to most

Measured star growth

in 24h
+1
in 7 days
+2
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

GitHub release crates.io Release CI Security audit License: GPL v3 Rust Platform Awesome Ratatui

Absotui icon Absotui

"ABS" (Audiobookshelf) + "TUI" (terminal user interface) — read it like "absolutely."

📖 Demo

A fast, keyboard-driven terminal client for your self-hosted Audiobookshelf server. Browse by library, series, or collection, and navigate chapters.

Features • Installation • Roadmap • More info


✨ Features

Absotui is a minimalist TUI built in Rust, for both audiobooks and podcasts. It opens fast, barely touches your CPU while it's just sitting there, and stays quick even with a huge library.

  • Podcast home: one "New & Unfinished" list across all your shows, instant mark-as-finished (F), and auto-play straight into the next unfinished episode
  • Manage podcast subscriptions: add a show by name or a direct RSS URL (A), with cover art and a description shown as you browse the results, or remove one (C) and choose whether to keep or delete its downloaded files. It's all done from Library, with no separate screen
  • Browse libraries: flip through your Library, or jump to Collections and series (grouped, in sequence order) with Tab/S
  • Listening stats: a Stats page with streaks, a day-of-week chart, a year-long activity heat-map, recent sessions, and top lists for what and who you listen to most
  • Stream or listen offline: download (d) any book or episode for offline listening. A downloaded copy is used automatically when you have one, and Auto Download can keep your current listens downloaded for you. Settings > Downloads lists everything you've downloaded, with sizes, and removes what you no longer need
  • Cover art in your terminal: book and episode artwork shown inline (Kitty/Ghostty/Sixel/iTerm2 terminals)
  • Chapter navigation: browse a book's chapter list inline in Continue Listening, with progress for each chapter
  • Desktop integration: a custom app icon, a taskbar/dock icon on supported terminals, and a window title showing what's playing
  • Uses your terminal's colors: follows your terminal color scheme/theme
  • In-app updates: Settings > Update / Uninstall runs the install flow without leaving the app
  • Pick your player: VLC or mpv, whichever you like better. The installer asks, and you can switch any time in Settings > Player
  • Per-item playback speed: optionally (Settings > Per-Item Speed) save a separate speed for each book or podcast instead of sharing one across everything
  • Progress sync: keeps audiobook and podcast episode progress in sync with your server
  • SSO sign-in: log in with a username and password, or through your server's identity provider (OpenID Connect). See Signing in with SSO

📌 Project status

Actively developed, single-maintainer project. Absotui reads your library and syncs playback progress, and the only other thing it changes on your server is podcast subscriptions: A adds a show (and downloads the episodes you pick) and C removes one. A "hard" remove also deletes that show's downloaded files, and it always asks first. Both need an Audiobookshelf account with permission to do that. Check known bugs or open an issue if something looks off.


🚀 Installation

Absotui runs on Linux and macOS. On Windows, install it inside WSL 2 with any of the Linux methods below; WSL 2 plays audio through WSLg.

⚡ Easy installation (install script)

Run the following in your terminal, then follow the on-screen instructions:

bash -c 'tmpfile=$(mktemp) && curl -LsSf https://raw.githubusercontent.com/pdwaldrop/absotui/stable/hello_absotui.sh -o "$tmpfile" && bash "$tmpfile" install && rm -f "$tmpfile"'

The installer asks which player to use, VLC (the default) or mpv, and installs that one. You can switch later in Settings > Player (the other player has to be installed). To skip the question, set ABSOTUI_PLAYER=vlc or ABSOTUI_PLAYER=mpv before running it.

Update

Run absotui --update, or quit the app and run the following in your terminal:

bash -c 'tmpfile=$(mktemp) && curl -LsSf https://raw.githubusercontent.com/pdwaldrop/absotui/stable/hello_absotui.sh -o "$tmpfile" && bash "$tmpfile" update && rm -f "$tmpfile"'

Uninstall

Run absotui --uninstall, or quit the app and run the following in your terminal:

bash -c 'tmpfile=$(mktemp) && curl -LsSf https://raw.githubusercontent.com/pdwaldrop/absotui/stable/hello_absotui.sh -o "$tmpfile" && bash "$tmpfile" uninstall && rm -f "$tmpfile"'

Files installed

In /usr/local/bin (option 1, from install script) or ~/.cargo/bin (option 2, from install script):

  • absotui — the binary file

In ~/.config/absotui (Linux) or ~/Library/Preferences/absotui (macOS) — the default path when XDG_CONFIG_HOME is empty:

  • .env — contains the secret key that encrypts your saved login (kept readable only by you)
  • config.toml — configuration file
  • absotui.log — log file (it starts over at 5 MB, and the last one is kept as absotui.log.old)
  • db.sqlite3 — SQLite database file (settings, progress, and your saved login, which is encrypted with AES-256-GCM under a key derived from the secret; kept readable only by you)
  • covers/ — on-disk cache of cover art (populated automatically as covers load)
  • downloads/ — books and podcast episodes downloaded for offline playback (only appears once you download something)
  • instance.lock — lets copies of Absotui running at the same time leave each other's playback alone

In ~/.local/share/applications (Linux):

  • absotui.desktop — lets you launch Absotui from a launcher app

📦 AppImage (Linux)

Download it, make it executable, and run it:

curl -LO https://github.com/pdwaldrop/absotui/releases/latest/download/absotui-x86_64.AppImage
chmod +x absotui-x86_64.AppImage
./absotui-x86_64.AppImage

Playback needs VLC (cvlc) or mpv installed on your system. The AppImage doesn't bundle either (the install script above installs the one you pick).
VLC is used by default. To use mpv instead, switch it in Settings > Player (or set backend = "mpv" under [player] in config.toml).

On aarch64, use absotui-aarch64.AppImage instead. The AppImage includes update information, so AppImageUpdate and AppImageLauncher can find new releases on their own. It's separate from the install script above, so use whichever you prefer.

🦀 Install with Cargo

cargo install absotui

Then the one-time setup the install script would otherwise do - the config file and a random key that encrypts your saved login (Linux paths shown; on macOS use ~/Library/Preferences/absotui):

mkdir -p ~/.config/absotui
curl -LsSf https://raw.githubusercontent.com/pdwaldrop/absotui/stable/config.example.toml -o ~/.config/absotui/config.toml
(umask 077; echo "ABSOTUI_SECRET_KEY=$(od -An -tx1 -N32 /dev/urandom | tr -d ' \n')" >> ~/.config/absotui/.env)

Playback needs VLC (the default) or mpv installed; switch in Settings > Player. Update with cargo install absotui again. absotui --update (and Settings > Update/Uninstall) would replace the Cargo copy with the install script's own in /usr/local/bin.

🔧 Install from source

Requirements: Rust, VLC (default) or mpv (switch in Settings > Player, or set backend = "mpv" under [player] in config.toml)

Optional (VLC only): the cvlc_term config setting (off by default) opens a terminal to control cvlc directly, which additionally needs the kitty terminal installed.

Note: main might be unstable — prefer git clone --branch stable --single-branch https://github.com/pdwaldrop/absotui if you want the last stable release.

git clone https://github.com/pdwaldrop/absotui
cd absotui/
mkdir -p ~/.config/absotui
cp config.example.toml ~/.config/absotui/config.toml

Token encryption in the database (a random key that only your user can read):

(umask 077; echo "ABSOTUI_SECRET_KEY=$(od -An -tx1 -N32 /dev/urandom | tr -d ' \n')" >> ~/.config/absotui/.env)
cargo run --release

Update

When a new release is available:

git pull https://github.com/pdwaldrop/absotui
cargo run --release

Notes

Run the binary directly:

cd target/release
./absotui

Files installed — same as above (.env, config.toml, absotui.log, db.sqlite3, covers/, downloads/, instance.lock), all under ~/.config/absotui.

🔑 Signing in with SSO

If your Audiobookshelf server signs people in through an identity provider (authentik, Keycloak, ...), Absotui can too. Enter your server address as usual. If the server offers SSO next to passwords, leave the username empty; if it only offers SSO, Absotui goes straight to it. Your browser opens to your identity provider and you're signed in when you come back.

One-time setup for the server admin: Absotui receives the sign-in on your own machine, at http://127.0.0.1/callback. Audiobookshelf only accepts addresses it's been told about, so add exactly that one under Settings > Authentication > Allowed Mobile Redirect URIs. If the Audiobookshelf mobile app already signs in with SSO on your server, nothing needs to change on the identity provider's side. Absotui tells you the exact address if the server turns it down.

Don't use * (allow any address) for this. It works, but it lets any address receive a sign-in, so a crafted link could hand someone's login to a stranger. Older Absotui versions used an address with a port number, which Audiobookshelf refuses to save; if you set * for that reason, replace it with the address above.

On Linux, Absotui usually can't listen on that address (it uses port 80, which needs extra permission), so after you sign in your browser shows a "can't connect" page. That's expected: copy the whole address from the browser's address bar and paste it into the box on the Absotui screen. Where Absotui can listen there, it picks the sign-in up by itself.

Running over SSH, or on a machine without a browser? Same idea: Absotui shows the sign-in link. Open it in any browser, then paste the address the browser ends up on.

This uses the same OpenID support as the Audiobookshelf mobile app, so it needs a reasonably recent server.


🛠️ Roadmap

Recent work: a Settings > Downloads screen that lists everything you've downloaded for offline listening, from every library, and removes what you no longer need. Two rounds of fixes made it steadier: no more crash on podcast Home when an episode leaves the list, no hang after pressing Enter on a series header, and a slow or unreachable server no longer freezes the screen. Lists keep their place as you scroll, and the shortcuts at the bottom fit a narrower window. Earlier: mpv as well as VLC, sign-in through your server's SSO (OpenID Connect), and an AppImage for Linux.

Planned: an AUR package (absotui-bin), on hold until AUR registrations reopen.

See known bugs for what's still outstanding.


📝 Notes

🐛 Issues

Check the issues list first, then open a new one if yours isn't there.

🤝 Contributing

Contributions of code, ideas, or feedback are welcome — see the contributing guidelines first.

🔁 Branching workflow

This project follows this branching workflow.

🎨 UI

Absotui uses your terminal's own color theme, with a few accent colors taken from it for borders, active items, and keybind hints. There's no separate theme config to keep in sync. The font and emoji you see depend on your terminal.

🖥️ Terminal compatibility

Absotui works in any modern terminal, but cover art and the taskbar/dock icon depend on what your terminal supports:

Terminal Cover art Taskbar/dock icon & title
Kitty ✅ Full ✅
Ghostty ✅ Full ✅
WezTerm ✅ Full ✅
iTerm2 (macOS) ✅ Full —
Alacritty Fallback¹ ✅
Foot Fallback¹ ✅
Other Fallback¹ Terminal default

¹ Cover art still shows via a Unicode-block fallback instead of a real image — the terminal just doesn't speak the Kitty graphics protocol, the iTerm2 image protocol, or Sixel, which are auto-detected at startup.

Works best in: Kitty, Ghostty, or WezTerm, which support both cover art and the taskbar/dock icon.

💛 Sponsoring

If Absotui is useful to you and you'd like to say thanks, you can sponsor me on GitHub. It's entirely optional - Absotui stays free and open source either way.

🙏 Credits

Absotui began as a fork of Toutui by AlbanDAVID, archived in December 2025 ("I'm not able to properly maintain this project anymore... please don't wait for any new releases and issue fixing."). Thanks to the original author for getting it started. Toutui itself took its name from the French phrase "tout ouïe" ("all ears").

📄 License

GPL-3.0

Explore related projects

Loading…