Flashcards

trrc – command-line Anki card processor

trrc (ToRRential Card processor) is a command-line application for creating and adding flashcards to Anki through the AnkiConnect interface.

It follows traditional Unix conventions, allowing card information to be supplied through command arguments, files and pipelines. This makes it useful for automating repetitive card creation tasks or converting material prepared with text editors and scripts.

Rather than implementing its own review system, trrc communicates with an existing Anki instance. It can target an AnkiConnect service running on another computer, making it practical for maintaining collections from terminal environments.

This is free and open source software.

Key Features

  • Create Anki cards using the AnkiConnect API.
  • Supports standard input, Unix pipes and redirection.
  • Bulk card creation from text files.
  • Customisable field delimiters for input data.
  • Map input values to selected Anki note fields.
  • Supports different Anki note types and card decks.
  • Configurable cloze note fields and note types.
  • Connect to remote AnkiConnect services using configurable IP addresses and ports.
  • API key authentication for secured AnkiConnect connections.
  • Synchronise Anki collections after adding cards.
  • Configuration files with reusable aliases and settings.
  • Dry-run mode for checking operations before adding cards.
  • Helpful diagnostics for incorrect deck names and field definitions.
  • Shell completion for Bash and Zsh.
  • Cross-platform support – runs on Linux and macOS.

Website: github.com/Constantin1489/trrc
Support:
Developer: Constantin Hong
License: GNU General Public License v3.0

trrc is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Terminal-Based Flashcard Software
hashcardsPlain text-based spaced repetition system for flashcards
repeaterLike a lightweight, text-based Anki you run in your terminal
mdfcLearn with flashcards and spaced repetition
hascardMinimal command-line utility for reviewing notes
HardVBilled as a powerful cross-platform flashcard program
VocageMinimalistic terminal-based vocabulary-learning tool
FlashdownSpaced repetition using flashcards in Markdown
carddownSpaced repetition for markdown notes
terminal-ankiKeyboard-driven flashcards with spaced repetition and Anki imports
GoCardMarkdown-based flashcard system with spaced repetition

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted