Skip to main content

🚀 Getting Started

Grimmory is a self-hosted library management system for ebooks, comics, and audiobooks. Your books and data stay on your server, with no subscription fees or cloud dependency.


📋 Prerequisites

  • Docker & Docker Compose (v20.10+ / v2.0+)
  • 2GB RAM, 10GB+ storage
  • Port 6060 available
  • Internet connection for metadata fetching

📥 Step 1: Install

Create the directory structure and start the containers:

mkdir -p ~/grimmory/{mariadb/config,data,books,bookdrop}
cd ~/grimmory

Create a docker-compose.yml with the Grimmory and MariaDB services. The key volumes to mount are:

VolumePurpose
./data:/app/dataApplication data, settings, and metadata cache
./books:/booksYour book library folder
./bookdrop:/bookdropDrop folder for automatic importing
docker compose up -d
docker compose ps # verify both containers are running

See the Installation Guide for the complete docker-compose.yml with all environment variables and configuration options.


👤 Step 2: Create Admin Account

Open http://localhost:6060 in your browser. On first launch, Grimmory shows a setup wizard to create the admin account:

FieldRequiredNotes
UsernameYes
Full NameYes
EmailYesMust be a valid email address
PasswordYesMinimum 6 characters
Confirm PasswordYesMust match

After submitting, you'll be redirected to the login page. See Initial Setup for details.


📚 Step 3: Create a Library

Click "Add a Library" from the dashboard to open the library creation dialog.

Library Details: Give it a name and optionally pick an icon.

Book Folders: Add one or more folders containing your book files. Navigate the directory picker to select them.

Options:

OptionDescription
Watch FoldersAutomatically detects new, changed, or deleted books in your folders
Metadata SourceWhere to read metadata during scans: embedded file metadata, sidecar files, or both
Format PriorityDrag to reorder which format is treated as primary when a book exists in multiple formats
Allowed FormatsRestrict which file formats this library will scan

Grimmory supports EPUB, PDF, MOBI, AZW3, FB2, CBZ/CBR/CB7, M4B, M4A, and MP3.

After saving, the library scans your folders automatically. See Setup First Library for a full walkthrough, and Organization Modes for how to organize your files.


📖 Step 4: Add Books

Direct copy: Place files in your library folder, then rescan from the UI (or let Watch Folders pick them up automatically).

cp /path/to/your/books/* ~/grimmory/books/

Bookdrop: Drop files into the bookdrop folder. Grimmory auto-detects them, fetches metadata, and stages them for review. You can edit metadata, assign a destination library, and finalize the import from the UI. See Bookdrop.

Web upload: Use the upload button in the toolbar. You can upload directly to a library or to BookDrop for staging. The default file size limit is 100 MB per file (configurable by admins).

Cloudflare Tunnels

If you serve Grimmory through a Cloudflare Tunnel, the free tier has a 100 MB upload limit.


📱 Step 5: Start Reading

Click any book cover, then click "Read" to open the built-in reader. Grimmory has dedicated readers for each format:

ReaderFormatsHighlights
Ebook ReaderEPUB, MOBI, AZW3, FB2Bookmarks, annotations, highlights, search, custom fonts, progress sync
PDF ReaderPDFPage-level progress sync, zoom, page spread modes, annotations
Comic ReaderCBZ, CBR, CB7Fit/scroll modes, reading direction (LTR/RTL), slideshow, bookmarks
Audiobook PlayerM4B, MP3Chapters, track listing, playback speed, progress sync

📲 E-Readers and Mobile Apps

Connect external reading apps via OPDS:

  1. Go to Settings > OPDS Configuration
  2. Toggle the OPDS server on
  3. Copy the catalog URL shown in the API Endpoints section
  4. Add it to your reading app (KOReader, Moon+ Reader, etc.)

Grimmory also provides a Komga-compatible API for apps like Tachiyomi and Komelia. OPDS uses its own user accounts, created by admins in the OPDS settings page.

See Kobo Integration and OPDS for detailed setup guides.


⚙️ What to Explore Next

FeatureDescription
Metadata ConfigurationSet up automatic metadata enrichment from online sources
Bookdrop Advanced FeaturesBulk editing, filename pattern extraction, and more
Magic ShelfDynamic, auto-updating shelves based on filters
AuthenticationOIDC providers, multi-user setup, and permissions

❓ Common Questions

Can I access Grimmory remotely? Yes, set up a reverse proxy with HTTPS. See the Installation Guide.

How do I backup my library? Backup your data directory (application state) and your books directory regularly.

What e-readers work with Grimmory? Any device or app that supports OPDS. Kobo devices have a dedicated integration with deeper sync support.


🔗 Get Help