Skip to content

Capture, extract, translate and record Japanese flashcards

License

Notifications You must be signed in to change notification settings

ubitux/SnapStudySensei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnapStudySensei

SnapStudySensei is a tool to assist with capturing, extracting, translating and recording Japanese flashcards into Anki.

This project is inspired by Game2Text but takes a different technical approach.

SnapStudySensei screenshot

Known limitations

  • Currently only supported on Linux. Porting it to macOS and Windows should be doable by adding the ability to list windows (see windows_list.py, patch welcome)
  • No configuration, only designed for my own needs so far
  • A bit slow to start due to the OCR model initialization

Installation

Anki and its Anki-Connect plugin must be installed.

python -m venv venv
. venv/bin/activate
pip install -e .

Important note

This is a non-intrusive standalone installation, which means the Qt libraries are duplicated within the virtual env. This breaks at least the fcitx input method setup on the system. Setting IBUS_USE_PORTAL=1 QT_IM_MODULE=ibus in the environment can be used as a workaround (ibus doesn't need to be installed).

Running

Anki and its Anki-Connect plugin must be running.

Enter the venv (. venv/bin/activate) if you used that installation method, and run sss.

Important note

SnapStudySensei will automatically create a model, deck and flashcard templates in Anki. The deck is called SnapStudySensei and is located in the Japanese category.

Thanks to

About

Capture, extract, translate and record Japanese flashcards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages