dependabot[bot] 7e8a0248a0 Bump the python-deps group with 2 updates (#1051)
Bumps the python-deps group with 2 updates:
[flask-cors](https://github.com/corydolphin/flask-cors) and
[qbittorrent-api](https://github.com/rmartin16/qbittorrent-api).

Updates `flask-cors` from 6.0.2 to 6.0.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/corydolphin/flask-cors/releases">flask-cors's
releases</a>.</em></p>
<blockquote>
<h2>6.0.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Derive package version from git tag via setuptools-scm by <a
href="https://github.com/corydolphin"><code>@​corydolphin</code></a> in
<a
href="https://redirect.github.com/corydolphin/flask-cors/pull/405">corydolphin/flask-cors#405</a></li>
<li>Improve CI/CD security with least privilege and build separation by
<a href="https://github.com/corydolphin"><code>@​corydolphin</code></a>
in <a
href="https://redirect.github.com/corydolphin/flask-cors/pull/406">corydolphin/flask-cors#406</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/corydolphin/flask-cors/compare/6.0.2...6.0.3">https://github.com/corydolphin/flask-cors/compare/6.0.2...6.0.3</a></p>
<h2>6.0.3-pre</h2>
<h2>What's Changed</h2>
<ul>
<li>Derive package version from git tag via setuptools-scm by <a
href="https://github.com/corydolphin"><code>@​corydolphin</code></a> in
<a
href="https://redirect.github.com/corydolphin/flask-cors/pull/405">corydolphin/flask-cors#405</a></li>
<li>Improve CI/CD security with least privilege and build separation by
<a href="https://github.com/corydolphin"><code>@​corydolphin</code></a>
in <a
href="https://redirect.github.com/corydolphin/flask-cors/pull/406">corydolphin/flask-cors#406</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/corydolphin/flask-cors/compare/6.0.2...6.0.3">https://github.com/corydolphin/flask-cors/compare/6.0.2...6.0.3</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c8e8871076"><code>c8e8871</code></a>
Harden release publishing workflow (<a
href="https://redirect.github.com/corydolphin/flask-cors/issues/406">#406</a>)</li>
<li><a
href="e1d4034e2b"><code>e1d4034</code></a>
Derive package version from git tag via setuptools-scm (<a
href="https://redirect.github.com/corydolphin/flask-cors/issues/405">#405</a>)</li>
<li>See full diff in <a
href="https://github.com/corydolphin/flask-cors/compare/6.0.2...6.0.3">compare
view</a></li>
</ul>
</details>
<br />

Updates `qbittorrent-api` from 2026.5.1 to 2026.6.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rmartin16/qbittorrent-api/releases">qbittorrent-api's
releases</a>.</em></p>
<blockquote>
<h2>release-2026.6.0</h2>
<h2>What's Changed</h2>
<h3>Features</h3>
<ul>
<li>Add processInfo to API by <a
href="https://github.com/GordonFreemanK"><code>@​GordonFreemanK</code></a>
in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/626">rmartin16/qbittorrent-api#626</a></li>
</ul>
<h3>Fixes</h3>
<ul>
<li>fix: correct syntax errors in code examples in
behavior&amp;configuration.rst by <a
href="https://github.com/AmSach"><code>@​AmSach</code></a> in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/627">rmartin16/qbittorrent-api#627</a></li>
</ul>
<h3>Chores</h3>
<ul>
<li>Bump pre-commit hook for ruff-pre-commit from v0.15.12 to v0.15.15
by <a href="https://github.com/rmartin16"><code>@​rmartin16</code></a>
in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/622">rmartin16/qbittorrent-api#622</a></li>
<li>Bump pre-commit hook for mirrors-mypy from v1.20.2 to v2.1.0 by <a
href="https://github.com/rmartin16"><code>@​rmartin16</code></a> in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/621">rmartin16/qbittorrent-api#621</a></li>
<li>Bump the github-actions group with 3 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/623">rmartin16/qbittorrent-api#623</a></li>
<li>use uv for project orchestration by <a
href="https://github.com/rmartin16"><code>@​rmartin16</code></a> in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/624">rmartin16/qbittorrent-api#624</a></li>
<li>Bump actions/cache from 4 to 5 in the github-actions group by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/625">rmartin16/qbittorrent-api#625</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/AmSach"><code>@​AmSach</code></a> made
their first contribution in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/627">rmartin16/qbittorrent-api#627</a></li>
<li><a
href="https://github.com/GordonFreemanK"><code>@​GordonFreemanK</code></a>
made their first contribution in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/626">rmartin16/qbittorrent-api#626</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rmartin16/qbittorrent-api/compare/v2026.5.3...v2026.6.0">https://github.com/rmartin16/qbittorrent-api/compare/v2026.5.3...v2026.6.0</a></p>
<h2>release-2026.5.3</h2>
<h2>What's Changed</h2>
<ul>
<li>minimum python 3.10 by <a
href="https://github.com/rmartin16"><code>@​rmartin16</code></a> in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/618">rmartin16/qbittorrent-api#618</a></li>
<li>add support for auth via api key by <a
href="https://github.com/rmartin16"><code>@​rmartin16</code></a> in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/620">rmartin16/qbittorrent-api#620</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rmartin16/qbittorrent-api/compare/v2026.5.2...v2026.5.3">https://github.com/rmartin16/qbittorrent-api/compare/v2026.5.2...v2026.5.3</a></p>
<h2>release-2026.5.2</h2>
<h2>What's Changed</h2>
<ul>
<li>add support for share limits mode by <a
href="https://github.com/rmartin16"><code>@​rmartin16</code></a> in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/614">rmartin16/qbittorrent-api#614</a></li>
<li>document &quot;Default&quot; option for share_limit_action parameter
by <a
href="https://github.com/HertogArjan"><code>@​HertogArjan</code></a> in
<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/616">rmartin16/qbittorrent-api#616</a></li>
<li>advertise support for qBittorrent v5.2.1 by <a
href="https://github.com/rmartin16"><code>@​rmartin16</code></a> in <a
href="https://redirect.github.com/rmartin16/qbittorrent-api/pull/617">rmartin16/qbittorrent-api#617</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rmartin16/qbittorrent-api/compare/v2026.5.1...v2026.5.2">https://github.com/rmartin16/qbittorrent-api/compare/v2026.5.1...v2026.5.2</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rmartin16/qbittorrent-api/blob/main/CHANGELOG.md">qbittorrent-api's
changelog</a>.</em></p>
<blockquote>
<h3>v2026.6.0 (5 jun 2026)</h3>
<ul>
<li>Add support for <code>app/processInfo</code></li>
</ul>
<h3>v2026.5.3 (30 may 2026)</h3>
<ul>
<li>Add support for API key authentication (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/620">#620</a>)</li>
<li>Minimum Python is now 3.10 (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/618">#618</a>)</li>
</ul>
<h3>v2026.5.2 (30 may 2026)</h3>
<ul>
<li>Advertise support for qBittorrent v5.2.1</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0bd26a9f44"><code>0bd26a9</code></a>
Add processInfo to API (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/626">#626</a>)</li>
<li><a
href="c68695ca51"><code>c68695c</code></a>
fix: correct syntax errors in code examples in
behavior&amp;configuration.rst (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/627">#627</a>)</li>
<li><a
href="80f0557f7a"><code>80f0557</code></a>
Bump actions/cache from 4 to 5 in the github-actions group (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/625">#625</a>)</li>
<li><a
href="9c828e7bc3"><code>9c828e7</code></a>
use uv for project orchestration (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/624">#624</a>)</li>
<li><a
href="95c1daec20"><code>95c1dae</code></a>
Bump the github-actions group with 3 updates (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/623">#623</a>)</li>
<li><a
href="e56e6131a3"><code>e56e613</code></a>
Bumped pre-commit hook for mirrors-mypy from v1.20.2 to v2.1.0 (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/621">#621</a>)</li>
<li><a
href="e2dbe0f8c3"><code>e2dbe0f</code></a>
Bumped pre-commit hook for ruff-pre-commit from v0.15.12 to v0.15.15 (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/622">#622</a>)</li>
<li><a
href="1e3716a717"><code>1e3716a</code></a>
bump to v2026.5.3</li>
<li><a
href="0e8476f6d1"><code>0e8476f</code></a>
add support for auth via api key (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/620">#620</a>)</li>
<li><a
href="f606b85495"><code>f606b85</code></a>
Bump the pip group with 8 updates (<a
href="https://redirect.github.com/rmartin16/qbittorrent-api/issues/619">#619</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/rmartin16/qbittorrent-api/compare/v2026.5.1...v2026.6.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CaliBrain <calibrain@l4n.xyz>
2026-06-10 03:26:50 -04:00
2026-06-10 03:17:40 -04:00
2026-06-10 03:17:40 -04:00
2026-05-14 14:46:43 +01:00

📚 Shelfmark: Book Search & Request Tool

Shelfmark

Note

This project is in a stable state as of May 2026 but is not under active maintenance.

Shelfmark is a self-hosted web interface for searching and requesting books and audiobooks across multiple sources. Bring your own sources, metadata providers, and download clients to build a single hub for your digital library. Supports multiple users with a built-in request system, so you can share your instance with others and let them browse and request books on their own.

Works great alongside the following library tools, with support for automatic imports:

Features

  • One-Stop Interface - A clean, modern UI to search, browse, and download from multiple configured sources in one place
  • Multiple Sources - Configurable web, torrent, usenet, and IRC source support
  • Audiobook Support - Full audiobook search and download with dedicated processing
  • Flexible Search - Search metadata providers (Hardcover, Open Library, Google Books) for rich book and audiobook discovery, or query configured sources directly
  • Multi-User & Requests - Share your instance with others, let users browse and request books, and manage approvals with configurable notifications
  • Authentication - Built-in login, OIDC single sign-on, proxy auth, and Calibre-Web database support
  • Real-Time Progress - Unified download queue with live status updates across all sources
  • Network Flexibility - Configurable proxy support, DNS settings, and optional Cloudflare handling for protected sources

🖼️ Screenshots

Home screen Home screen

Search results Search results

Multi-source downloads Multi-source downloads

Download queue Download queue

🚀 Quick Start

Prerequisites

  • Docker & Docker Compose

Installation

  1. Download the docker-compose file:

    curl -O https://raw.githubusercontent.com/calibrain/shelfmark/main/compose/docker-compose.yml
    
  2. Start the service:

    docker compose up -d
    
  3. Open http://localhost:8084

Open the web interface, then configure the sources and settings you want to use.

Volume Setup

volumes:
  - /your/config/path:/config # Config, database, and artwork cache directory
  - /your/download/path:/books # Downloaded books
  - /client/path:/client/path # Optional: For Torrent/Usenet downloads, match your client directory exactly.

Tip

: Point the download volume to your CWA or Grimmory ingest folder for automatic import.

Note

: CIFS shares require nobrl mount option to avoid database lock errors.

Non-root container mode

  • Start the container as 1000:1000 with Docker user: "1000:1000" or docker run --user 1000:1000.
  • For Kubernetes, set runAsUser: 1000, runAsGroup: 1000, and runAsNonRoot: true together.
  • PUID/PGID keep the default root startup flow.
  • Mounted paths must already be writable by 1000:1000.
  • USING_TOR=true requires root startup.

⚙️ Configuration

Search Modes

Direct

  • Queries configured sources directly

Universal (recommended)

  • Search via metadata providers (Hardcover, Open Library, Google Books) for richer results
  • Aggregates releases from multiple configured sources
  • Full audiobook support

Environment Variables

Environment variables work for initial setup and Docker deployments. They serve as defaults that can be overridden in the web interface.

Variable Description Default
FLASK_PORT Web interface port 8084
INGEST_DIR Book download directory /books
TZ Container timezone UTC
PUID / PGID Runtime user/group for the default root-startup flow (also supports legacy UID/GID) 1000 / 1000
SEARCH_MODE direct or universal universal
USING_TOR Enable Tor routing (requires root startup) false

See the full Environment Variables Reference for all available options.

Some of the additional options available in Settings:

  • Prowlarr - Configure indexers and download clients to download books and audiobooks
  • Additional audiobook sources - Configure additional sources for audiobook discovery
  • IRC - Add details for IRC book sources and download directly from the UI
  • Library Link - Add a link to your Calibre-Web or Grimmory instance in the UI header
  • File processing - Customiseable download paths, file renaming and directory creation with template-based renaming
  • Network Settings - Custom proxy support (SOCKS5 + HTTP/S) and configurable DNS
  • Format & Language - Filter downloads by preferred formats, languages and sorting order
  • Metadata Providers - Configure API keys for Hardcover, Open Library, etc.

🐳 Docker Variants

Standard

docker compose up -d

The full-featured image with all network capabilities included.

Tor Routing

Optional Tor support for network privacy:

curl -O https://raw.githubusercontent.com/calibrain/shelfmark/main/compose/docker-compose.tor.yml
docker compose -f docker-compose.tor.yml up -d

Notes:

  • Requires root startup
  • Requires NET_ADMIN and NET_RAW capabilities
  • Timezone is auto-detected from Tor exit node
  • Custom DNS/proxy settings are ignored when Tor is active

Lite

A lighter image without the built-in browser automation. Ideal for:

  • External services - Already running FlareSolverr or similar for other applications
  • Alternative sources - Using Prowlarr, IRC, or other configured sources
  • Audiobooks - Using Shelfmark primarily for audiobooks
curl -O https://raw.githubusercontent.com/calibrain/shelfmark/main/compose/docker-compose.lite.yml
docker compose -f docker-compose.lite.yml up -d

If you need browser-based access with the Lite image, configure an external resolver in Settings.

🔐 Authentication

Authentication is optional but recommended for shared or exposed instances. Multiple authentication methods are available in Settings:

1. Single Username/Password

2. Proxy (Forward) Authentication

Proxy auth trusts headers set by your reverse proxy (e.g. X-Auth-User). Ensure Shelfmark is not directly exposed, and configure your proxy to strip/overwrite these headers for all inbound requests.

3. OIDC (OpenID Connect)

Integrate with your identity provider (Authelia, Authentik, Keycloak, etc.) for single sign-on. Supports PKCE flow, auto-discovery, group-based admin mapping, and auto-provisioning of new users.

4. Calibre-Web Database

If you're running Calibre-Web, you can reuse its user database by mounting it:

volumes:
  - /path/to/calibre-web/app.db:/auth/app.db:ro

Multi-User Support

With any authentication method enabled, Shelfmark supports multi-user management with admin/user roles. Users can have per-user settings for download destinations, email recipients, and notification preferences. Non-admin users only see their own downloads and can submit book requests for admin review. Admins can configure request policies per source to control whether users can download directly, must submit a request, or are blocked entirely.

Project Scope

Shelfmark is a manual search and download tool, the entry point to your book library, not a library manager. It finds books, downloads them, and sends them to a configured destination. That's the full scope.

Shelfmark intentionally does not:

  • Track or manage your library - it doesn't know or care what you already own
  • Integrate with library software - what happens after delivery is up to your library tool
  • Monitor authors, series, or new releases - there is no background automation
  • Queue future downloads - if a book isn't available now, Shelfmark won't watch for it

These are non-goals, not missing features.

Contributing

Shelfmark's core feature set is complete. Development focuses on stability, bug fixes, quality-of-life improvements, and refining the search experience. Contributions in these areas are welcome, please file issues or submit pull requests on GitHub.

Feature requests that fall outside the project scope (library integration, automation, collection management) will be closed. If you're unsure whether something fits, open a discussion first.

Health Monitoring

The application exposes a health endpoint at /api/health (no authentication required). Add a health check to your compose:

healthcheck:
  test: ["CMD", "curl", "-sf", "http://localhost:8084/api/health"]
  interval: 30s
  timeout: 30s
  retries: 3

Logging

Logs are available via:

  • docker logs <container-name>
  • /var/log/shelfmark/ inside the container (when ENABLE_LOGGING=true)

Log level is configurable via Settings or LOG_LEVEL environment variable.

Development

# Quality checks
make checks              # Run ALL static analysis (frontend + Python)
make python-checks       # Run Ruff, BasedPyright, and Vulture
make install-python-dev  # Sync Python runtime + dev tools with uv

# Frontend development
make install     # Install dependencies
make dev         # Start Vite dev server (localhost:5173)
make build       # Production build
make frontend-typecheck  # TypeScript checks

# Backend (Docker)
make up          # Start backend via docker-compose.dev.yml
make down        # Stop services
make refresh     # Rebuild and restart
make restart     # Restart container

The frontend dev server proxies to the backend on port 8084.

License

MIT License - see LICENSE for details.

⚠️ Disclaimer

Shelfmark is a search interface that displays results from external metadata providers and sources. It does not host, store, or distribute any content. The developers are not responsible for how the tool is used or what is accessed through it.

Users are solely responsible for:

  • Ensuring they have the legal right to download any material they access
  • Complying with copyright laws and intellectual property rights in their jurisdiction
  • Understanding and accepting the terms of any sources they configure

Use of this tool is entirely at your own risk.

Support

For issues or questions, please file an issue on GitHub.

Description
No description provided
Readme MIT 56 MiB
Languages
Python 73.4%
TypeScript 25%
Shell 0.9%
CSS 0.4%
Dockerfile 0.2%
Other 0.1%