APKG to CSV

Convert Anki deck (.apkg) files to comma-separated values (.csv) files.

Motivation

There is a large collection of shared Anki decks available online. It can be difficult to work with these decks without first importing them into Anki.

apkg-to-csv converts these decks into comma-separated values so that they can be modified without first importing them into Anki.

Requirements

  • ruby >= 3.0

Installation

  • gem install apkg-to-csv

Usage

  • apkg-to-csv deck.apkg > deck.csv

Development Installation

gem install bundler
bundle install

Running Tests

  • bundle exec ./test/test.rb