DI

dir2opds

Minimal OPDS server for personal ebook collections

E-books & Media Library ★ 120 stars Easy setup MIT

dir2opds is a minimal OPDS server that publishes a folder of ebooks as a standard catalog readable by mobile and desktop reading apps. It requires no database and works directly from the filesystem.

Key features

  • Filesystem-based catalog
  • No database needed
  • Standard OPDS feed
  • Tiny single binary

Strengths

  • Released under the MIT license
  • Easy to set up — beginner-friendly
  • First-class Docker support for quick deployment
  • Written in Go

Is dir2opds secure?

OSV.dev has no published security advisories for dir2opds's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

dir2opds replaces

Health badge

Maintain dir2opds? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 72 · good

Markdown
[![SelfHostIndex health score for dir2opds](https://selfhostindex.com/badge/dir2opds-server.svg)](https://selfhostindex.com/app/dir2opds-server/)
HTML
<a href="https://selfhostindex.com/app/dir2opds-server/"><img src="https://selfhostindex.com/badge/dir2opds-server.svg" alt="SelfHostIndex health score for dir2opds"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/dir2opds-server.svg
   :alt: SelfHostIndex health score for dir2opds
   :target: https://selfhostindex.com/app/dir2opds-server/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Compare dir2opds

1 head-to-head comparisons.

Similar e-books & media library apps