summaryrefslogtreecommitdiff
path: root/readme.txt
blob: 557b76970087822a64e36701e303cd878971d70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54


Converter From Anki .apkg to Fresh Memory .fmd
==============================================




This is a command line utility that can convert Anki .apkg flashcard decks into
either .csv format or Fresh Memory .fmd format. Due to the limitations of those
formats, text style/formatting does not carry over well. However for simpler
decks it should be sufficient.




Dependencies:

    GNAT (GNAT.Command_Line, GNAT.Strings, GNAT.Regpat)
    GNATCOLL-Core (GNATCOLL.JSON)
    SQLite (C library interface)
    ZipAda (UnZip)




How to build/install:

This repository is written to use the GNAT Project Manager build tools.

Before building this utility you must first install ZipAda as a standalone
library. Because that project does not currently have a suitable .gpr file for
that, one has been included in this repository in the zipada subdirectory.

Afterwards, to build this utility use the following command

    gprbuild freshdeck.gpr

And to install, use

    gprinstall -p -m freshdeck.gpr




For further information on the build tools, consult

    https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug.html

For further information on the structure of Anki decks, consult

    https://github.com/ankidroid/Anki-Android/wiki/Database-Structure