Study Buddy
What is it?
Study Buddy is a study tool which parses your markdown files and generates flashcards for you. It supports cards with titles, subtitles, subsubtitles, subsubsubtitles, bulleted points, numbered points, and plaintext.
Currently, it does not support images (and I have no plans to add image support as images really don't belong on flashcards).
Requirements
- python3
- pip3
- fpdf (installed with the included Makefile)
How to install?
GNU/Linux
$ git clone https://github.com/HousedHorse/study-buddy$ cd study-buddy$ sudo make install
MacOS
$ git clone https://github.com/HousedHorse/study-buddy$ cd study-buddy$ sudo make mac-install
How to use it?
Once you have installed the script, just run $ study-buddy <file.md>.
Optional parameters exist to set the number of spaces per indent in your original markdown file (default 4) and to set a location and name for the output file (default flashcards.pdf).
Your markdown file should look like the following:
# A Card
## First Subtitle
- here's a bullet
- here's another bullet
- and a third bullet
## A Second Subtitle
- this application is pretty cool
- well, it's more of a script
- oh well, it's cool anyway
# Another Card
1. Write a numbered point
1) Use another way of writing a numbered point
7. ???
(7) Profit
# Many Titles
## Sub
Here is some plaintext
### Subsub
#### Subsubsub
## Another Sub
On this page
Languages
Python95.7%Makefile3.9%Shell0.4%
Contributors
MIT License
Created April 20, 2019
Updated January 28, 2023