Skip to content

OpenLibrary in MongoDB with a backend for consumption by Readarr

Notifications You must be signed in to change notification settings

Saghen/open-library-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

91ade2a · Dec 27, 2024

History

24 Commits
Aug 27, 2024
Aug 27, 2024
Aug 27, 2024
Aug 27, 2024
Aug 16, 2024
Aug 27, 2024
Aug 27, 2024
Dec 27, 2024
Aug 27, 2024
Aug 27, 2024
Aug 27, 2024
Aug 16, 2024

Repository files navigation

open-library-proxy

Warning

This project is a work in progress and the Servarr team provides no support for it

Please get the Testarr role on Servarr Discord and check out the #readarr-ol channel if you'd like to get involved

Serve a search, author and bulk API on top of the OpenLibrary corpus. Primarily for consumption by Readarr.

Development

This project requires a local installation of docker and bun.

Spin up the required services (MongoDB and MeiliSearch) by running docker-compose up (optionally add -d to run in the background). Alternatively, you may avoid docker compose by running the following equivalent commands:

docker run -d --name open-library-mongo -e MONGO_INITDB_ROOT_USERNAME=open-library-proxy -e MONGO_INITDB_ROOT_PASSWORD=stringsolongandpowerfulnoonecouldguessit -p 27017:27017 mongo:7
docker run -d --name open-library-meili -e MEILI_NO_ANALYTICS=true -e MEILI_MASTER_KEY=stringsolongandpowerfulnoonecouldguessit -p 7700:7700 getmeili/meilisearch:v1.9

Warning

You need ~100GB of free disk space to download and decompress the corpus. This initial dump and ingest will take quite a while.

Start the development environment:

bun install --frozen-lockfile
bun dev

Production