r/audiobookshelf • • 19h ago

I built a self-hosted sync between Audiobookshelf and my CrossPoint e-reader that matches the spoken words instead of percentages

0 Upvotes

I have a lot of books twice, as an audiobook and as an e-book, and I wanted something that sounds simple: listen on the way home, open the e-reader in the evening and continue at exactly the sentence where I stopped. And the next morning the other way round. It turned out that percentages don't work for this, because credits, forewords and narration speed add up and I regularly ended up around 20 pages away. Chapters don't work either, since many Audible books are cut into dozens of short pieces. In one of mine the file says "Chapter 56" where the narrator says "Chapter Thirteen".

So I went for the only thing that is really the same on both sides: the words. My audiobooks are in Audiobookshelf on a small NAS (Intel N100, 8 GB), archived from my own Audible library with Libation, but any DRM-free mp3 or m4b will do. A container transcribes them locally with Whisper and remembers when every word is spoken. To sync, it looks up the words at my listening position, finds exactly these words in the EPUB and puts the reader there through CrossPoint Sync. In the other direction it takes the page the reader reports, finds the second at which these words are spoken and sets the position in Audiobookshelf. The recognition doesn't have to be good for that. Even with a third of the words wrong the place is found, and if it isn't certain, nothing is written. It never guesses. It also goes back about a minute or a page and a half, so you find your way back into the story.

I control it through an MCP server, so I just tell Claude on my phone "audiobook to e-book" or "e-book to audiobook". If the narrator has just announced a chapter, I can also say "the audiobook is at the beginning of chapter 14" and the reader goes there without any transcription. If you don't use Claude, there is a command line that does the same. How to reach such an MCP server from outside without opening a port, using Cloudflare Tunnel and Access, is in a second repo of mine that is linked in the README.

Everything runs in Docker and stays at home. There is no cloud speech service, and the transcription container doesn't even have internet access. On my N100 it transcribes about five times faster than real time with one and a half cores, pauses when the box gets warm or busy, and you don't have to wait for it, because a place that isn't transcribed yet is transcribed on the spot in a few seconds. You also don't need the e-book for every audiobook. I transcribe first and buy the e-book when I get to it.

I tested it with an Xteink X4 Pro. Every reader that runs CrossPoint should work the same way, so the X3, X4, X4 Classic, reTerminal Sticky, M5Paper Mono and so on, because they all talk to CrossPoint Sync. KOReader devices use a compatible protocol and may work too, but I don't own one, so I'd be happy about reports. To be honest about the state: this is fresh. It has only been running on my NAS for a short time, and the standalone version in the repo is brand new. It has 78 automated tests and I ran it against my real setup, but a complete fresh install from zero has not been tested yet. The code was written together with Claude.

It's MIT licensed, with a step by step guide: https://github.com/gittezla/audiobookshelf-crosspoint-sync

The MCP and Cloudflare part: https://github.com/gittezla/nas-mcp-server

Questions, ideas and bug reports are very welcome, especially from people with other readers.


r/audiobookshelf • • 2h ago

Auribook 5.4 and what’s changed since I first posted here

3 Upvotes

When I first posted here, Auribook did one thing. It downloaded audiobooks from Audiobookshelf to your Apple Watch so you could listen offline.

Covers now show up in the library, Downloads and Continue Listening. There’s a full-screen cover view in the player too. I’ve also added podcast downloads and a sleep timer that can stop at the end of the chapter.

In that first post, progress sync was still on my to-do list. Now your watch and Audiobookshelf can sync both ways. In 5.4, if you listened on two devices and ended up in different places, you can see both positions and pick where to resume.

I’ve also added Jellyfin and BookOrbit as options for people who keep their libraries on those servers. Auribook is free to download. One Cloud Providers purchase covers all three, including for people who already unlocked it.

Thanks to everyone here who tried it when downloads were rough and came back to tell me what was breaking. That helped a lot.

Auribook on the App Store