iamnbutler/shelfgoblinPublic

Shelf Goblin โ€” discover LitRPG audiobooks, follow series, and track your library.

Add unified backend configuration system (#58)

Extract all hardcoded values (search terms, content filters, subgenre
patterns, quality weights, source endpoints) from fetch-data.js into
JSON config files under scripts/backend/config/. Add a typed config
loader (config.ts) with schema validation, sensible defaults, singleton
caching, and environment variable support.

Closes #48

Co-authored-by: Tasks Agent <tasks@localhost>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
C4TANBNate Butler and 2 others authored committed by GitHub
e1651d0Patch
Parenta8218aa
6 files changed+463-0
StackedSplit
scripts/backend/config.ts+340 โˆ’0
scripts/backend/config/audible-searches.json+50 โˆ’0
scripts/backend/config/content-filters.json+14 โˆ’0
scripts/backend/config/quality.json+9 โˆ’0
scripts/backend/config/sources.json+20 โˆ’0
scripts/backend/config/subgenres.json+30 โˆ’0