Qquanwei / anki.el

Yet Another Anki Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anki.el

Table of Contents

Description

Yet another Anki Emacs Client.

img/anki.png

Features

Current status:

  • Anki Cards Browser
  • List and switch deck
  • Preview Card
  • Play audio

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")))
(setq anki-shr-rendering-functions (append anki-shr-rendering-functions shr-external-rendering-functions))

use-package

(use-package anki
  :load-path "~/.emacs.d/lisp/anki/"
  :config
  (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")))
  (setq anki-shr-rendering-functions (append anki-shr-rendering-functions shr-external-rendering-functions)))

Usage

M-x anki-browser

RET to preview card, r play audio, l to list deck, q to quit.

About

Yet Another Anki Client


Languages

Language:Emacs Lisp 100.0%