No description
This repository has been archived on 2025-08-24. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2024-12-07 16:43:04 +03:00
src other search parameters may be absent as well 2024-12-07 16:43:04 +03:00
.gitignore indexing 2024-10-05 20:10:50 +03:00
config.example.json add option to specify port 2024-10-20 12:08:17 +03:00
extract.py config is now an object, not a dict 2024-12-07 15:25:34 +03:00
index.py config is now an object, not a dict 2024-12-07 15:25:34 +03:00
LICENSE Add LICENSE 2024-10-14 09:59:38 +00:00
README.md extract.py 2024-10-05 23:19:29 +03:00
requirements.txt config is now an object, not a dict 2024-12-07 15:25:34 +03:00
search.py config is now an object, not a dict 2024-12-07 15:25:34 +03:00

Book Indexer

Indexes metadata of books (that may be in archives) into a database, allowing one to easily search them.

Currently supported book formats:

  • fb2

Currently supported archive formats:

  • zip

Setup

Copy config.example.json to config.json. Configure PostgreSQL credentials there.

Usage

Indexing

Run indexer.py on your collection: indexer.py <file | directory>

Searching

Run search.py with your query: search.py [-t <title>] [-a <author>] [--translator <translator>] [-s <series>] [-f <format>] [-l <lang>] [query]

Extraction

Run extract.py with book IDs you found with search.py: extract.py <book IDs...>