iamnbutler/shelfgoblinPublic

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

Switch to build-time data fetching for static deployment

Audible API has no CORS headers so can't be called from browser.
Now fetches data at build time via scripts/fetch-data.js and ships
static JSON files. Client loads from /data/{year}.json.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CCNBNate Butler and Claude Opus 4.6 (1M context) authored
332e91fPatch
Parent10401eb
4 files changed+159-206
StackedSplit
.gitignore+3 โˆ’0
package.json+2 โˆ’1
scripts/fetch-data.js+148 โˆ’0
src/lib/api.ts+6 โˆ’205