https://github.com/shemanaev/inpxer
OPDS and web server for .inpx libraries with full-text search.
https://github.com/shemanaev/inpxer
fb2 flibusta inpx opds
Last synced: 3 months ago
JSON representation
OPDS and web server for .inpx libraries with full-text search.
- Host: GitHub
- URL: https://github.com/shemanaev/inpxer
- Owner: shemanaev
- License: mit
- Created: 2022-08-29T14:39:51.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-05T18:34:51.000Z (over 1 year ago)
- Last Synced: 2025-12-19T04:03:02.746Z (6 months ago)
- Topics: fb2, flibusta, inpx, opds
- Language: Go
- Homepage: https://hub.docker.com/r/shemanaev/inpxer
- Size: 1010 KB
- Stars: 39
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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`](./inpxer-example.toml), rename to `inpxer.toml`, put next to executable (or current working directory) and edit to your liking.
Import data:
```shell
./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:
```shell
./inpxer serve
```
Web interface will be available on [http://localhost:8080/](http://localhost:8080/) and
OPDS will be on [http://localhost:8080/opds](http://localhost:8080/opds) by default.
### Docker
Download [`inpxer-example.toml`](./inpxer-example.toml), rename to `inpxer.toml` and edit to your liking.
inpxer expects config file to be at `/data/inpxer.toml`.
Import data:
```shell
docker run --rm -it -v ${PWD}:/import -v :/data shemanaev/inpxer inpxer import /import/file.inpx
```
*Note: existing index will be deleted.*
Start server:
```shell
docker run -it -p 8080:8080 -v :/data shemanaev/inpxer
```