Skip to content

DEPRECATED Program (in Rust) to generate Anki flashcards for the Hanyu Shuiping Kaoshi (a Chinese language proficiency test)

License

Notifications You must be signed in to change notification settings

kerrickstaley/hsk_flashcards

Repository files navigation

DEPRECATION NOTICE: This project is deprecated and has been superseded by Chinese-Prestudy

hsk_flashcards

Program (in Rust) to generate Anki flashcards for the Hanyu Shuiping Kaoshi (a Chinese language proficiency test).

You can download the deck created by this program here.

To run this program, you must have an up-to-date installation of Rust.

Run ./make_apkg.sh from the root directory; the output file will be stored at /tmp/deck.apkg.

Note: this is my very first Rust program, and was created over the course of several late nights. As such, the code quality may be lacking.

Publishing

If you are Kerrick, you can publish the deck by following these steps:

  1. Generate the deck using ./make_apkg.sh.
  2. Sync phone to AnkiWeb, and AnkiWeb to computer.
  3. In Anki, create a backup of your collection.
  4. Delete your Chinese::HSK deck.
  5. Import /tmp/deck.apkg.
  6. In the options for the HSK deck, change "Show new cards in random order" to "Show new cards in order added" (not sure this matters).
  7. Sync. (Pray.)
  8. Go to https://ankiweb.net/decks/, and pick Options -> Share next to the HSK deck.
  9. Edit the release notes. Give migration instructions if you added new fields.
  10. Publish!
  11. Import your backup (auto-deletes HSK deck).
  12. Tools -> Preferences -> Network -> check "On next sync, force changes in one direction".
  13. Sync and choose "Upload to AnkiWeb".

About

DEPRECATED Program (in Rust) to generate Anki flashcards for the Hanyu Shuiping Kaoshi (a Chinese language proficiency test)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages