https://github.com/zadr/calibre-library-to-html
yet another python script that exports calibre library and produces an html page for reference
https://github.com/zadr/calibre-library-to-html
Last synced: about 1 month ago
JSON representation
yet another python script that exports calibre library and produces an html page for reference
- Host: GitHub
- URL: https://github.com/zadr/calibre-library-to-html
- Owner: zadr
- License: mit
- Created: 2025-08-17T01:21:13.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-08-17T17:02:55.000Z (7 months ago)
- Last Synced: 2025-08-17T17:39:51.747Z (7 months ago)
- Language: HTML
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Calibre Library Web Viewer
A lightweight web-based viewer for Calibre libraries with search, sort, and column management.
## Quick Start
```bash
# Export your Calibre library to output/ folder
python export_calibre_library.py
# Open in browser
open output/books.html
```
## Installation
1. Ensure [Calibre](https://calibre-ebook.com/) is installed
2. Clone or download these files:
- `export_calibre_library.py`
- `books.html`
## Usage
### Export from Calibre
```bash
# Auto-detect library and calibredb (exports to output/)
python export_calibre_library.py
# Specify library location
python export_calibre_library.py --library ~/MyBooks
# Export to specific directory
python export_calibre_library.py --output ./my-library
# Test with limited books
python export_calibre_library.py --limit 10
```
### View Library
Open `books.html` in any modern web browser. No server required.
## Files Generated
- `books.js` - Book data (JavaScript)
- `metadata.js` - Extended metadata
- `covers/` - Cover images
- `books.html` - Viewer interface
## Requirements
- Python 3.6+
- Calibre (for calibredb command)
- A web browser
## License
MIT