Keine Beschreibung

Brad Lance 5a503f774c Use correct Gemini model name: gemini-2.5-flash vor 3 Monaten
app 5a503f774c Use correct Gemini model name: gemini-2.5-flash vor 3 Monaten
.env.example 8c681f5d40 Switch AI backend from Claude to Gemini vor 3 Monaten
.gitignore e1e9d13f7c Add Audiobookshelf recommendation system vor 3 Monaten
README.md e1e9d13f7c Add Audiobookshelf recommendation system vor 3 Monaten
main.py e1e9d13f7c Add Audiobookshelf recommendation system vor 3 Monaten
requirements.txt 6cfdb91161 Upgrade google-generativeai SDK to latest version vor 3 Monaten

README.md

Audiobookshelf Recommendation System

A web application that tracks your Audiobookshelf listening history and provides AI-powered book recommendations.

Features

  • Syncs with Audiobookshelf server to track reading progress
  • AI-powered book recommendations based on your listening history
  • Web interface to view history and recommendations
  • REST API for programmatic access

Setup

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Configure environment variables:

    cp .env.example .env
    # Edit .env with your Audiobookshelf URL, API token, and AI API key
    
  3. Run the application:

    python main.py
    
  4. Access the web interface at http://localhost:8000

API Endpoints

  • GET / - Web interface
  • GET /api/sync - Sync with Audiobookshelf
  • GET /api/recommendations - Get book recommendations
  • GET /api/history - View listening history

Configuration

See .env.example for all configuration options.