Table of Contents :TOC_3:noexport:
[[#description][Description]]
[[#features][Features]]
[[#installation][Installation]]
[[#usage][Usage]]
[[#header][Header]]
[[#related-packages][Related Packages]]
[[#newslogs][News/Logs]]
Description Yet another [[https://apps.ankiweb.net/][Anki]] Emacs Client.
Anki Search Mode:
[[file:img/anki.png]]
Anki Mode:
[[file:img/anki.gif]]
Features Current status:
Anki Mode: Card Study Mode
Anki Search Mode: Anki Cards Browser
List and switch decks
Preview Card
Preview Card's Front
Preview Card's Back
(Re)Play audio
Support [[https://github.com/chenyanming/shrface][shrface]]
Installation ** Clone to path
git clone git@github.com:chenyanming/anki.el.git ~/.emacs.d/lisp/anki/
** require
(add-to-list 'load-path "~/.emacs.d/lisp/anki/") (require 'anki) (setq sql-sqlite-program "/usr/bin/sqlite3") (setq anki-collection-dir "/Users/damonchan/Library/Application Support/Anki2/Android & Mac") (setq anki-audio-player (or (executable-find "aplay") (executable-find "afplay"))) ;; (require 'shrface) ; If you use shrface, require it here (setq anki-shr-rendering-functions (append anki-shr-rendering-functions shr-external-rendering-functions))
** use-package
(use-package anki :defer t :load-path "~/.emacs.d/lisp/anki/" :init (add-hook 'anki-mode-hook #'shrface-mode) (add-hook 'anki-card-mode-hook #'shrface-mode) (autoload 'anki "anki") (autoload 'anki-browser "anki") (autoload 'anki-list-decks "anki") :config ;; (require 'shrface) ; If you use shrface, require it here (setq anki-shr-rendering-functions (append anki-shr-rendering-functions shr-external-rendering-functions)) (setq sql-sqlite-program "/usr/bin/sqlite3") ;; Set up the collection directory, which should contain a file - collection.anki2 and a folder - collection.media (setq anki-collection-dir "/Users/chandamon/Library/Application Support/Anki2/User 1"))
M-x anki
Start from deck lists:
M-x anki-list-decks
Enter anki search mode:
M-x anki-browser
Notice:
Header The header in ~anki-mode~ shows the current card status:
Blue: New Cards
Red: Due Cards to be reviewed again (< 1 day)
Green: Due Cards to be reviewed (>= 1 day)
Related Packages
[[https://github.com/chenyanming/shrface][shrface]]: Enable org features on shr-rendered buffers, without the heaviness of org.
News/Logs
* =2020-10-13= Version 0.3.0*:
* =2020-09-19= Version 0.2.0*:
* =2020-09-14= Version 0.1.0*: