smoothbrain-ai / smoothbrain-anki

SmoothBrain is an Anki plugin that fetches Readwise highlights and makes flashcards using OpenAI GPT.
39 stars 6 forks source link

Cache all data locally and only query for new data #4

Closed alexbowe closed 1 year ago

alexbowe commented 1 year ago

Either in a json file, sqlite database, or as data in the cards themselves.

Since Anki syncs its collection, it might be best to store as much as possible in Anki's database. However, I'm not sure if metadata can be attached to a deck. If it can't, then an sqlite database should be preferred.

Then, the Readwise query should be updated to only fetch updated highlights since last call.