fb2lib

module
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT

README

fb2lib

Go Reference Go Report Card Coverage Pipeline

This is a server for indexing and searching fb2-books at zip archives.

Quick start:
  1. Put your archives with books into library folder

  2. Create index:

docker run --rm -t --entrypoint=indexer \
    -v $(pwd)/index:/var/index \
    -v $(pwd)/logs:/var/logs \
    -v $(pwd)/library:/var/library \
    egnd/fb2lib -workers=4 -batchsize=300
  1. Create docker-compose.yml:
version: "3.8"
services:
  app:
    image: egnd/fb2lib
    ports:
      - 8080:8080
    volumes:
      - ./index:/var/index:rw
      - ./library:/var/library:rw
  1. Run server with:
docker-compose up
  1. Server is available at http://localhost:8080
Hints:

Directories

Path Synopsis
cmd
indexer command
server command
internal
pkg

Jump to

Keyboard shortcuts

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