-
Setup environment
// Windows python -m venv . .\Scripts\activate // MacOS/Linux python3 -m venv . source bin/activate
-
Install dependencies
pip install -r requirements.txt
-
Start server
uvicorn main:app --reload
-
Create a Postman Request
- URL:
http:https://localhost:8000/uploadfile
- Method:
POST
- Body:
- form-data:
- Key: file
- Value:
<file_name>.md
- form-data:
- URL:
-
Import .apkg into Anki
Select file
generated_deck.apkg
from project directory to import -
Happy Learning
Note:
- There are two types of cards used here: Basic, Cloze
- There are four variants of cards, as shown below
- In cards marked with [Cloze], only use bullet points
# File Name
## Heading
### Sub Heading (will be used as Tag for sub-Cards)
#### Card Question // Basic
Card Answer
#### Card Question // Basic with bullet points
- Card Bullet Point
- Card Bullet Point
#### Card Question [Cloze] // [Cloze] will turn bullet points into x Cloze cards
- Card Bullet Point
- Card Bullet Point
#### Card Question [Cloze] // '\<Option\>:' will not be included in Cloze tags
- Option: Card Bullet Point
- Other Option: Card Bullet Point