proycon / vocage

A minimalistic spaced-repetion vocabulary trainer (flashcards) for the terminal
GNU General Public License v3.0
142 stars 10 forks source link

maintain state outside the deck #14

Open teto opened 1 year ago

teto commented 1 year ago

hi,

I am planning to create/generate my own cards (generate because I want to fetch dynamically the translation of a word). I want to versionize via git the deck. Now vocage saves the state within the deck which may create git conflicts between my different computers when syncing git. I wonder if there is a way to save the state somewhere else ?

proycon commented 1 year ago

I also use git to version my decks. What I usually do is have a master/main branch with the pristine decks without state, and then in a git branch I keep the state (and sync that across devices). Keeping state in separate files is currently not implemented but I wouldn't be against it as an extra option.