After I discovered anki, a tool to assist in remembering facts, I started to actively use it. Among other uses, I want to keep in memory some important chess positions. To display these positions in anki, I have written a plugin.
In future, it would be possible to install it from the anki plugins repository, write now you have to install it manually. You have to donwload the plugin and unpack it to the anki “plugin” folder. Under Linux, the path is “$HOME/.anki/plugins”
Download chess fen plugin for anki (version 20110627).
The README-file is below, now two screenshots.
1) The text with fen-tags
2) The fen-tag converted to image
Anki plugin to generate chess diagramms
The plugin converts “fen” tag to a corresponding image.
The original text:
:: Do you like this position?
:: [fen]rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq – 0 1[/fen]
:: <img src=”xxxxx” width=”nn” height=”nn” border=”1″ /><br />
:: <b style=”color:gray;font-size:50%;”>[fen]rnbqkbnr/pppppppp
:: /8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq – 0 1[/fen]</b>
The images are generated and stored in the deck’s media directory.
An image is generated only if it does not exist. The plugin never
deletes images. It is possible to test diagramm generation from
the command line, see the comments inside “chess_fen.py”.
Install the fen plugin from the anki plugins repository.
While it is not available there, unpack the archive into
the anki’s plugin folder. Under Linux is it
The GNU General Public License
Oleg Parashchenko, olpa@ http://uucode.com/