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.
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.