6776d9106fc76cd888504a656aceee9f5070b303
Two bugs fixed in runScrapeTask / runCatalogueTask: 1. FinishScrapeTask was called with the task's own context, which is already cancelled when the task is stopped. The PATCH to PocketBase failed silently, leaving all counters at their initial zero values. Fix: use a fresh context.WithTimeout(Background, 15s) for the write. 2. BooksFound was double-counted: RunBook already sets BooksFound=1 on success, but the accumulation loop added an extra +1 unconditionally, reporting 2 books per successful scrape. Fix: result.BooksFound += bookResult.BooksFound (drop the + 1).
LibNovel
Self-hosted audiobook platform. Go backend + SvelteKit UI + MinIO/PocketBase/Meilisearch.
Requirements
- Docker + Docker Compose
- just
- Doppler CLI
Setup
doppler login
doppler setup # project=libnovel, config=prd
Usage
just up # start everything
just down # stop
just logs # tail all logs
just log backend # tail one service
just build # rebuild images
just restart # down + up
just secrets # view/edit secrets
Secrets
Managed via Doppler (project=libnovel, config=prd). No .env files.
To add or update a secret:
doppler secrets set MY_SECRET=value
Description