Skip to content

phamphihungbk/anki_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š Anki Deck Generator for LeetCode Practice

This project is a script-based tool designed to fetch LeetCode questions and generate Anki decks for practicing data structures and algorithms with spaced repetition. By integrating LeetCode problems into Anki flashcards, you can improve your problem-solving skills, retain solutions longer, and prepare effectively for coding interviews.

๐Ÿš€ Key Features

โœ… Automatically fetches questions, solutions, and submissions from LeetCode

โœ… Generates customizable Anki decks with:

โ€ข Problem descriptions

โ€ข Solution approaches

โ€ข Edge cases, clarifying questions, and common mistakes

โ€ข Personal notes and code solutions

โœ… Supports spaced repetition to boost long-term memory of problem patterns

โœ… Simple CLI for generating and updating decks

๐Ÿ› ๏ธ Installation Instructions

git clone https://github.com/phamphihungbk/anki_generator
cd anki-generator

# Install dependencies (creates virtual environment)
poetry install

# List the available commands:
poetry run python cli.py fetch-favourite-questions
poetry run python cli.py fetch_question_detail
poetry run python cli.py fetch-top-questions
poetry run python cli.py sync-leetcode-track
poetry run python cli.py generate-deck

๐Ÿ› ๏ธ Demo

front back

About

๐ŸŽƒ Leetcode Deck Generator for Anki

Resources

Stars

Watchers

Forks

Contributors