Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leozqin/local-library

A filesystem based ePub library
https://github.com/leozqin/local-library

astrojs docker docker-com ebooks epub fastapi python self-hosted typescript

Last synced: 6 days ago
JSON representation

A filesystem based ePub library

Awesome Lists containing this project

README

        

# Local Library
Local Library is a simple read-only ebook library that indexes your `epub` ebooks against a read-only file system and provides a nice UI to browse and download them.

# Running
## Dev
To start the API server, in the repository root, create a fresh Python 3.12 virtual environment. Then, install the `requirements.txt` in that venv. Then, run `fastapi dev` to start the API server.

To start the web interface, first install nodejs 22. Then, in a different terminal session, navigate to `web` and run `npm install`. Finally, run `npm run dev` to start the web interface on port 4321.

If you're using nix, you can install pre-reqs by doing `nix-shell nodejs_22 python312`.

## Docker
Modify [the Compose stack](docker-compose.yml) to your heart's content, and then run `docker compose up` to start the app.