soup-bowl / Localib

Keeps your Discogs library offline and searchable.
https://localib.app
MIT License
0 stars 0 forks source link

Store images in IndexedDB to allow offline operations #6

Closed soup-bowl closed 1 month ago

soup-bowl commented 1 month ago

Arised as a strong complexity of #3.

I want this to function fully offline, and currently the image restrictions on Discogs CDN do not allow me to.

This overhaul PR adds a .NET API and Worker service that will listen to an input of IDs, and queue them up for processing, and the worker will gradually churn through ones that we don't have.

Not an ideal solution (can't wait so I expect the 2nd load of data will preserve) but eventually it will catch up and subsequent reloads won't take too long.

soup-bowl commented 1 month ago

Preview (from 680c1e7) - https://a6a5f54e.discog.pages.dev/