Crates.io | crablit |
lib.rs | crablit |
version | 0.1.6 |
source | src |
created_at | 2023-11-09 14:38:23.34269 |
updated_at | 2024-02-08 20:06:45.862858 |
description | A cli learning app using spaced repetition. |
homepage | https://crates.io/crates/crablit |
repository | https://github.com/JeromeSchmied/crablit |
max_upload_size | |
id | 1030209 |
size | 585,627 |
IMPORTANT!
Crablit is still in beta, functionality is not tested thoroughly.
.txt
, .csv
or .tsv
file.<term><delimiter><definition>
. eg: "to learn;lernen"
.';', '|', ' '(tab), '=', ':'
.#
are considered to be comments.hooray | booyah!
.# example file that can be parsed by crablit
# special soup!
soup | Suppe
fast | schnell
alpaca | das Alpaka
proud | stolz
# I don't know what to write next. | Ich weiß nicht was...
to pour | gießen
# [crablit]
# mode = "verbs"
# delim = ' '
# Verben Tabelle von DaF leicht 1,2
# it's hungarian but that really doesn't matter
# INFINI DRITTE PRÄTER PERFEKT MEANING KOMMENT
atmen atmet atmete h. geatmet lélegzik Er hat ruhig geatmet.
baden badet badete h. gebadet fürdik Das Mädchen duscht den Hund.
bauen baut baute h. gebaut épít Haus bauen
...
or:
cargo install crablit
# if on windows: curl.exe
curl -L "https://github.com/JeromeSchmied/crablit/archive/main.tar.gz" | tar -xzf -
# go to the directory where it's been cloned
cd crablit-main
# install it
cargo install --path .
# once you have git, clone the repo to have it locally
git clone --depth=1 https://github.com/JeromeSchmied/crablit.git
# go to the directory where it's been cloned
cd crablit
# install it
cargo install --path .
crablit --help
to see help.:hint
or :h
.:typo
.:skip
.quit
or exit
or :q
.:w
or :write
or :save
, to continue, you can open the file just like before. It's not yet stable on Windows.NO_COLOR=1
, coloring is disabled, thanks to colored.