Skip to content

Rioverse/anki-ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anki-ls

Inspect Anki export files (.apkg) using the anki-ls CLI application. Returns the flashcard data as JSON.

Run Binary

Download the executable for Linux/x86 and run:

./anki-ls [anki-export-file] <type>

The anki-export-file is the Anki file you have exported from Anki (file name ending: .apkg).

The type parameter is one of the following values:

  • decks - Display the decks
  • notes - Display the notes
  • cards - Display the cards
  • noteTypes - Display the note types
  • reviews - Display the reviews
  • config - Display the config
  • stats - Display file statistics

Install Dependencies

Anki-ls uses Bun.

To install dependencies:

bun install

Build binary

bun build index.ts --compile --outfile anki-ls

References

Thanks a lot to Eiko for his great srs-converter library.

License

MIT License

About

Inspect Anki export files (.apkg) with this CLI application.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors