Audiobookshelf to OPDS Bridge

Audiobookshelf to OPDS Bridge

An OPDS bridge that exposes Audiobookshelf ebooks to compatible readers.

Status: Experimental Started: 2026 Technologies: Python, Docker, OPDS, Audiobookshelf

I wanted to read the EPUBs from my Audiobookshelf server on the Xteink X3 without maintaining a second ebook library.

That turned out to need one extra piece: an OPDS bridge between Audiobookshelf and the reader.

So I built a small read-only service that exposes the ebooks already stored in Audiobookshelf as an OPDS 1.2 catalogue. The main target is CrossPoint on the Xteink X3, but the bridge is intentionally generic enough to work with other OPDS clients as well.

Why I built it

I already use Audiobookshelf as the central place for my ebook collection.

After getting an Xteink X3 and installing CrossPoint, I wanted a direct workflow on the reader itself:

  • browse the existing library
  • pick a book
  • download the EPUB
  • start reading

What I did not want was a second ebook library, manual file copying, or moving everything into Calibre just to get OPDS support.

CrossPoint already supports OPDS. Audiobookshelf currently does not expose the ebook collection as an OPDS catalogue. The bridge fills exactly that gap.

How it works

The architecture is intentionally simple:

Audiobookshelf
      │
      │ API
      ▼
Audiobookshelf to OPDS Bridge
      │
      │ OPDS 1.2
      ▼
CrossPoint
      │
      ▼
Xteink X3

Audiobookshelf remains the source of truth. The bridge does not try to become another library manager. It only translates the existing collection into a format that OPDS-compatible readers can browse and download from.

In practice, the workflow on the reader is:

CrossPoint
  -> OPDS
  -> browse Audiobookshelf collection
  -> select EPUB
  -> download
  -> read

What the current version does

The current implementation supports:

  • discovery of EPUB files across all accessible Audiobookshelf libraries
  • one combined OPDS 1.2 catalogue
  • optional browsing by original library
  • title, author, and series metadata
  • cover images
  • recently added books
  • search
  • paginated listings
  • direct EPUB downloads
  • HTTP Basic Authentication for the OPDS side
  • Docker-based deployment
  • no additional application database

Audiobookshelf credentials stay on the server and are never exposed to the reader.

What it deliberately does not do

This is a narrow integration project, not a replacement for Audiobookshelf.

At the moment it does not try to provide:

  • reading progress sync
  • annotations or highlights
  • audiobook playback
  • metadata editing
  • uploads
  • format conversion
  • a separate user-management system

The whole point is much simpler than that: make the EPUBs already stored in Audiobookshelf available to OPDS-compatible readers with as little extra machinery as possible.

Why OPDS instead of a custom client

I preferred solving this on the server side instead of modifying CrossPoint to speak the Audiobookshelf API directly.

That keeps the reader generic, keeps Audiobookshelf credentials off the device, and makes the whole thing potentially useful for other OPDS clients as well. It also means the bridge can evolve independently if Audiobookshelf changes its API or if I want to support another reader later.

Status

Right now this is a working personal project that I use with my own Audiobookshelf and Xteink setup.

It is not open source yet. Before releasing it publicly, it still needs the boring but necessary cleanup work: repository cleanup, documentation, deployment examples, some wider testing, and a proper security review.

AI-assisted development

Like a few of my recent small integration projects, this one was built with substantial help from AI coding tools.

The requirements, architecture, and actual behaviour were defined and tested manually, while AI-assisted coding handled a fair part of the implementation and iteration work. For a narrowly scoped bridge like this, that turned out to be an efficient way to get from “this should exist” to a working tool.

Related write-up

I already wrote about the motivation and first implementation in the accompanying blog post:

Resources

Contact

For project-related questions:

Related build stories