{"id":29569197,"url":"https://github.com/egnd/fb2lib","last_synced_at":"2026-04-18T09:33:30.503Z","repository":{"id":38382992,"uuid":"483810295","full_name":"egnd/fb2lib","owner":"egnd","description":"This is a server for indexing and searching fb2-books at zip archives.","archived":false,"fork":false,"pushed_at":"2022-07-23T10:31:16.000Z","size":36364,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T20:39:29.893Z","etag":null,"topics":["bleve","fb2","fb2-library","fb2converter","full-text-search","golang"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/egnd/fb2lib","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egnd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-20T20:54:25.000Z","updated_at":"2023-10-17T14:57:08.000Z","dependencies_parsed_at":"2022-09-26T21:01:06.565Z","dependency_job_id":null,"html_url":"https://github.com/egnd/fb2lib","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/egnd/fb2lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egnd%2Ffb2lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egnd%2Ffb2lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egnd%2Ffb2lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egnd%2Ffb2lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egnd","download_url":"https://codeload.github.com/egnd/fb2lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egnd%2Ffb2lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31963966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bleve","fb2","fb2-library","fb2converter","full-text-search","golang"],"created_at":"2025-07-19T01:38:45.656Z","updated_at":"2026-04-18T09:33:25.494Z","avatar_url":"https://github.com/egnd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fb2lib\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/egnd/fb2lib.svg)](https://pkg.go.dev/github.com/egnd/fb2lib)\n[![Go Report Card](https://goreportcard.com/badge/github.com/egnd/fb2lib)](https://goreportcard.com/report/github.com/egnd/fb2lib)\n[![Coverage](https://gocover.io/_badge/github.com/egnd/fb2lib)](https://gocover.io/github.com/egnd/fb2lib)\n[![Pipeline](https://github.com/egnd/fb2lib/actions/workflows/latest.yml/badge.svg)](https://github.com/egnd/fb2lib/actions?query=workflow%3ALatest)\n\nThis is a server for indexing and searching fb2-books at zip archives.\n\n### Quick start:\n1. Put your archives with books into ```books``` folder\n\n2. Build books index:\n```bash\ndocker run --rm -t --entrypoint=build_index \\\n  -v $(pwd)/cfg.yml:/configs/app.override.yml:ro \\\n  -v $(pwd)/books:/var/libs/default:ro \\\n  -v $(pwd)/index:/var/index:rw \\\n  -v $(pwd)/db:/var/db:rw \\\n  -v $(pwd)/logs:/var/logs:rw \\\n  egnd/fb2lib\n```\n\n3. Build books summary:\n```bash\ndocker run --rm -t --entrypoint=build_summary \\\n  -v $(pwd)/cfg.yml:/configs/app.override.yml:ro \\\n  -v $(pwd)/db:/var/db:rw \\\n  -v $(pwd)/logs:/var/logs:rw \\\n  egnd/fb2lib\n```\n\n3. Create ```docker-compose.yml```:\n```yaml\nversion: \"3.8\"\nservices:\n  app:\n    image: egnd/fb2lib\n    ports:\n      - 80:8080\n    volumes:\n      - ./cfg.yml:/configs/app.override.yml:ro\n      - ./libs/default:/var/libs/default:ro\n      - ./index:/var/index:rw\n      - ./db:/var/db:rw\n```\n\n4. Run server with:\n```bash\ndocker-compose up\n```\n\n5. Server is available at http://localhost\n\n### Hints:\n* Advanced query language - https://blevesearch.com/docs/Query-String-Query/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegnd%2Ffb2lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegnd%2Ffb2lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegnd%2Ffb2lib/lists"}