Bumps the python-deps group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [authlib](https://github.com/authlib/authlib) | `1.9.6` | `1.9.10` | | [apprise](https://github.com/caronc/apprise) | `2.2.0` | `2.3.0` | | [seleniumbase](https://github.com/seleniumbase/SeleniumBase) | `4.58.0` | `4.58.2` | | [prek](https://github.com/j178/prek) | `0.5.10` | `0.5.11` | | [ruff](https://github.com/astral-sh/ruff) | `0.17.5` | `0.17.6` | Updates `authlib` from 1.9.6 to 1.9.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/authlib/authlib/releases">authlib's releases</a>.</em></p> <blockquote> <h2>v1.9.10</h2> <p>Changelog: <a href="https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-10">https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-10</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/authlib/authlib/compare/v1.9.9...v1.9.10">https://github.com/authlib/authlib/compare/v1.9.9...v1.9.10</a></p> <h2>v1.9.9</h2> <p>Changelog: <a href="https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-9">https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-9</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/authlib/authlib/compare/v1.9.8...v1.9.9">https://github.com/authlib/authlib/compare/v1.9.8...v1.9.9</a></p> <h2>v1.9.8</h2> <p>Changelog: <a href="https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-8">https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-8</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/authlib/authlib/compare/1.9.7...v1.9.8">https://github.com/authlib/authlib/compare/1.9.7...v1.9.8</a></p> <h2>v1.9.7</h2> <p>Changelog: <a href="https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-7">https://docs.authlib.org/en/stable/upgrades/changelog.html#changelog-1-9-7</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/authlib/authlib/compare/v1.9.6...v1.9.7">https://github.com/authlib/authlib/compare/v1.9.6...v1.9.7</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/authlib/authlib/commit/d17ab9579f762195c20541577badd151e9a14efc"><code>d17ab95</code></a> chore: release 1.9.10</li> <li><a href="https://github.com/authlib/authlib/commit/1a5832c59b759d9bbca7c93c86aceb5f4dec3c03"><code>1a5832c</code></a> fix(oauth): reject private keys in the registered jwks</li> <li><a href="https://github.com/authlib/authlib/commit/3613798a15d7bb18223db3db55666d9df3c1a1c7"><code>3613798</code></a> chore: release 1.9.9</li> <li><a href="https://github.com/authlib/authlib/commit/ae75ea573a3ce8dab480cf25457cd9e65f6de815"><code>ae75ea5</code></a> fix(oauth): reject the none method from confidential clients on every endpoint</li> <li><a href="https://github.com/authlib/authlib/commit/5efa9c0e87e02fc2a52b75a2bcca9511010305ae"><code>5efa9c0</code></a> chore: release 1.9.8</li> <li><a href="https://github.com/authlib/authlib/commit/63c3916708589e20bb54080e96edc8ba3832a008"><code>63c3916</code></a> fix(jose): check the ECDH-1PU key wrapping enc on decryption</li> <li><a href="https://github.com/authlib/authlib/commit/ee8ff55f0609ad2fece8e0afd0d31e7272cb2c94"><code>ee8ff55</code></a> fix(oauth): reject OAuth 1 signatures made without a client secret</li> <li><a href="https://github.com/authlib/authlib/commit/b9b86e01b57305d8758bdcb4a252b3b5cc2ae53b"><code>b9b86e0</code></a> chore: release 1.9.7</li> <li><a href="https://github.com/authlib/authlib/commit/6feb324295933b7a42106de5c392ee5a2edbafee"><code>6feb324</code></a> fix(jose): limit the number of JWE JSON recipients</li> <li>See full diff in <a href="https://github.com/authlib/authlib/compare/v1.9.6...v1.9.10">compare view</a></li> </ul> </details> <br /> Updates `apprise` from 2.2.0 to 2.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/caronc/apprise/releases">apprise's releases</a>.</em></p> <blockquote> <h2>Apprise v2.3.0</h2> <h2>What's Changed</h2> <p>This release introduces support for several new notification services, but the biggest addition is <strong><code>url_fields()</code></strong>, a new function that allows developers to dynamically build user-friendly forms for configuring Apprise notification services. It simplifies converting between Apprise URLs and easy-to-understand form fields, making integrations more intuitive than ever.</p> <p>This release also lays the groundwork for upcoming updates to <a href="https://github.com/caronc/apprise-api">Apprise-API</a> and <strong>Apprise Mobile v0.8.0</strong> for both <a href="https://play.google.com/store/apps/details?id=com.appriseit.mobile">Android</a> and <a href="https://apps.apple.com/app/id6821633589">iOS</a>. Stay tuned 🚀 ! I'm hoping to have these updates available within the next week or so. The URL Builder built into Apprise Mobile got really easy to work with now that it can convert your URL back into the form fields for editing (thanks to the <code>url_fields()</code> addition mentioned above.</p> <p>Finally, a huge shout-out to all our external contributors! The number of community contributions continues to grow, and I can't express my gratitude enough. Thank you all for your time, effort, and fantastic work!</p> <p>☝️ Disclaimer: The Mobile App is just a companion to the Apprise API; it in itself does not send notifications; but it really makes taking your notifications on-the-go easy!</p> <p><strong>Note:</strong> There is a security fix in this release: <strong>GHSA-rmjg-h4cf-m74j</strong></p> <h3>📣 New Notification Services</h3> <ul> <li>Add AWS End User Messaging Social WhatsApp notifications by <a href="https://github.com/sergiobaiao"><code>@sergiobaiao</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1873">caronc/apprise#1873</a></li> <li>Added pushplus perf by <a href="https://github.com/eallion"><code>@eallion</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1890">caronc/apprise#1890</a></li> <li>Added OpsiMate notification support by <a href="https://github.com/idanlodzki"><code>@idanlodzki</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1882">caronc/apprise#1882</a></li> <li>Instagram direct message support in <a href="https://redirect.github.com/caronc/apprise/pull/1864">caronc/apprise#1864</a></li> <li>Add Azure Communication Services email support (acs://) by <a href="https://github.com/Avavaziri"><code>@Avavaziri</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1901">caronc/apprise#1901</a></li> <li>Notify! push notification support in <a href="https://redirect.github.com/caronc/apprise/pull/1904">caronc/apprise#1904</a></li> </ul> <h3>🐞 Bugfixes</h3> <ul> <li>Render fenced code blocks when converting Markdown to HTML by <a href="https://github.com/Enesuygurs"><code>@Enesuygurs</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1880">caronc/apprise#1880</a></li> <li>Redact OAuth access tokens from debug logs by <a href="https://github.com/shounakjoshi88-a11y"><code>@shounakjoshi88-a11y</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1881">caronc/apprise#1881</a></li> <li>prevent slow attachment downloads from stalling notifications in <a href="https://redirect.github.com/caronc/apprise/pull/1886">caronc/apprise#1886</a></li> <li>Fix notify() failing on an unpickled Apprise object by <a href="https://github.com/Cassian433"><code>@Cassian433</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1888">caronc/apprise#1888</a></li> <li>Read Discord, Slack, Telegram and Workflows templates as UTF-8 by <a href="https://github.com/Alpenj"><code>@Alpenj</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1887">caronc/apprise#1887</a></li> <li>Fix KeyError in apply_template() for placeholders in a different case by <a href="https://github.com/goranai"><code>@goranai</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1893">caronc/apprise#1893</a></li> <li>Keep local file paths and log masking out of configuration files in <a href="https://redirect.github.com/caronc/apprise/pull/1898">caronc/apprise#1898</a></li> <li>Fix pagertree:// ignoring action= and urgency= in uppercase by <a href="https://github.com/LuisFigueroaG"><code>@LuisFigueroaG</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1894">caronc/apprise#1894</a></li> <li>Fix opsgenie:// rejecting action= in uppercase by <a href="https://github.com/LuisFigueroaG"><code>@LuisFigueroaG</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1903">caronc/apprise#1903</a></li> <li>Fix mode= rejected in uppercase by wxteams://, pingram://, slack:// and twitter:// by <a href="https://github.com/LuisFigueroaG"><code>@LuisFigueroaG</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1906">caronc/apprise#1906</a></li> <li>Preserve Telegram MarkdownV2 spoiler spans in Markdown conversion by <a href="https://github.com/cestercian"><code>@cestercian</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1899">caronc/apprise#1899</a></li> <li>Fix Telegram album caption placement consistency by <a href="https://github.com/shoyuf"><code>@shoyuf</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1896">caronc/apprise#1896</a></li> </ul> <h2>💡 Features</h2> <ul> <li>Render Markdown as an interactive card for feishu:// and lark:// by <a href="https://github.com/LIEGU0317"><code>@LIEGU0317</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1871">caronc/apprise#1871</a></li> <li>Add PushWard acknowledge, url, subtitle, thread, collapse and snooze options by <a href="https://github.com/mac-lucky"><code>@mac-lucky</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1878">caronc/apprise#1878</a></li> <li>Add PushWard end-to-end encryption by <a href="https://github.com/mac-lucky"><code>@mac-lucky</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1885">caronc/apprise#1885</a></li> <li>Trigv: use the /v1 endpoint, send an idempotency key, log request id and Retry-After by <a href="https://github.com/hchouhan"><code>@hchouhan</code></a> in <a href="https://redirect.github.com/caronc/apprise/pull/1879">caronc/apprise#1879</a></li> <li>Split notification URLs into form fields and back in <a href="https://redirect.github.com/caronc/apprise/pull/1891">caronc/apprise#1891</a> and <a href="https://redirect.github.com/caronc/apprise/pull/1902">caronc/apprise#1902</a></li> </ul> <h3>❤️ Life-Cycle Support</h3> <ul> <li>Strict native url parsing in <a href="https://redirect.github.com/caronc/apprise/pull/1905">caronc/apprise#1905</a></li> <li>Refactored choice parsing in plugins (normalized) in <a href="https://redirect.github.com/caronc/apprise/pull/1907">caronc/apprise#1907</a></li> </ul> <h2>Installation</h2> <p>Apprise is available <a href="https://pypi.org/project/apprise/">on PyPI</a> through <em>pip</em>:</p> <pre lang="bash"><code># Install Apprise v2.3.0 from PyPI pip install apprise==2.3.0 </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/caronc/apprise/commit/7423ce7edc5a0cc032105e8b29920036285dc9a7"><code>7423ce7</code></a> bumped version v2.3.0</li> <li><a href="https://github.com/caronc/apprise/commit/ff21ddc7c51b2b92b4d39e2ba3a7193c1cfd2b89"><code>ff21ddc</code></a> Refactored choice parsing in plugins (normalized) (<a href="https://redirect.github.com/caronc/apprise/issues/1907">#1907</a>)</li> <li><a href="https://github.com/caronc/apprise/commit/b1efdcf8b874856621459cfe2227165f603db097"><code>b1efdcf</code></a> Fix mode= rejected in uppercase by wxteams, pingram, slack and twitter (<a href="https://redirect.github.com/caronc/apprise/issues/1906">#1906</a>)</li> <li><a href="https://github.com/caronc/apprise/commit/69cfc85176c70a78cb435aa7c2ce32314a3c764e"><code>69cfc85</code></a> Notify! Support (<a href="https://redirect.github.com/caronc/apprise/issues/1904">#1904</a>)</li> <li><a href="https://github.com/caronc/apprise/commit/6b508feb99e12081e1c5f25feddd41dfe9733997"><code>6b508fe</code></a> Strict native url parsing (<a href="https://redirect.github.com/caronc/apprise/issues/1905">#1905</a>)</li> <li><a href="https://github.com/caronc/apprise/commit/8457a38a4cc824cbf3ea3743d3d166d2d6faf020"><code>8457a38</code></a> fixed missing/misaligned info in README.md</li> <li><a href="https://github.com/caronc/apprise/commit/9e18ea04d61b853b495aa287fb90e3d0d2b1ac8d"><code>9e18ea0</code></a> Add Azure Communication Services email support (acs://) (<a href="https://redirect.github.com/caronc/apprise/issues/1901">#1901</a>)</li> <li><a href="https://github.com/caronc/apprise/commit/354d2caeb8502f436a8b79505cf22fb72294cffa"><code>354d2ca</code></a> Instagram direct message support (<a href="https://redirect.github.com/caronc/apprise/issues/1864">#1864</a>)</li> <li><a href="https://github.com/caronc/apprise/commit/c5796b7718525823871369840b3fb99492d4c277"><code>c5796b7</code></a> Bale Messenger notification support (<a href="https://redirect.github.com/caronc/apprise/issues/1900">#1900</a>)</li> <li><a href="https://github.com/caronc/apprise/commit/d1d6e6099e9c62863fff49ec0a4de841e49155fd"><code>d1d6e60</code></a> Fix opsgenie:// rejecting action= in uppercase (<a href="https://redirect.github.com/caronc/apprise/issues/1903">#1903</a>)</li> <li>Additional commits viewable in <a href="https://github.com/caronc/apprise/compare/v2.2.0...v2.3.0">compare view</a></li> </ul> </details> <br /> Updates `seleniumbase` from 4.58.0 to 4.58.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/seleniumbase/SeleniumBase/releases">seleniumbase's releases</a>.</em></p> <blockquote> <h2>4.58.2 - A few fixes and dependency updates</h2> <h2>A few fixes and dependency updates</h2> <ul> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/82abca5b0f5c286129a42b19c83cf8ca7a526190">Fix html log processing for "data:" URLs</a> --> This resolves <a href="https://redirect.github.com/seleniumbase/SeleniumBase/issues/4565">seleniumbase/SeleniumBase#4565</a></li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/7f00d57e42edd4dbc9449cd65212562673a51c0c">Update get_all() cookie-handling in CookieJar</a></li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/d163b5cd169840bd63c5cf7f8b101b7bd9ee5e09">Update method_summary.py</a> --> This resolves <a href="https://redirect.github.com/seleniumbase/SeleniumBase/issues/4564">seleniumbase/SeleniumBase#4564</a></li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/1af870915e4b9f3c807245437e11e82b31037a97">Refresh Python dependencies</a></li> </ul> <h2>What's Changed</h2> <ul> <li>A few fixes and dependency updates by <a href="https://github.com/mdmintz"><code>@mdmintz</code></a> in <a href="https://redirect.github.com/seleniumbase/SeleniumBase/pull/4566">seleniumbase/SeleniumBase#4566</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/seleniumbase/SeleniumBase/compare/v4.58.1...v4.58.2">https://github.com/seleniumbase/SeleniumBase/compare/v4.58.1...v4.58.2</a></p> <h2>4.58.1 - In-house 2FA</h2> <h2>In-house 2FA</h2> <p>Since PyOTP <code>2.12.0</code> broke backwards compatibility, we're going to replace it with in-house 2FA algorithm to handle time-based 2-factor authentication. <strong>The algorithm will work exactly as it did before so that backwards-compatibility is retained for existing scripts.</strong></p> <ul> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/d6247fdd975e7d0c61bec98cf1ea4f7f3dd09ea1">Replace PyOTP with an in-house 2FA handler</a> --> This resolves <a href="https://redirect.github.com/seleniumbase/SeleniumBase/issues/4561">seleniumbase/SeleniumBase#4561</a></li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/d02d8361d2da328e12b874f2dc7d1cd5635157c4">Remove references to PyOTP</a></li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/e59b2ac51b1e03ca481d45e97e0f796c82aef396">Refresh Python dependencies (remove PyOTP)</a></li> </ul> <hr /> <p>Gemini-generated snippet:</p> <pre><code>Replace pyotp with standard library TOTP in get_mfa_code() <p>Maintains backwards compatibility with 16-character Base32 secrets after pyotp 2.12.0 enforced a 112-bit minimum key length.</p> <p>Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@://github.com> </code></pre></p> <!-- raw HTML omitted --> <h3>Acknowledgments</h3> <ul> <li>Standard-library RFC 6238 TOTP implementation drafted with assistance from Google Gemini.</li> </ul> <h2>What's Changed</h2> <ul> <li>In-house 2FA by <a href="https://github.com/mdmintz"><code>@mdmintz</code></a> in <a href="https://redirect.github.com/seleniumbase/SeleniumBase/pull/4562">seleniumbase/SeleniumBase#4562</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/seleniumbase/SeleniumBase/compare/v4.58.0...v4.58.1">https://github.com/seleniumbase/SeleniumBase/compare/v4.58.0...v4.58.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/11f3610a955bb371322fdef3092c101580379621"><code>11f3610</code></a> Merge pull request <a href="https://redirect.github.com/seleniumbase/SeleniumBase/issues/4566">#4566</a> from seleniumbase/a-few-fixes-and-dependency-updates</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/a544fd99b502b0f9f5cc6225bad53a93789cd1ff"><code>a544fd9</code></a> Version 4.58.2</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/93cd2678e2d293bfe5cf936a6e55b673b0b21442"><code>93cd267</code></a> Update CDP Mode examples</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/1006a07c1f44cb6b2470d2333e162dd044e55891"><code>1006a07</code></a> Update MCP versioning</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/3122d45e16217c6d14b6d235f98274aa089a62ea"><code>3122d45</code></a> Refresh mkdocs dependencies</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/1af870915e4b9f3c807245437e11e82b31037a97"><code>1af8709</code></a> Refresh Python dependencies</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/d163b5cd169840bd63c5cf7f8b101b7bd9ee5e09"><code>d163b5c</code></a> Update method_summary.py</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/7f00d57e42edd4dbc9449cd65212562673a51c0c"><code>7f00d57</code></a> Update <code>get_all()</code> cookie-handling in CookieJar</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/82abca5b0f5c286129a42b19c83cf8ca7a526190"><code>82abca5</code></a> Fix html log processing for "data:" URLs</li> <li><a href="https://github.com/seleniumbase/SeleniumBase/commit/d8d446a489f4e4b535d600a2c03a2cc9fb221878"><code>d8d446a</code></a> Update ReadMe badges</li> <li>Additional commits viewable in <a href="https://github.com/seleniumbase/SeleniumBase/compare/v4.58.0...v4.58.2">compare view</a></li> </ul> </details> <br /> Updates `prek` from 0.5.10 to 0.5.11 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/j178/prek/releases">prek's releases</a>.</em></p> <blockquote> <h2>0.5.11</h2> <h2>Release Notes</h2> <p>Released on 2026-11-16.</p> <h3>Enhancements</h3> <ul> <li>Add <code>prek install --hook-command</code> to customize how Git hooks launch prek (<a href="https://redirect.github.com/j178/prek/pull/3002">#3002</a>)</li> <li>Bundle the <code>py.typed</code> marker in wheels (<a href="https://redirect.github.com/j178/prek/pull/3011">#3011</a>)</li> <li>Match installer glibc requirements to release builds (<a href="https://redirect.github.com/j178/prek/pull/3024">#3024</a>)</li> <li>Stream completed hook groups without progress output (<a href="https://redirect.github.com/j178/prek/pull/3004">#3004</a>)</li> <li>Support NUL-separated file lists with <code>--files0-from</code> (<a href="https://redirect.github.com/j178/prek/pull/3013">#3013</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Infer hook effects to skip unnecessary Git diffs (<a href="https://redirect.github.com/j178/prek/pull/3014">#3014</a>)</li> <li>Automatically group read-only hooks (<a href="https://redirect.github.com/j178/prek/pull/3020">#3020</a>)</li> <li>Cache file contents across read-only builtin hooks (<a href="https://redirect.github.com/j178/prek/pull/3021">#3021</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Preserve number precision in <code>pretty-format-json</code> (<a href="https://redirect.github.com/j178/prek/pull/3033">#3033</a>)</li> <li>Quote installed hook arguments for the shell (<a href="https://redirect.github.com/j178/prek/pull/3034">#3034</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/j178"><code>@j178</code></a></li> <li><a href="https://github.com/patrick-immometrica"><code>@patrick-immometrica</code></a></li> <li><a href="https://github.com/MaicoTimmerman"><code>@MaicoTimmerman</code></a></li> <li><a href="https://github.com/tisonkun"><code>@tisonkun</code></a></li> </ul> <h2>Install prek 0.5.11</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.11/prek-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <pre lang="sh"><code>powershell -ExecutionPolicy Bypass -c "irm https://github.com/j178/prek/releases/download/v0.5.11/prek-installer.ps1 | iex" </code></pre> <h3>Install prebuilt binaries via Homebrew</h3> <pre lang="sh"><code>brew install prek </code></pre> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/j178/prek/blob/main/CHANGELOG.md">prek's changelog</a>.</em></p> <blockquote> <h2>0.5.11</h2> <p>Released on 2026-11-16.</p> <h3>Enhancements</h3> <ul> <li>Add <code>prek install --hook-command</code> to customize how Git hooks launch prek (<a href="https://redirect.github.com/j178/prek/pull/3002">#3002</a>)</li> <li>Bundle the <code>py.typed</code> marker in wheels (<a href="https://redirect.github.com/j178/prek/pull/3011">#3011</a>)</li> <li>Match installer glibc requirements to release builds (<a href="https://redirect.github.com/j178/prek/pull/3024">#3024</a>)</li> <li>Stream completed hook groups without progress output (<a href="https://redirect.github.com/j178/prek/pull/3004">#3004</a>)</li> <li>Support NUL-separated file lists with <code>--files0-from</code> (<a href="https://redirect.github.com/j178/prek/pull/3013">#3013</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Infer hook effects to skip unnecessary Git diffs (<a href="https://redirect.github.com/j178/prek/pull/3014">#3014</a>)</li> <li>Automatically group read-only hooks (<a href="https://redirect.github.com/j178/prek/pull/3020">#3020</a>)</li> <li>Cache file contents across read-only builtin hooks (<a href="https://redirect.github.com/j178/prek/pull/3021">#3021</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Preserve number precision in <code>pretty-format-json</code> (<a href="https://redirect.github.com/j178/prek/pull/3033">#3033</a>)</li> <li>Quote installed hook arguments for the shell (<a href="https://redirect.github.com/j178/prek/pull/3034">#3034</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/j178"><code>@j178</code></a></li> <li><a href="https://github.com/patrick-immometrica"><code>@patrick-immometrica</code></a></li> <li><a href="https://github.com/MaicoTimmerman"><code>@MaicoTimmerman</code></a></li> <li><a href="https://github.com/tisonkun"><code>@tisonkun</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/j178/prek/commit/ed919951c09c378b67e0abe8d6df2cc91f0153ab"><code>ed91995</code></a> Bump version to 0.5.11 (<a href="https://redirect.github.com/j178/prek/issues/3048">#3048</a>)</li> <li><a href="https://github.com/j178/prek/commit/50330ec722c9e8c90c97dc79bca5a270b1517362"><code>50330ec</code></a> Preserve number precision in <code>pretty-format-json</code> (<a href="https://redirect.github.com/j178/prek/issues/3033">#3033</a>)</li> <li><a href="https://github.com/j178/prek/commit/96378bfbba8a2f525078eca24829c01898ef0f39"><code>96378bf</code></a> Quote installed hook arguments for the shell (<a href="https://redirect.github.com/j178/prek/issues/3034">#3034</a>)</li> <li><a href="https://github.com/j178/prek/commit/6dc7526a29a9fb5afa8483e5f9ee7d25b676345a"><code>6dc7526</code></a> Update prek hooks (<a href="https://redirect.github.com/j178/prek/issues/3046">#3046</a>)</li> <li><a href="https://github.com/j178/prek/commit/b970bd020c7667e1b4f35f9f593c5c8e30d5e1f5"><code>b970bd0</code></a> chore(deps): update asyncband to 0.8.0 (<a href="https://redirect.github.com/j178/prek/issues/3047">#3047</a>)</li> <li><a href="https://github.com/j178/prek/commit/556da17e623e5470cc007c961a607712fd2a3fde"><code>556da17</code></a> Update taiki-e/install-action action to v2.90.3 (<a href="https://redirect.github.com/j178/prek/issues/3045">#3045</a>)</li> <li><a href="https://github.com/j178/prek/commit/97e9136e4a0d5fb7a131c24e8e297dccda24adb4"><code>97e9136</code></a> Update Rust dependencies (<a href="https://redirect.github.com/j178/prek/issues/3043">#3043</a>)</li> <li><a href="https://github.com/j178/prek/commit/1b5bad78044b25164d8f504cb150095b95402101"><code>1b5bad7</code></a> Group rustup with Docker image updates (<a href="https://redirect.github.com/j178/prek/issues/3044">#3044</a>)</li> <li><a href="https://github.com/j178/prek/commit/840cc55430261f0eb4e84c6ab57173ae46ab5c5e"><code>840cc55</code></a> Update textwrap and shared ICU dependencies (<a href="https://redirect.github.com/j178/prek/issues/3042">#3042</a>)</li> <li><a href="https://github.com/j178/prek/commit/1ddaea7e7245cb0c1fe0aa1287cb3b4d59c8e20a"><code>1ddaea7</code></a> Update dependency rust-lang/rustup to v1.29.3 (<a href="https://redirect.github.com/j178/prek/issues/3037">#3037</a>)</li> <li>Additional commits viewable in <a href="https://github.com/j178/prek/compare/v0.5.10...v0.5.11">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.17.5 to 0.17.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.17.6</h2> <h2>Release Notes</h2> <p>Released on 2026-11-19.</p> <h3>Preview features</h3> <ul> <li>[<code>flake8-type-checking</code>] Add a fix for <code>runtime-string-union</code> (<code>TC010</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15635">#15635</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix handling of parenthesized duplicate items (<code>B033</code>, <code>RUF068</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30493">#30493</a>)</li> <li>[<code>pyflakes</code>] Fix false negative when a name is assigned more than once (<code>F823</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30524">#30524</a>)</li> <li>[<code>pylint</code>] Avoid false positive when collection is modified in loop (<code>PLR1733</code>, <code>PLR1736</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30466">#30466</a>)</li> <li>[<code>ruff</code>] Avoid syntax error in <code>useless-finally</code> fix for inline <code>try</code> bodies (<code>RUF072</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30349">#30349</a>)</li> <li>Treat relative imports from <code>.__future__</code> as ordinary imports (<a href="https://redirect.github.com/astral-sh/ruff/pull/30260">#30260</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-simplify</code>] Avoid redundant <code>bool</code> wrappers in <code>SIM208</code> fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/30457">#30457</a>)</li> <li>[<code>pyflakes</code>] Ignore <code>__traceback_hide__</code> in <code>unused-variable</code> (<code>F841</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29600">#29600</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Decode in-memory notebooks directly from their source string (<a href="https://redirect.github.com/astral-sh/ruff/pull/30385">#30385</a>)</li> <li>Short-circuit exact qualified-name checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/30058">#30058</a>)</li> <li>Stream JSON diagnostics to the output writer (<a href="https://redirect.github.com/astral-sh/ruff/pull/30384">#30384</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix the multiline string example in Known Deviations from Black (<a href="https://redirect.github.com/astral-sh/ruff/pull/30447">#30447</a>)</li> <li>Include the category in individual rule documentation pages (<a href="https://redirect.github.com/astral-sh/ruff/pull/30503">#30503</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Update Rust toolchain to 1.100 and MSRV to 1.98 (<a href="https://redirect.github.com/astral-sh/ruff/pull/30416">#30416</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/pseudo-usama"><code>@pseudo-usama</code></a></li> <li><a href="https://github.com/G26karthik"><code>@G26karthik</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/apathydevil"><code>@apathydevil</code></a></li> <li><a href="https://github.com/Shivansh-S17"><code>@Shivansh-S17</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/anujdas"><code>@anujdas</code></a></li> <li><a href="https://github.com/chammika"><code>@chammika</code></a></li> <li><a href="https://github.com/imryanthedev"><code>@imryanthedev</code></a></li> <li><a href="https://github.com/Daverball"><code>@Daverball</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.17.6</h2> <p>Released on 2026-11-19.</p> <h3>Preview features</h3> <ul> <li>[<code>flake8-type-checking</code>] Add a fix for <code>runtime-string-union</code> (<code>TC010</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15635">#15635</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix handling of parenthesized duplicate items (<code>B033</code>, <code>RUF068</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30493">#30493</a>)</li> <li>[<code>pyflakes</code>] Fix false negative when a name is assigned more than once (<code>F823</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30524">#30524</a>)</li> <li>[<code>pylint</code>] Avoid false positive when collection is modified in loop (<code>PLR1733</code>, <code>PLR1736</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30466">#30466</a>)</li> <li>[<code>ruff</code>] Avoid syntax error in <code>useless-finally</code> fix for inline <code>try</code> bodies (<code>RUF072</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30349">#30349</a>)</li> <li>Treat relative imports from <code>.__future__</code> as ordinary imports (<a href="https://redirect.github.com/astral-sh/ruff/pull/30260">#30260</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-simplify</code>] Avoid redundant <code>bool</code> wrappers in <code>SIM208</code> fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/30457">#30457</a>)</li> <li>[<code>pyflakes</code>] Ignore <code>__traceback_hide__</code> in <code>unused-variable</code> (<code>F841</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29600">#29600</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Decode in-memory notebooks directly from their source string (<a href="https://redirect.github.com/astral-sh/ruff/pull/30385">#30385</a>)</li> <li>Short-circuit exact qualified-name checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/30058">#30058</a>)</li> <li>Stream JSON diagnostics to the output writer (<a href="https://redirect.github.com/astral-sh/ruff/pull/30384">#30384</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix the multiline string example in Known Deviations from Black (<a href="https://redirect.github.com/astral-sh/ruff/pull/30447">#30447</a>)</li> <li>Include the category in individual rule documentation pages (<a href="https://redirect.github.com/astral-sh/ruff/pull/30503">#30503</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Update Rust toolchain to 1.100 and MSRV to 1.98 (<a href="https://redirect.github.com/astral-sh/ruff/pull/30416">#30416</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/pseudo-usama"><code>@pseudo-usama</code></a></li> <li><a href="https://github.com/G26karthik"><code>@G26karthik</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/apathydevil"><code>@apathydevil</code></a></li> <li><a href="https://github.com/Shivansh-S17"><code>@Shivansh-S17</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/anujdas"><code>@anujdas</code></a></li> <li><a href="https://github.com/chammika"><code>@chammika</code></a></li> <li><a href="https://github.com/imryanthedev"><code>@imryanthedev</code></a></li> <li><a href="https://github.com/Daverball"><code>@Daverball</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/a7ba68b4919e56b6af949a42b2da38fe4eec67a9"><code>a7ba68b</code></a> Bump version to 0.17.6 (<a href="https://redirect.github.com/astral-sh/ruff/issues/30578">#30578</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3067e15977ebc32b17a0851f625af4f1dad7c57d"><code>3067e15</code></a> [ty] Fix lambda parameter inference with an unsolved ParamSpec (<a href="https://redirect.github.com/astral-sh/ruff/issues/30547">#30547</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7aae7a53128d5600a6720d11a2d6ce6bd623cfe1"><code>7aae7a5</code></a> Treat relative imports from <code>.__future__</code> as ordinary imports (<a href="https://redirect.github.com/astral-sh/ruff/issues/30260">#30260</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/dcc9519d427af91365e3f7094cb90bb87ba9c030"><code>dcc9519</code></a> Separate Ruff configuration loading from settings resolution (<a href="https://redirect.github.com/astral-sh/ruff/issues/30574">#30574</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c6c706a87760fd317b607733be12ff0bc9dc2039"><code>c6c706a</code></a> Avoid repeated scans of unclosed script metadata blocks (<a href="https://redirect.github.com/astral-sh/ruff/issues/30571">#30571</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/17ff3e8372a3f8104c4895919573eb45d24fbc5f"><code>17ff3e8</code></a> Clarify Ruff's root settings and resolver entries (<a href="https://redirect.github.com/astral-sh/ruff/issues/30573">#30573</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1b93171700a3786aca378e4eb42bf5950eb03df2"><code>1b93171</code></a> [ty] Add NumPy to ecosystem runs (<a href="https://redirect.github.com/astral-sh/ruff/issues/30572">#30572</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c117517efdabbf8ff1038ec9112a323a57142b82"><code>c117517</code></a> Resolve configuration roots directly from their origin (<a href="https://redirect.github.com/astral-sh/ruff/issues/30569">#30569</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/700c1e84243c5f270951f47c6e8cfb41baeeca2f"><code>700c1e8</code></a> [ty] Move <code>NamedTupleLike</code> to <code>ty_extensions._internal</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/30567">#30567</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/981d44c9cb10a8842ef87de1059c0ba44be8dbff"><code>981d44c</code></a> [ty] Rename <code>uv-metadata</code> diagnostic to <code>project-manager</code> and improve its wor...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.17.5...0.17.6">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>
📚 Shelfmark: Book Search & Request Tool
Note
Shelfmark is feature stable and maintained on a best-effort basis. Bug fixes, security updates, and small quality-of-life improvements are still shipped, and pull requests are reviewed — including new features. There is no roadmap for new features for now.
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 (including OceanofPDF), torrent, usenet, IRC, Soulseek (slskd), and Webshare.cz source support, with indexers through Prowlarr or Jackett
- Audiobook Support - Full audiobook search and download with dedicated processing
- Flexible Search - Search metadata providers (Hardcover, Open Library, Google Books, DNB, Databáze knih, Moly.hu) 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
- Library Check - Optionally mark search results you already own in a Calibre or Audiobookshelf library, so you don't download a second copy. See Library Check
- Hardcover Sync - Optionally pull a Hardcover shelf in as requests and download the books without an admin picking a release. Off by default. See Hardcover Sync
- 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
🚀 Quick Start
Prerequisites
- Docker & Docker Compose
- At least 2 GB of RAM available to the container when using the standard image — see Memory Requirements
Installation
-
Download the docker-compose file:
curl -O https://raw.githubusercontent.com/calibrain/shelfmark/main/compose/docker-compose.yml -
Start the service:
docker compose up -d -
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
nobrlmount option to avoid database lock errors.
Non-root container mode
- Start the container as
1000:1000with Dockeruser: "1000:1000"ordocker run --user 1000:1000. - For Kubernetes, set
runAsUser: 1000,runAsGroup: 1000, andrunAsNonRoot: truetogether. PUID/PGIDkeep the default root startup flow.- Mounted paths must already be writable by
1000:1000. USING_TOR=truerequires root startup.
⚙️ Configuration
Search Modes
Direct
- Queries configured sources directly
Universal (recommended)
- Search via metadata providers (Hardcover, Open Library, Google Books, DNB, Databáze knih, Moly.hu) for richer results
- Aggregates releases from multiple configured sources
- Full audiobook support
Hardcover API Key
Hardcover powers metadata search in Universal mode. Create a token at
hardcover.app/account/api — current keys start with hc_pat_
and are far shorter than the JWTs Hardcover issued before August 2026.
Tick these seven scopes on the token screen:
| Scope | Used for |
|---|---|
read:catalog |
Metadata search, plus book, edition, author and series lookups |
read:library |
Your reading status and shelf counts |
read:lists |
Your lists and the books on them |
read:me:content |
Test Connection and the "Connected as" label |
read:users |
Usernames shown alongside lists |
write:library |
Setting a book's reading status from Shelfmark |
write:lists |
Adding and removing books from lists, including auto-remove on download |
The two write: scopes matter only if you set reading status from Shelfmark or leave
Auto-Remove from List on Download enabled (it is on by default) — without them those actions
fail silently. Everything else Hardcover offers (journal, goals, reviews, prompts, notifications,
account) can stay unticked. The all scope works too, but it grants full account access including
deletion, so prefer the list above.
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 |
USING_WIREGUARD |
Enable WireGuard VPN egress with kill-switch (requires root startup) | false |
WIREGUARD_CONFIG |
Path to the mounted wg-quick config | /config/wg0.conf |
WIREGUARD_INTERFACE |
WireGuard interface name | wg0 |
LAN_NETWORK |
Comma-separated CIDRs kept off the tunnel so the WebUI / internal clients stay reachable | 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 |
WIREGUARD_ENFORCE_DNS |
Pin the resolver (via WIREGUARD_DNS, else the config's DNS =) so DNS can't silently fall back to an off-tunnel path. Designed for a trusted LAN resolver kept reachable via LAN_NETWORK (query leaves over the LAN; download still egresses via the tunnel) — it does not force queries through the tunnel. Docker's embedded resolver (127.0.0.11) is preserved when present so container-name resolution keeps working; pin its upstream via the container's dns: list. Fails closed if no resolver is available or /etc/resolv.conf is not writable. |
true |
WIREGUARD_DNS |
Explicit resolver(s) to pin (comma/space separated). Use when the VPN's pushed DNS filters domains you need; point at a resolver reachable via the tunnel or an allowed LAN resolver. | (unset; uses config DNS =) |
WIREGUARD_DISABLE_IPV6 |
Strip IPv6 from the tunnel config (many container kernels lack the ip6tables raw table wg-quick needs) and remove IPv6 as a leak surface. |
true |
WIREGUARD_ALLOW_IPV6_LEAK |
Escape hatch: continue even when an IPv6 kill-switch can't be installed AND IPv6 can't be disabled. Only set if the container has no IPv6 connectivity. | false |
WIREGUARD_ALLOW_WEBUI_OFFTUNNEL |
Opt-in off-tunnel WebUI reachability. Default (false) keeps the kill-switch strictly fail-closed: the only off-tunnel egress is loopback, the tunnel device and the LAN allowlist. Set true only if a non-LAN client (e.g. a public reverse proxy on another segment) must reach the WebUI; it permits app-server replies (--sport FLASK_PORT, conntrack REPLY) off-tunnel — server replies only, never client-initiated egress. LAN clients never need it (covered by LAN_NETWORK). |
false |
WIREGUARD_STALE_AFTER |
Seconds since the last handshake before the healthcheck bounces the tunnel. | 180 |
See the full Environment Variables Reference for all available options.
Some of the additional options available in Settings:
- Prowlarr / Jackett - Configure indexers to download books and audiobooks through your torrent and usenet clients
- Download clients - qBittorrent, Transmission, Deluge, rTorrent, NZBGet, SABnzbd, a blackhole folder, or a debrid service (AllDebrid, Real-Debrid, TorBox, Debrid-Link)
- Additional audiobook sources - Configure additional sources for audiobook discovery
- Webshare.cz - Search Webshare.cz by file name and download ebooks and audiobooks with your Webshare account (a VIP account is recommended for full speed)
- Direct Download mirrors - Supply your own Anna's Archive mirror URLs; Auto mode tries them in the order listed. The
annas-archive.isdomain does not currently work as a source — useannas-archive.glinstead (checked August 2026; mirror availability changes) - IRC - Add details for IRC book sources and download directly from the UI. Most networks serve audiobooks from the same channel as ebooks (on
irc.irchighway.netthat's#ebooks, while#bookzis effectively inactive), so leave the separate audiobook channel blank unless your network actually indexes one. IRC audiobooks usually arrive as ZIP/RAR archives — keep those enabled under Supported Audiobook Formats or the releases are filtered out of results - Soulseek (slskd) - Search the Soulseek network and download through a slskd instance. Point Shelfmark at slskd's URL with an API key (
web.authentication.api_keysinslskd.yml, rolereadwrite), and mount slskd's downloads folder into the Shelfmark container. If the folder sits at a different path inside Shelfmark, set Downloads Path in the slskd settings or add a Remote Path Mapping for clientslskd. Ebook results are single files; audiobook results group a peer's folder of audio files into one release. Some uploaders block downloads until you type a word to them in a private message; turn on Answer anti-leech chat challenges and Shelfmark types it for you, at most once per user every 12 hours. It reads every unread private message in slskd and marks a conversation it answered as read, so leave it off if you also read slskd's messages yourself - Library Link - Add links to your book library (Calibre-Web or Grimmory) and your audiobook library (Audiobookshelf, Plex) 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, Google Books and the other metadata providers
🐳 Docker Variants
Standard
docker compose up -d
The full-featured image with all network capabilities included.
Memory Requirements
The standard image ships a real Chromium browser, which it launches to solve Cloudflare challenges for Direct Download. Chromium needs room to run:
- 2 GB of RAM available to the container is a safe minimum; 1 GB or less is where problems usually start
- Only relevant if you use Direct Download. Prowlarr, IRC and audiobook sources don't start the browser
When the container is starved of memory, Chromium fails to start and every Direct Download fails with unrelated-looking errors — repeated 403 detected; switching to bypasser followed by No download URL found, and downloads that never complete. If you're seeing that, check the container's memory limit and the host's free memory before suspecting your ISP or DNS.
If you can't spare the memory, use the Lite image with an external resolver (e.g. FlareSolverr) running elsewhere.
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_ADMINandNET_RAWcapabilities - Timezone is auto-detected from Tor exit node
- Custom DNS/proxy settings are ignored when Tor is active
WireGuard VPN Routing
Optional WireGuard support to route all external egress through a VPN tunnel with a fail-closed kill-switch:
curl -O https://raw.githubusercontent.com/calibrain/shelfmark/main/compose/docker-compose.wireguard.yml
# place your wg-quick config where the compose mounts /config, as wg0.conf
docker compose -f docker-compose.wireguard.yml up -d
Notes:
- Requires root startup
- Requires
NET_ADMINandNET_RAWcapabilities - Mount a standard wg-quick config at
WIREGUARD_CONFIG(default/config/wg0.conf) - All non-LAN egress is forced through the tunnel; if the tunnel drops, external traffic fails closed while LAN ranges (WebUI, Prowlarr, qBittorrent) stay reachable
- IPv4 and IPv6 both fail closed. On kernels without a usable
ip6tables, disable IPv6 for the container (sysctls: net.ipv6.conf.all.disable_ipv6=1, as in the compose example) or the container refuses to start rather than risk an IPv6 leak - A supervised healthcheck bounces the tunnel if the handshake goes stale, and refreshes the endpoint allow rules so a roaming/rotated peer endpoint can reconnect
- Mutually exclusive with
USING_TOR - DNS trust:
WIREGUARD_DNSmust be a resolver you trust on a trusted network segment. When it is a LAN resolver (kept reachable off-tunnel byLAN_NETWORK), the query to that resolver leaves as plaintext UDP/53 on the LAN — the resolver is responsible for encrypting upstream. Two resolver paths exist: (1) when Docker's embedded resolver (127.0.0.11) is present it is preserved so container names (Prowlarr, qBittorrent) resolve — you MUST pin its upstream to a trusted resolver via the container's composedns:list, sinceWIREGUARD_DNScannot repoint the embedded resolver from inside the container; (2) otherwiseWIREGUARD_DNS/the configDNS =line is written to/etc/resolv.conf. SettingWIREGUARD_ENFORCE_DNS=falseis a foot-gun: with no embedded resolver present the container then uses its inherited resolver, which forwards to the Docker daemon's upstream off-tunnel, leaking your DNS. Leave enforcement on unless you have pinned the resolver another way.
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
- Constrained hosts - No bundled browser, so it runs comfortably below the standard image's memory requirements
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.
See API Access to call the API with a static key from scripts and integrations.
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 core scope.
Shelfmark intentionally does not:
- Manage your library - it never edits, tags or reorganises what you already own. The optional Library Check only reads your Calibre or Audiobookshelf library to mark results you already have
- Integrate with library software beyond delivery - what happens after delivery is up to your library tool
- Monitor authors, series, or new releases - there is no watching for new books. The optional Hardcover Sync is the one background job: it turns a Hardcover shelf you choose into requests, and it is off by default
- Queue future downloads - if a book isn't available now, Shelfmark won't watch for it. Hardcover Sync retries a request on a schedule, which is the closest it gets
These are non-goals, not missing features.
Contributing
Shelfmark's core feature set is complete.
Pull requests are welcome and all of them get reviewed, new features included. If you want a feature, the fastest path is to send a PR for it rather than to file a request.
Feature requests that fall outside the project scope (library integration, automation, collection management) will be closed, and PRs implementing them won't be merged. 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
The endpoint answers 503 when the download coordinator, the part that picks queued downloads up, is not running. Without it every download stays queued, so a container that reports unhealthy for this reason needs a restart.
Logging
Logs are available via:
docker logs <container-name>/var/log/shelfmark/inside the container (whenENABLE_LOGGING=true)
Log level is configurable under Settings → Advanced or via the LOG_LEVEL environment
variable (DEBUG, INFO, WARNING, ERROR, CRITICAL; case-insensitive, defaults to
INFO). The environment variable wins over the setting, and DEBUG=true forces DEBUG
regardless of either. Changes take effect on restart.
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.
Sponsors
Code review on Shelfmark's pull requests is sponsored by CodeRabbit.
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.



