Readme
linank
Install
If you've got cargo installed
cargo install linank
You can also build it youself
git clone https://gitlab.com/Maaxxs/linank.git
cd linank/
cargo install -- path .
Notes regarding Anki
You need the Anki Connect Addon installed
Anki needs to be running while you execute this program (the Anki Connect Addon is listening on localhost: 8765 )
Usage
Note: The deck name in Anki must already exist. Maybe I'll implement auto creation for non existent decks.
Note: At the moment the translation is english->german and hardcoded. That may change as well.
linank - - help
Linank 0.1.0
Max Kunzelmann < maxdev@posteo.de>
Searches a tranlation at linguee.de and adds it to an Anki deck
USAGE:
linank [ OPTIONS] < QUERY>
FLAGS:
-h, -- help Prints help information
-V, -- version Prints version information
OPTIONS:
-d, -- deck-name < deck name> The name of the deck in Anki to which the note should be added.
ARGS:
< QUERY> The word to translate
Example
$ linank precious
Suche: precious
Bedeutung als Adjektiv: " precious"
kostbar
edel
wertvoll
Bedeutung als Substantiv: " precious"
Liebling
Zu Anki hinzufügen? [ Y/n]
$ linank " precious time"
Suche: precious time
Bedeutung als Substantiv: " precious time"
kostbare Zeit
wertvolle Zeit
Zu Anki hinzufügen? [ Y/n]
Add the word to a different deck than Englisch .
$ linank - d TestDeck precious
Suche: precious
Bedeutung als Adjektiv: " precious"
kostbar
edel
wertvoll
Bedeutung als Substantiv: " precious"
Liebling
Zu Anki hinzufügen? [ Y/n]
I wrote this program only for personal use.
Plase read their Terms and Conditions and Privacy statement .
License
MIT