ohare93 / brain-brew

Automated Anki flashcard creation and extraction to/from Csv
The Unlicense
89 stars 5 forks source link

Init Repo Function #24

Closed ohare93 closed 3 years ago

ohare93 commented 3 years ago

Function to generate all Brain Brew required files, including source csvs and recipe files, using only a CrowdAnki Export :+1: This will greatly simplify the initial setup of a repo for users.

Run it with brainbrew init [CrowdAnki folder path]

Note: running a recipe file has now been given the command "run": brainbrew run [recipe file path]

Other improvements:

aplaice commented 3 years ago

Unfortunately, I only had time to test this out briefly (on a random CrowdAnki export), and probably won't have time for more in the near future, but this looks and seems to work great!

The auto-generated structure looks sensible and round-trip conversion (init and then run recipes/source_to_anki.yaml) seems to leave the contents of deck.json unchanged (other than AFAICT trailing newlines in the HTML templates, whose removal makes sense.)


On another note, I've noticed that BrainBrew is now also used by the intriguing-looking UK geography deck!

ohare93 commented 3 years ago

Lovely, I am very happy to hear it works well :+1: :grin: thanks for testing it any amount :pray:

And wow, I did not know about the UK deck that's using Brain Brew! :star_struck: I'm happy more people are getting use out of it! :grin: