- New MinIO bucket 'libnovel-browse' (MINIO_BUCKET_BROWSE env) for storing self-contained HTML snapshots of novelfire browse pages - Store interface gains SaveBrowsePage / GetBrowsePage / BrowsePageKey methods - handleBrowse is now cache-first: serves from MinIO snapshot when available, then fires a background triggerBrowseSnapshot goroutine to populate cache on live-fetch (de-duplicated, 90s timeout) - New 'save-browse' CLI subcommand to bulk-capture pages via SingleFile CLI - Dockerfile: downloads pinned single-file-x86_64-linux binary (v2.0.83), adds gcompat + libstdc++ to Alpine runtime for glibc compatibility - docker-compose: adds libnovel-browse bucket init and SINGLEFILE_PATH env - .gitignore: exclude scraper/scraper build artifact
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
# ── Go toolchain ───────────────────────────────────────────────────────────────
|
|
*.test
|
|
*.out
|
|
/vendor/
|
|
/dist/
|
|
|
|
# ── Compiled binaries ──────────────────────────────────────────────────────────
|
|
scraper/bin/
|
|
scraper/scraper
|
|
|
|
# ── Scraped output (large, machine-generated) ──────────────────────────────────
|
|
|
|
/static/books
|
|
# ── Environment & secrets ──────────────────────────────────────────────────────
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# ── OS artefacts ───────────────────────────────────────────────────────────────
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# ── Editor / IDE ───────────────────────────────────────────────────────────────
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|