Skip to content

Convert properly structured documents (Google docs, DOC(x), HTML, PDF) to Anki flashcards

License

Notifications You must be signed in to change notification settings

maciekmm/dokanki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dokanki

Convert google docs, pdfs, html and other structured documents to Anki flashcards.

Supported formats

  • Google Doc
  • HTML
  • DOCX
  • And more!

Usage

usage: dokanki [-h] --name NAME [--id ID] [-l LEVEL]
               [--steps STEPS [STEPS ...]] [-t TYPE] [-o OUT]
               url

Anki flashcard extractor from any document

positional arguments:
  url                   file or web url of a document

optional arguments:
  -h, --help            show this help message and exit
  --name NAME           deck name
  --id ID               unique deck id, useful for updating existing anki
                        databases
  -l LEVEL, --level LEVEL
                        header level/depth to extract questions from
  --steps STEPS [STEPS ...]
                        time steps for flashcards
  -t TYPE, --type TYPE  file format to overwrite pandocs default behavior
  -o OUT, --out OUT     anki database output file name

Example

./dokanki.py 
    --name NAME
    --id ID
    --level 2
    --out file.apkg
    "https://docs..."

About

Convert properly structured documents (Google docs, DOC(x), HTML, PDF) to Anki flashcards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published