Anki: Difference between revisions

imported>Tamiyo
add category
Add instructions on how to install anki addons
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Anki is a spaced repetition system (SRS) commonly used to learn new languages. Information is placed on individual flashcards, which are sorted into decks. Anki is extensible using [[Python]] addons.
Anki is a spaced repetition system (SRS) commonly used to learn new languages. Information is placed on individual flashcards, which are sorted into decks. Anki is extensible using [[Python]] addons.


In addition to the desktop software, Anki has an iOS app, Android app, and web interface available. Decks/flashcards can be synced using a self hosted instance of <code>ankisyncd</code> or an AnkiWeb account.
In addition to the desktop software, Anki has an iOS app, Android app, and web interface available. Decks/flashcards can be synced using a self hosted instance of <code>anki-sync-server</code> or an AnkiWeb account.


== Installation ==
== Installation ==
Line 13: Line 13:
;nix-shell
;nix-shell
<code>$ nix-shell -p anki-bin</code>
<code>$ nix-shell -p anki-bin</code>
== Installing Addons ==
Additional addons can be installed using the following syntax:
;NixOs
environment.systemPackages = [
  (pkgs.anki.withAddons [
    pkgs.ankiAddons.passfail2
  ])
];
Note that as of writing, <code>anki-bin</code> does not support installing addons in this way.
=== Configuring Addons ===
Addons can be configured using <code>.withConfig</code>:
;NixOs
environment.systemPackages = [
  (pkgs.anki.withAddons [
    (pkgs.ankiAddons.passfail2.withConfig {
      config = {
        again_button_name = "Incorrect";
        good_button_name = "Correct";
      };
    })
  ])
];


[[Category:Applications]]
[[Category:Applications]]