Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A multi-user digital library for e-books, comics and audiobooks, derived from BookLore and developed by a community project: smart shelves, metadata lookup from Google Books, Open Library and Amazon, a built-in reader for EPUB, PDF and comics, Kobo and KOReader sync, OPDS, OIDC sign-in, send-by-email sharing and a BookDrop folder that queues new files for review. A Java (Spring Boot) and Angular application that stores its data in MariaDB.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (442 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# Grimmory — digital library, next to MariaDB — based on the project's Compose file, pinned to v3.5.1
# Changed from upstream: generated database passwords, written to .env, and the web port published on 127.0.0.1 (the first visitor can create the admin)
mkdir grimmory && cd grimmory
mkdir -p data books bookdrop mariadb
sudo chown -R 1000:1000 data books bookdrop mariadb
cat > .env <<EOF
DB_PASSWORD=$(openssl rand -hex 12)
MYSQL_ROOT_PASSWORD=$(openssl rand -hex 12)
EOF
cat > docker-compose.yml <<'EOF'
services:
grimmory:
image: ghcr.io/grimmory-tools/grimmory:v3.5.1
environment:
- USER_ID=1000
- GROUP_ID=1000
- TZ=Etc/UTC
- DATABASE_URL=jdbc:mariadb://mariadb:3306/grimmory
- DATABASE_USERNAME=grimmory
- DATABASE_PASSWORD=${DB_PASSWORD}
- DISK_TYPE=LOCAL
depends_on:
mariadb:
condition: service_healthy
ports:
- "127.0.0.1:6060:6060"
volumes:
- ./data:/app/data
- ./books:/books
- ./bookdrop:/bookdrop
restart: unless-stopped
mariadb:
image: lscr.io/linuxserver/mariadb:11.4.8
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE=grimmory
- MYSQL_USER=grimmory
- MYSQL_PASSWORD=${DB_PASSWORD}
volumes:
- ./mariadb:/config
restart: unless-stopped
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 20
EOF
docker compose up -d
timeout 240 bash -c 'until curl -fsS http://localhost:6060/api/v1/healthcheck >/dev/null; do sleep 5; done'
# → on your own machine: ssh -L 6060:127.0.0.1:6060 user@SERVER_IP, open http://localhost:6060, create the admin account, then put books in ./books or drop them in ./bookdrop. Create the admin before putting it behind HTTPSGrimmory used 442 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.10.1 (first boot, measured Nov 2026). We list a minimum of 1024 MB.
The Grimmory install snippet is marked verified on Ubuntu 26.04 (Nov 2026).