summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDavid Schlachter <t480-debian-git@schlachter.ca>2026-01-08 11:22:29 -0500
committerDavid Schlachter <t480-debian-git@schlachter.ca>2026-01-08 11:22:29 -0500
commitc540abdd1d1465227e9b6b387570ee5a4d267bf4 (patch)
tree4f16e9caafa0a5c1f1432d0c628358f1314a5814 /README.md
parent63c3a174827aa431237e80bb210166dcd0e186dc (diff)
Make API url configurable
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index e1605de..ee4d8eb 100644
--- a/README.md
+++ b/README.md
@@ -22,19 +22,21 @@ go run . -rawDictionary=raw-wiktextract-data.jsonl -deck="Français" -model="Bas
```
Usage of french-wiktionary-flashcards:
+ -apiURL string
+ Base URL to access the anki-connect plugin API. (default
+ "http://localhost:8765")
-deck string
- Name of the deck where new Anki cards will be created.
+ Name of the deck where new Anki cards will be created.
-dictionary string
- Path to the parsed dictionary data. This will be generated
+ Path to the parsed dictionary data. This will be generated
from rawDictionary. (default "dictionary.sqlite3")
-model string
- Name of the card type ('model') for new Anki cards.
+ Name of the card type ('model') for new Anki cards.
-rawDictionary string
- Path to the raw wiktionary data. You can get this by
+ Path to the raw wiktionary data. You can get this by
downloading and unzipping
https://kaikki.org/frwiktionary/raw-wiktextract-data.jsonl.gz
(for French). (default "raw-wiktextract-data.jsonl")
-
```
# TODO