inpxer

command module
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
db
fts
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL