Skip to content

Promises/LibriSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibriSync

Libation for Android. Sync and manage your audiobook library, and browse thousands of free LibriVox books.

henning.tech/librisync · Google Play

LibriSync is essentially Libation on your phone — its core is a direct port of Libation's C# codebase to Rust, so you get the same proven library-sync and download engine, native on Android.

Features

Browse & Download Free Audiobooks Discover thousands of free public domain audiobooks from LibriVox - no account required. Search by title or author, and download directly to your device.

Sync Your Audible Library Connect your Audible account to sync your purchased audiobooks, powered by Libation's sync engine ported to Rust. View your entire library with cover art, series info, and duration details - including podcasts.

Try It Instantly with Demo Mode Explore the full app backed by free LibriVox books before connecting any account - no login required.

Download & Listen Offline Background downloads with progress notifications, pause/resume support, download-all, and automatic retry on failure.

Smart File Organization Choose how your audiobooks are organized on your device - flat files, Author/Book, or Author/Series/Book folders. Compatible with Smart Audiobook Player for seamless cover art integration.

Export Your Library Export your audiobook collection to CSV, JSON, XLSX, TXT, or PNG. Sort by name or length, group by author or series, and copy formatted text to clipboard.

Privacy First No tracking. No analytics. No ads. No accounts required for LibriVox browsing. All data stays on your device.

Screenshots

Library screen Browse LibriVox Book details Settings

Installation

Google Play ($4.99): Download from Google Play - supports development.

GitHub Releases (free): Download the latest APK from Releases and sideload it.

LibriSync is and always will be free and open source here on GitHub.


Development

LibriSync is built with React Native (TypeScript) and a Rust core library - a direct port of Libation's C# codebase.

Architecture

┌─────────────────────────────┐
│   React Native / TypeScript │  UI Layer
├─────────────────────────────┤
│   JNI (Android) / FFI (iOS) │  Native Bridge
├─────────────────────────────┤
│   libaudible (Rust)         │  Core Library
└─────────────────────────────┘

The Rust core (native/rust-core/) is a 1:1 translation of Libation's C# source, maintaining the same architecture, data models, and business logic.

Prerequisites

  • Node.js >= 20.16.0
  • Rust (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)
  • Android: Android Studio, SDK Platform 34, NDK 29, JDK 17+
  • iOS: Xcode 15+, CocoaPods
# Android NDK
export ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk/29.0.14033849

# Rust targets
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android  # Android
rustup target add aarch64-apple-ios aarch64-apple-ios-sim                                                # iOS

Quick Start

npm install

# Development (no Rust rebuild)
npm start                    # Expo dev server

# Full build with native code
npm run android              # Build Rust + Run Android
npm run ios                  # Build Rust + Run iOS

Build Commands

# Rust only
npm run build:rust:android   # Android (all architectures)
npm run build:rust:ios       # iOS (device + simulator)
npm run test:rust            # Run Rust unit tests

# Docker release build
GIT_REPO=https://github.com/Promises/LibriSync.git \
BUILD_TYPE=release BUNDLE_TYPE=aab \
./docker-build.sh build

Project Structure

src/                         # React Native UI
  screens/                   # Library, Browse, Settings
  styles/theme.ts            # Nord color theme
native/rust-core/            # Rust core library (libaudible)
  src/api/                   # Audible API, OAuth, library sync
  src/crypto/                # AAX/AAXC decryption
  src/storage/               # SQLite database layer
  src/download/              # Download manager
  src/audio/                 # Audio processing
modules/expo-rust-bridge/    # Native bridge (JNI + FFI)
scripts/                     # Build automation
plugins/                     # Expo config plugins

License

GNU General Public License v3.0 (GPL-3.0)

LibriSync is a Rust port of Libation by Libation contributors. This derivative work maintains the GPL-3.0 license from the original project.

  • Original work: Copyright (C) Libation contributors
  • Rust port: Copyright (C) 2025 Henning Berge

About

No description, website, or topics provided.

Resources

License

Stars

8 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors