Giter VIP home page Giter VIP logo

anki-heimat-flora-fauna's Introduction

Heimat Flora & Fauna (Anki deck)

Highly opinionated list of interesting flowers and animals. Images mostly coming from Wikipedia.

You will need the CrowdAnki Addon: https://github.com/Stvad/CrowdAnki

Share New Notes/Cards on GitHub

  • โ—๏ธ first import if you have pulled the latest & greatest from remote (notes will get lost in git if you don't run the import first)
  • (if you first run the export, commit and then do a git pull, yours and other people's changes will get merged by git)
  • in Anki, open "File > Export"
  • as destination dir, select any directory (probably outside this project to not commit the export)
  • then, the exported content will live in a directory with the same name that it has in your Anki
  • however the format of the export doesn't meet the expected git repo's format yet, so run this script before commiting
$ npm run after-export -- "<your-deck-folder>"
  • this has now updated the notes and media info of this project
  • ๐Ÿ‘ review and commit the changes and you're done

Import Other People's Note/Card Updates

CrowdAnki expects notes and media_files in a certain format, which includes your personal deck meta data (like learning steps). While CrowdAnki will maintain your learning progress (even when a card receives an update), this script will help to update only the cards, not meta data.

  • pull the latest changes from GitHub (probably branch main)
  • no need to run the export first - CrowdAnki will not remove any notes from your deck in Anki
  • run the merge script ๐Ÿ‘‡ , which creates an updated deck.json in the deck/ directory
$ npm run before-import -- "<your-deck-folder>"  # can be an old export - the deck meta data is the only relevant part here
  • after the script did run, in Anki open "File > CrowdAnki: Import from disk"
  • chose the deck/ directory
  • you may leave the default settings (don't tick the fields under "Einfach" to get the updated cards)
  • ๐Ÿ‘ You're done

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.