Skip to content

shemanaev/inpxer

Repository files navigation

inpxer

OPDS 1.1 and web server for .inpx libraries with full-text search.

Usage

Standalone

Download the latest release. Download inpxer-example.toml, rename to inpxer.toml, put next to executable (or current working directory) and edit to your liking.

Import data:

./inpxer import ./file.inpx

You can specify --partial flag to import only new records and keep old ones. Otherwise, old index data will be deleted (the whole folder specified in index_path) and reindex from scratch.

Start server:

./inpxer serve

Web interface will be available on http://localhost:8080/ and OPDS will be on http://localhost:8080/opds by default.

Docker

Download inpxer-example.toml, rename to inpxer.toml and edit to your liking.

inpxer expects config file to be at /data/inpxer.toml.

Import data:

docker run --rm -it -v ${PWD}:/import -v <path to data storage>:/data shemanaev/inpxer inpxer import /import/file.inpx

Note: existing index will be deleted.

Start server:

docker run -it -p 8080:8080 -v <path to data storage>:/data shemanaev/inpxer