百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
V

vocage

> 编程语言
开源

一个适用于终端的极简空间重复词汇训练工具(闪卡) (https://git.sr.ht/~proycon/vocage 的镜像)

194 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个适用于终端的极简空间重复词汇训练工具(闪卡) (https://git.sr.ht/~proycon/vocage 的镜像)

Introduction

Vocage is a minimalistic terminal-based vocabulary-learning tool. It presents flashcards using a spaced-repetition algorithm (e.g. Leitner); words you know well will be presented less and less frequently and words you have problems with will be repeated more often. You quickly move cards/words between decks and each deck has an associated presentation interval.

You can use vocage for anything you'd use flashcards for and not necessarily limited to learning languages.

The aim of this software is to keep things simple and minimalistic and to focus on one thing only (the unix philosophy).

Features & non-features

  • Data is stored in a simple plain-text tab-separated values format (TSV). So you can edit your cards in your favourite text editor or spreadsheet program (use CSV export and set delimiter to tab and quotes to none). Vocage itself does not provide editing facilities.
    • All lines starting with # are considered comments. This also serves to quickly disable some cards without actually deleting them.
  • Your learning progress is stored right inside the TSV files, simply by adding one column for the deck a card is in, and one for when it is due. This keeps everything in one place (no external configuration/library files) and makes it easy to process with external tools. You could keep your vocabulary sets in git, if you want.
  • Configuration is done via command line parameters that can also be stored as comments at the end of the TSV file for quick loading:
    • The columns are defined either as a header line on the very first line (in upper case!), or more explicitly using --columns.
    • You determine what columns to show on which side of the card using --showcards, which can be invoked multiple times, once per side. Traditionally there's a front side and a back side to a card, but you can define as many sides as you want.
    • Define deck names and their intervals.
    • Sane defaults; if no configuration is specified some sane defaults will be used.
  • Load multiple vocabulary files (TSV) together, provided they have the same column layout. This allows you to use files as an easy grouping mechanism (e.g. a file per level, per domain, or per word class).
  • The 'fancy' TUI can be disabled by setting the --minimal parameter, in case you want to interact with vocage from shell scripts or other software.
  • Proper unicode support
  • Colour support, each column gets a colour (can be disabled in --minimal mode)
  • Arrow keys and vim-style movements (hjkl)
  • Written in Rust; fast & efficient

Installation

Install vocage using Rust's package manager:

cargo install --locked vocage

No cargo/rust on your system yet? Do sudo apt install cargo on Debian/ubuntu based systems, brew install rust on mac, or use rustup.

Arch Linux users can install vocage directly from the Arch User Repository: https://aur.archlinux.org/packages/vocage-git/ (e.g. yay -S vocage-git)

Usage

Type vocage --help for a full parameter overview.

Quick Start

Have some data in TSV format ready, for example from here:

$ vocage yourdata.tsv

Key Bindings

  • space / enter - 'Flip' the card, shows the next side (i.e. the solution)
  • Arrow down / j - Keep card on the same deck and go to the next card (usually a random card unless you are in ordered mode)
  • PageDown / J - Skip the card (it may be presented again immediately in the same session) and go to the next card (a random card will be selected)
  • Arrow up / k - Skip this card for now and go to the previous card
  • Arrow right / l - Promote this card to the next deck
  • Arrow left / h - Promote this card to the previous deck
  • A number key - Move the card to the n'th deck
  • w - Save progress (input files will be amended)
  • q - Quit (asks for confirmation is you have unsaved changes)
  • Q - Quit (without saving, don't ask confirmation)
  • a - Toggle between showing all cards and showing only cards that are due (default) (--all)
  • s - Toggle between presenting unseen cards (default) and showing only cards that have been presented before. (--seen)
  • z - Toggle between ordered mode and random mode (default) (--ordered). In ordered mode, cards will be presented in the order they are defined.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustankicommand-lineflashcardslanguage-learning

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言