@@ -9,12 +9,11 @@ Turning notes into flashcards, or should I say concards! Concards is my ongoing
9
9
attempt to make flashcards simple and easily embeddable into text document
10
10
based notes. Concards is much lighter than other flashcard applications such as
11
11
such as [ Anki] ( https://apps.ankiweb.net/ ) or
12
- [ Memrise] ( https://www.memrise.com/ ) , but is also very powerful by following the
13
- [ Unix Philosophy] ( https://en.wikipedia.org/wiki/Unix_philosophy ) of "Do one
14
- thing and do it well".
12
+ [ Memrise] ( https://www.memrise.com/ ) , but it is also very powerful striving to
13
+ do one thing and do it well.
15
14
16
15
## Features
17
- - Implements the [ SM2] ( https://www.supermemo.com/english/ol/sm2.htm ) Repetition Algorithm .
16
+ - Implements a repetition algorithm similar to [ SM2] ( https://www.supermemo.com/english/ol/sm2.htm ) .
18
17
- Reading from multiple files & directories.
19
18
- Conveniently edit cards while reviewing them!
20
19
- Helpful syntax for adding reversible cards.
@@ -27,7 +26,7 @@ page](https://github.com/alanxoc3/concards/releases). At the moment, only Linux
27
26
and Mac are supported.
28
27
29
28
### Building From Source
30
- It should be super simple. Just use the ` go install ` command :
29
+ It should be super simple:
31
30
``` bash
32
31
go install github.com/alanxoc3/concards
33
32
```
@@ -42,11 +41,11 @@ This project currently depends on:
42
41
Asian characters.
43
42
44
43
Concards wouldn't be where it is today without those open source projects &
45
- their contributors, so please check them out too :).
44
+ their contributors, so please check them out too!
46
45
47
46
## Usage
48
47
The complete syntax of embedding your flashcards into text documents consists
49
- of these keywords :
48
+ of these symbols :
50
49
```
51
50
'@>' = Starts a concards block and also starts a question.
52
51
'|' = Separates sides.
@@ -98,20 +97,44 @@ $ concards README.md
98
97
```
99
98
100
99
## Advanced Usage
101
- ### The Meta Data File
102
- Here is an example meta-data file:
100
+ ### The Predict File
101
+ The predict file contains information needed to make a prediction when you
102
+ should review a card next.
103
+
104
+ Here is an example predict file:
105
+ ```
106
+ 002141b9b9448a257b05da1f2eb78972 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 2 1 1 sm2
107
+ 3dda75cb44ed447186834541475f32e2 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 1 3 -2 sm2
108
+ ```
109
+
110
+ Here is that same file, but annotated:
103
111
```
104
- 3dda75cb44ed447186834541475f32e2 2019-01-01T00:00:00Z 0 sm2 2.5
105
- 8525b45f883c05eec46b4f7a88e7f7ef 2020-01-01T00:00:00Z 0 sm2 2.5
112
+ sha256sum cut in half | next timestamp | previous timestamp | total yes count | total no count | current streak | spaced repetition algorithm used
113
+ ---------------------------------+----------------------+----------------------+---+---+----+----
114
+ 002141b9b9448a257b05da1f2eb78972 | 2020-08-08T18:00:17Z | 2020-08-02T18:00:17Z | 2 | 1 | 1 | sm2
115
+ 3dda75cb44ed447186834541475f32e2 | 2020-08-08T18:00:17Z | 2020-08-02T18:00:17Z | 1 | 3 | -2 | sm2
106
116
```
107
117
108
- Here is the same file, but annotated:
118
+ This file is read from ` $CONCARDS_PREDICT ` , or ` $HOME/.config/concards/predict `
119
+ if that environment variable doesn't exist.
120
+
121
+ ### The Outcome File
122
+ The outcome file contains the historical outcomes of every time a card has been
123
+ passed off or failed. It differs only slightly from the predict file. Here is
124
+ the corresponding outcome file for the predict file example above:
109
125
```
110
- sha256sum cut in half | review timestamp | streak | alg | data
111
- ---------------------------------+-----------------------+--------+-----+-----
112
- 3dda75cb44ed447186834541475f32e2 | 2019-01-01T00:00:00Z | 0 | sm2 | 2.5
113
- 8525b45f883c05eec46b4f7a88e7f7ef | 2020-01-01T00:00:00Z | 0 | sm2 | 2.5
126
+ 002141b9b9448a257b05da1f2eb78972 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 0 0 0 0
127
+ 002141b9b9448a257b05da1f2eb78972 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 0 1 -1 1
128
+ 002141b9b9448a257b05da1f2eb78972 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 1 1 0 1
129
+ 3dda75cb44ed447186834541475f32e2 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 0 0 0 1
130
+ 3dda75cb44ed447186834541475f32e2 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 1 0 1 0
131
+ 3dda75cb44ed447186834541475f32e2 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 1 1 0 0
132
+ 3dda75cb44ed447186834541475f32e2 2020-08-08T18:00:17Z 2020-08-02T18:00:17Z 1 2 -1 0
114
133
```
115
134
116
- This file is saved to ` $CONCARDS_META ` . If that environment variable doesn't
117
- exist, then it is saved to ` $HOME/.concards-meta ` .
135
+ You can notice that there are two main differences from the predict file:
136
+ - There are usually multiple lines with the same hash.
137
+ - The last column is a boolean "pass or fail" instead of an algorithm name.
138
+
139
+ This file is read from ` $CONCARDS_OUTCOME ` , or ` $HOME/.config/concards/outcome `
140
+ if that environment variable doesn't exist.
0 commit comments