A web app to parse flash cards from Latex file and learn.
⚠️ This app is in alpha stage: There are definitely many bugs. The code is not clean at all. Features are very limited.
git clone git@github.com:ListIndexOutOfRange/TexFlash.git
cd TexFlash/
pip install requirements.txt
pip install texflash
cd TexFlash/
streamlit run texflash/app.py
TexFlash is intended to be extremely easy to use.
Anywhere in a .tex file, you can add commented line with the following tags:
% <BCT>
: Begin Card Title% <ECT>
: End Card Title% <BCC>
: Begin Card Content% <ECC>
: End Card Content
Once the app is launched you can proceed as follows:
- Add a new "source" (i.e. a .tex file): the file structure and cards will be parsed automatically.
- Select cards by tags or by sources.
- Run training.
- Get training statistics.
Sources are stored as pickle files on a hidden folder named .data/
.
Note that newcommands are parsed so that equation using them will be rendered !