Update README.md
Browse files
README.md
CHANGED
|
@@ -6,53 +6,42 @@ colorFrom: indigo
|
|
| 6 |
colorTo: purple
|
| 7 |
sdk_version: 1.46.0
|
| 8 |
---
|
| 9 |
-
# π¦ BatAnki β AI Flashcard
|
| 10 |
|
| 11 |
-
BatAnki is
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
-
|
| 17 |
-
- π Extract text using **OCR**, **Whisper**, or **PyMuPDF**
|
| 18 |
-
- π§ Generate flashcards using **T5** or **BioGPT**
|
| 19 |
-
- π‘ Supports **Q&A, Cloze, MCQ, and Reverse cards**
|
| 20 |
-
- π·οΈ Tag flashcards manually
|
| 21 |
-
- πΎ Export to **Anki (.apkg)** and **CSV**
|
| 22 |
-
- π§Ύ Inline preview & edit of each card
|
| 23 |
-
- π¨ Light/Dark themes with Batman-style layout
|
| 24 |
-
- βοΈ 100% deployable without any paid APIs
|
| 25 |
|
| 26 |
---
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
-
|
| 31 |
-
-
|
| 32 |
-
-
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
---
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
| 42 |
|
| 43 |
---
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
| 46 |
|
| 47 |
```bash
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
torch
|
| 51 |
-
genanki
|
| 52 |
-
easyocr
|
| 53 |
-
PyMuPDF
|
| 54 |
-
pytesseract
|
| 55 |
-
whisper
|
| 56 |
-
yt-dlp
|
| 57 |
-
python-docx
|
| 58 |
-
Pillow
|
|
|
|
| 6 |
colorTo: purple
|
| 7 |
sdk_version: 1.46.0
|
| 8 |
---
|
| 9 |
+
# π¦ BatAnki β AI-Powered Flashcard Generator
|
| 10 |
|
| 11 |
+
BatAnki is a lightweight AI-driven app that converts any document, image, audio, or video into spaced-repetition flashcards. Designed for learners, researchers, and educators, BatAnki supports multiple input types and smart flashcard types including:
|
| 12 |
|
| 13 |
+
- Q&A Cards
|
| 14 |
+
- Cloze Deletions
|
| 15 |
+
- Multiple Choice Questions
|
| 16 |
+
- Reverse Recall
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
---
|
| 19 |
|
| 20 |
+
## π Features
|
| 21 |
+
|
| 22 |
+
- π PDF & Text file support with preview
|
| 23 |
+
- πΌοΈ Image-to-text (OCR) processing
|
| 24 |
+
- π§ Audio/Video transcription to text
|
| 25 |
+
- π§ AI-based flashcard generation with multiple engines
|
| 26 |
+
- π¦ Export flashcards to `.apkg` (Anki) and `.csv`
|
| 27 |
+
- β
100% free & open-source β no paid APIs needed
|
| 28 |
|
| 29 |
---
|
| 30 |
|
| 31 |
+
## π Input Formats Supported
|
| 32 |
+
|
| 33 |
+
- PDF (`.pdf`)
|
| 34 |
+
- Text & Docs (`.txt`, `.docx`)
|
| 35 |
+
- Image (`.jpg`, `.png`)
|
| 36 |
+
- Audio (`.mp3`, `.wav`)
|
| 37 |
+
- YouTube audio via link
|
| 38 |
|
| 39 |
---
|
| 40 |
|
| 41 |
+
## βοΈ Installation
|
| 42 |
+
|
| 43 |
+
To run locally:
|
| 44 |
|
| 45 |
```bash
|
| 46 |
+
pip install -r requirements.txt
|
| 47 |
+
streamlit run app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|