Skip to content

benmanone/minicloze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minicloze

A command-line cloze-based language-learning game using the Tatoeba database of sentences. Written in Rust. The name is a reference to the Clozemaster app. This repository contains the Cargo workspace for minicloze.

Features

  • Support for over 400 languages
  • Lookup unfamiliar words on Wiktionary
  • Support for MacOS, Linux and Windows
  • Lean implementation, written in pure Rust

Targets

  • Long-term
  • Build a FOSS version of Clozemaster
  • Short-term
  • Build an Iced-based GUI frontend alongside the current CLI frontend
  • Play between two non-English languages

Installation

To install minicloze-cli, the only currently supported frontend, use cargo install minicloze (more likely to be up-to-date) or just download a release.

Usage

For minicloze-cli, just pass in the language (from www.tatoeba.org) you want to use, e.g. minicloze french. Add inverse for inverse mode (minicloze french inverse).

Example of use with French

Dependencies

www.crates.io/crates/minreq

www.crates.io/crates/serde

www.crates.io/crates/rand

www.crates.io/crates/open

www.crates.io/crates/levenshtein

www.crates.io/crates/colored

Contributing

Any help is very welcome, just open a PR or an issue and I'll probably be able to reply quickly. Right now the focus is on expanding from the basic idea into a more fully-fledged and user friendly experience.

Tatoeba Licensing

All sentences are from Tatoeba (www.tatoeba.org). Tatoeba's data is released under the CC-BY 2.0 FR license.