You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can find the binaries through GitHub [releases](https://github.com/mrwormhole/laverna/releases/).
19
+
14
20
### Install Via Go
15
21
16
22
```shell
17
23
go install github.com/mrwormhole/laverna@latest
18
24
```
19
25
20
-
### Grab Binaries
21
-
22
-
You can find binaries through GitHub releases.
26
+
## Sample Usage
23
27
24
-
### Sample Usage
28
+
### Basic
25
29
26
30
Let's create example CSV
27
31
@@ -49,32 +53,48 @@ or you could do YAML
49
53
Running below command will generate audios in the same directory.
50
54
51
55
```shell
52
-
laverna -file example.csv
56
+
laverna run -file example.csv
53
57
```
54
58
55
59
or
56
60
57
61
```shell
58
-
laverna -file example.yaml
62
+
laverna run -file example.yaml
59
63
```
60
64
61
-
### Shell Completions
65
+
### Anki
62
66
63
-
Output shell completion script for bash, zsh, fish, or Powershell.
64
-
Source the output to enable completion.
67
+
Make sure you have note type installed for Anki. Here is the [note type](./note-type.apkg), when you imported it, you will see "Cloze Multi Choice Audio" note type in your `Anki > Tools > Manage Note Types`. Then you can proceed with the below Anki CSV format.
68
+
69
+
```csv
70
+
Text,HelperText,TextA,TextB,TextC,TextD
71
+
ฉันชอบ{{c1::ฟัง}}เพลง,I like to listen to music,ฟัง,เล่น,ดู,อ่าน
72
+
```
73
+
74
+
```shell
75
+
laverna anki --profile Talha --voice th --file ./testdata/anki-th-example.csv
76
+
```
77
+
78
+
Now you will see a new result as below CSV file, all of your media is generated and inserted into Anki, however in order to create a deck in Anki, you need to import CSV below. And carefully choose comma delimiter with note type "Cloze Multi Choice Audio"
0 commit comments