diff --git a/.gitignore b/.gitignore index 829b73fc9..a2b362188 100644 --- a/.gitignore +++ b/.gitignore @@ -45,5 +45,6 @@ local-scripts/ ### Dev config, books, and data ### booklore-ui/test-results/ booklore-api/src/main/resources/application-local.yaml -booklore-api/docs /shared/ + +/scratch diff --git a/README.md b/README.md index 70f7c0e6d..751a08e43 100644 --- a/README.md +++ b/README.md @@ -1,72 +1,61 @@ -

- - - - BookLore - -

+> [!NOTE] +> This project is in early development. Some links (website, documentation, demo, repositories) are not yet active and will come online as infrastructure is set up. -

Your books deserve a home. This is it.

+> [!NOTE] +> Grimmory is the successor of booklore. -

-BookLore is a self-hosted app that brings your entire book collection under one roof.
-Organize, read, annotate, sync across devices, and share, all without relying on third-party services. -

-

- Release - License - Docker Pulls - Stars - Discord - Open Collective - Translate -

+Grimmory is a self-hosted application for managing your entire book collection in one place. +Organize, read, annotate, sync across devices, and share without relying on third-party services. -

- ๐ŸŒ Website ยท - ๐Ÿ“– Docs ยท - ๐ŸŽฎ Demo ยท - ๐Ÿš€ Quick Start ยท - ๐Ÿ’ฌ Discord -

+[![Release](https://img.shields.io/github/v/release/grimmory-tools/grimmory?color=818CF8&style=flat-square&logo=github)](https://github.com/grimmory-tools/grimmory/releases) +[![License](https://img.shields.io/github/license/grimmory-tools/grimmory?color=fab005&style=flat-square)](LICENSE) +[![Docker Pulls](https://img.shields.io/docker/pulls/grimmory/grimmory?color=2496ED&style=flat-square&logo=docker&logoColor=white)](https://hub.docker.com/r/grimmory/grimmory) +[![Discord](https://img.shields.io/badge/Discord-5865F2?style=flat-square&logo=discord&logoColor=white)](https://discord.gg/FwqHeFWk) -

- BookLore Demo -

+ +[Website](https://grimmory.org/) | [Documentation](https://grimmory.org/docs/getting-started) | [Quick Start](#quick-start) | [Discord](https://discord.gg/FwqHeFWk) + +![Grimmory Demo](assets/demo.gif) --- -## โœจ Features +## Features -| | Feature | Description | -|:---:|:---|:---| -| ๐Ÿ“š | **Smart Shelves** | Custom and dynamic shelves that organize themselves with rule-based Magic Shelves, filters, and full-text search | -| ๐Ÿ” | **Automatic Metadata** | Covers, descriptions, reviews, and ratings pulled from Google Books, Open Library, and Amazon, all editable | -| ๐Ÿ“– | **Built-in Reader** | Open PDFs, EPUBs, and comics right in the browser with annotations, highlights, and reading progress | -| ๐Ÿ”„ | **Device Sync** | Connect your Kobo, use any OPDS-compatible app, or sync progress with KOReader. Your library follows you everywhere | -| ๐Ÿ‘ฅ | **Multi-User Ready** | Individual shelves, progress, and preferences per user with local or OIDC authentication | -| ๐Ÿ“ฅ | **BookDrop** | Drop files into a watched folder and BookLore detects, enriches, and queues them for import automatically | -| ๐Ÿ“ง | **One-Click Sharing** | Send any book to a Kindle, an email address, or a friend instantly | +| Feature | Description | +| :--- | :--- | +| **Smart Shelves** | Custom and dynamic shelves with rule-based filtering, tagging, and full-text search | +| **Metadata Lookup** | Covers, descriptions, reviews, and ratings pulled from Google Books, Open Library, and Amazon, all editable | +| **Built-in Reader** | Read PDFs, EPUBs, and comics in the browser with annotations, highlights, and reading progress tracking | +| **Device Sync** | Connect a Kobo, use any OPDS-compatible app, or sync progress with KOReader | +| **Multi-User** | Separate shelves, progress, and preferences per user with local or OIDC authentication | +| **BookDrop** | Drop files into a watched folder and Grimmory detects, enriches, and queues them for import automatically | +| **One-Click Sharing** | Send any book to a Kindle, an email address, or another user directly from the interface | + +### Supported Formats + +| Category | Formats | +| :--- | :--- | +| eBooks | EPUB, MOBI, AZW, AZW3 | +| Documents | PDF | +| Comics | CBZ, CBR, CB7 | --- -## ๐Ÿš€ Quick Start +## Quick Start > [!TIP] -> Looking for OIDC setup, advanced config, or upgrade guides? See the [full documentation](https://booklore.org/docs/getting-started). +> For OIDC setup, advanced configuration, or upgrade guides, see the [full documentation](https://grimmory.org/docs/getting-started). -All you need is [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/). +Requirements: [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/).
-๐Ÿ“ฆ Image Repositories +Image Repositories | Registry | Image | -|----------|-------| -| Docker Hub | `booklore/booklore` | -| GitHub Container Registry | `ghcr.io/booklore-app/booklore` | - -> Legacy images at `ghcr.io/adityachandelgit/booklore-app` remain available but won't receive updates. +| --- | --- | +| Docker Hub | `grimmory/grimmory` | +| GitHub Container Registry | `ghcr.io/grimmory-tools/grimmory` |
@@ -81,18 +70,18 @@ APP_GROUP_ID=1000 TZ=Etc/UTC # Database -DATABASE_URL=jdbc:mariadb://mariadb:3306/booklore -DB_USER=booklore -DB_PASSWORD=ChangeMe_BookLoreApp_2025! +DATABASE_URL=jdbc:mariadb://mariadb:3306/grimmory +DB_USER=grimmory +DB_PASSWORD=ChangeMe_Grimmory_2025! -# Storage: LOCAL (default) or NETWORK (disables file operations, see Network Storage section below) +# Storage: LOCAL (default) or NETWORK (disables file operations; see Network Storage section) DISK_TYPE=LOCAL # MariaDB DB_USER_ID=1000 DB_GROUP_ID=1000 MYSQL_ROOT_PASSWORD=ChangeMe_MariaDBRoot_2025! -MYSQL_DATABASE=booklore +MYSQL_DATABASE=grimmory ``` ### Step 2: Docker Compose @@ -101,10 +90,12 @@ Create a `docker-compose.yml`: ```yaml services: - booklore: - image: booklore/booklore:latest - # Alternative: ghcr.io/booklore-app/booklore:latest - container_name: booklore + grimmory: + image: grimmory/grimmory:latest + # Alternative: ghcr.io/grimmory-tools/grimmory:latest + # To build from source instead: comment out 'image' and uncomment below + # build: . + container_name: grimmory environment: - USER_ID=${APP_USER_ID} - GROUP_ID=${APP_GROUP_ID} @@ -112,7 +103,6 @@ services: - DATABASE_URL=${DATABASE_URL} - DATABASE_USERNAME=${DB_USER} - DATABASE_PASSWORD=${DB_PASSWORD} - - DISK_TYPE=${DISK_TYPE} depends_on: mariadb: condition: service_healthy @@ -145,7 +135,7 @@ services: - ./mariadb/config:/config restart: unless-stopped healthcheck: - test: [ "CMD", "mariadb-admin", "ping", "-h", "localhost" ] + test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"] interval: 5s timeout: 5s retries: 10 @@ -157,51 +147,27 @@ services: docker compose up -d ``` -Open **http://localhost:6060**, create your admin account, and start building your library. +Open http://localhost:6060, create your admin account, and start building your library. --- -## โš ๏ธ Network Storage (NAS / NFS / SMB / CIFS) +## BookDrop -> [!CAUTION] -> BookLore's file operations (metadata writing, file renaming, file organization) are built for **local file systems only**. Network-attached storage (NAS, NFS, SMB/CIFS mounts, cloud-backed FUSE, etc.) is **unsupported and untested**. Mount options, network latency, caching, and filesystem semantics are all outside BookLore's control and can cause silent file corruption, incomplete writes, missing files, and other unpredictable behavior. **Issues related to network storage will be closed without investigation.** - -If your book files live on network storage, set `DISK_TYPE=NETWORK` in your `.env` file. This puts BookLore into **network storage mode**, which disables all file write and reorganization features. Metadata is stored in the database only and your files are never modified. This is the only supported configuration for network storage. - ---- - -## ๐ŸŽฎ Live Demo - -See BookLore in action before deploying your own instance. - -| | | -|:---|:---| -| ๐ŸŒ **URL** | **[demo.booklore.org](https://demo.booklore.org)** | -| ๐Ÿ‘ค **Username** | `booklore` | -| ๐Ÿ”‘ **Password** | `9HC20PGGfitvWaZ1` | - -> [!NOTE] -> This is a standard user account. Admin features like library creation, user management, and system settings are only available on your own instance. - ---- - -## ๐Ÿ“ฅ BookDrop: Zero-Effort Import - -Drop book files into a folder. BookLore picks them up, pulls metadata, and queues everything for your review. +Drop book files into a watched folder. Grimmory picks them up, pulls metadata, and queues them for your review. ```mermaid graph LR - A[๐Ÿ“ Drop Files] --> B[๐Ÿ” Auto-Detect] - B --> C[๐Ÿ“Š Extract Metadata] - C --> D[โœ… Review & Import] + A[Drop Files] --> B[Auto-Detect] + B --> C[Extract Metadata] + C --> D[Review and Import] ``` | Step | What Happens | -|:---|:---| -| 1. **Watch** | BookLore monitors the BookDrop folder around the clock | -| 2. **Detect** | New files are picked up and parsed automatically | -| 3. **Enrich** | Metadata is fetched from Google Books and Open Library | -| 4. **Import** | You review, tweak if needed, and add to your library | +| --- | --- | +| 1. Watch | Grimmory monitors the BookDrop folder continuously | +| 2. Detect | New files are picked up and parsed automatically | +| 3. Enrich | Metadata is fetched from Google Books and Open Library | +| 4. Import | You review, adjust if needed, and add to your library | Mount the volume in `docker-compose.yml`: @@ -212,124 +178,28 @@ volumes: --- -## ๐Ÿค Community & Support +## Network Storage -| | | -|:---|:---| -| ๐Ÿž **Something not working?** | [Report a Bug](https://github.com/booklore-app/booklore/issues/new?template=bug_report.yml) | -| ๐Ÿ’ก **Got an idea?** | [Request a Feature](https://github.com/booklore-app/booklore/issues/new?template=feature_request.yml) | -| ๐Ÿ› ๏ธ **Want to help build?** | [Contributing Guide](CONTRIBUTING.md) | -| ๐Ÿ’ฌ **Come hang out** | [Discord Server](https://discord.gg/Ee5hd458Uz) | +Set `DISK_TYPE=NETWORK` in your `.env` to run Grimmory against a network-mounted file system (NFS, SMB, etc.). +In this mode, direct file operations (delete, move, rename from the UI) are disabled to avoid destructive changes on shared mounts. +All other features โ€” reading, metadata, sync โ€” remain fully functional. + +--- + +## Community and Support + +| Channel | | +| :--- | :--- | +| Report a bug | [Open an issue](https://github.com/grimmory-tools/grimmory/issues/new?template=bug_report.yml) | +| Request a feature | [Open an issue](https://github.com/grimmory-tools/grimmory/issues/new?template=feature_request.yml) | +| Contribute | [Contributing Guide](CONTRIBUTING.md) | +| Join the discussion | [Discord Server](https://discord.gg/FwqHeFWk) | > [!WARNING] -> **Before opening a PR:** Open an issue first and get maintainer approval. PRs without a linked issue, without screenshots/video proof, or without pasted test output will be closed. All code must follow project [backend](CONTRIBUTING.md#backend-conventions) and [frontend](CONTRIBUTING.md#frontend-conventions) conventions. AI-assisted contributions are welcome, but you must run, test, and understand every line you submit. See the [Contributing Guide](CONTRIBUTING.md) for full details. +> Before opening a pull request, open an issue first and get maintainer approval. Pull requests without a linked issue, without screenshots or video proof, or without pasted test output will be closed. All code must follow the project [backend](CONTRIBUTING.md#backend-conventions) and [frontend](CONTRIBUTING.md#frontend-conventions) conventions. AI-assisted contributions are welcome, but you must run, test, and understand every line you submit. See the [Contributing Guide](CONTRIBUTING.md) for full details. ---- +--- -## ๐Ÿ’œ Support BookLore +## License -BookLore is free, open source, and built with care. Here's how you can give back: - -| Action | How | -|:---|:---| -| โญ **Star this repo** | It's the simplest way to help others find BookLore | -| ๐Ÿ’ฐ **Sponsor development** | [Open Collective](https://opencollective.com/booklore) funds hosting, testing, and new features | -| ๐Ÿ“ข **Tell someone** | Share BookLore with a friend, a subreddit, or your local book club | - -> [!IMPORTANT] -> We're raising funds for a Kobo device to build and test native Kobo sync support. -> [Contribute to the Kobo Bounty โ†’](https://opencollective.com/booklore/projects/kobo-device-for-testing) - ---- - -## ๐ŸŒ Translations - -BookLore is used by readers around the world. Help make it accessible in your language on [Weblate](https://hosted.weblate.org/engage/booklore/). - - - Translation status - - ---- - -## ๐Ÿ“Š Project Analytics - -![Repository Activity](https://repobeats.axiom.co/api/embed/44a04220bfc5136e7064181feb07d5bf0e59e27e.svg) - -### โญ Star History - - - - - - Star History Chart - - - ---- - -## ๐Ÿ‘ฅ Contributors - -[![Contributors](https://contrib.rocks/image?repo=adityachandelgit/BookLore)](https://github.com/booklore-app/booklore/graphs/contributors) - -Every contribution matters. [See how you can help โ†’](CONTRIBUTING.md) - ---- - -
- -## ๐ŸŒŸ Sponsors & Partners - - - - - - - -
- - - Run on PikaPods - - -**PikaPods** - - - - - ElfHosted - - -**ElfHosted** - - - - - JetBrains - - -**JetBrains** - -
- -*Want your logo here? [Become a sponsor โ†’](https://opencollective.com/booklore)* - -
- ---- - -## โš ๏ธ Note to Integrators - -While BookLore is open source and its API is accessible, it is not designed or maintained as a stable integration point. Endpoints are undocumented, unversioned, and may change or break at any time without notice. No compatibility guarantees or support are provided for third-party use. - -
- -## โš–๏ธ License - -**GNU Affero General Public License v3.0** - -Copyright 2024โ€“2026 BookLore - -[![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg?style=for-the-badge)](https://www.gnu.org/licenses/agpl-3.0.html) - -
+Distributed under the terms of the [LICENSE](LICENSE) file in this repository.