Skip to content

stegra05/Lectern

Repository files navigation

Lectern

AI-Powered Anki Card Generator

License: MIT Python 3.9+


Lectern transforms PDF lecture slides into high-quality Anki flashcards instantly. It parses your slides, composes a multimodal prompt for Google's Gemini, and creates notes in your running Anki instance via AnkiConnect.


Lectern Setup View

Overview

Lectern is designed for students and professionals who need to rapidly convert structured documents into spaced-repetition material. By leveraging multimodal AI, it goes beyond simple text extraction to understand visual context, ensuring high-quality, concept-driven flashcard generation. The application features a clean, native desktop experience with real-time progress tracking and a dedicated review interface.


Features

Real-Time Generation

Stream cards directly into the application as they are generated, with dynamic pacing and concept mapping to ensure comprehensive coverage.

Generation Progress

Intelligent Review

Review generated cards, monitor page and concept coverage, and selectively sync them to your Anki database.

Session Overview and Concept Coverage

Focused Editing

A clean, minimal interface for editing cards before finalizing them in your collection.

Beautiful Card Editor


Quick Start

Download Lectern (macOS / Windows / Linux)

  1. Open the downloaded application. (On macOS, right-click and select "Open" on first launch).
  2. Install the AnkiConnect add-on in Anki.
  3. Open Settings and enter your Gemini API Key.
  4. Drop a PDF into Lectern and start generating.

Windows notes:

  • You do not need Python installed on your PC to run Lectern.
  • Lectern prefers system WebView2 Runtime; some builds may include a bundled fallback runtime.
  • If startup fails, check %APPDATA%/Lectern/logs/windows-startup.log for diagnostics.

For full user documentation, troubleshooting, and guides, visit the Lectern Landing Page.


Developer Guide

Welcome to the codebase. We maintain a comprehensive, centralized Wiki in the docs/ folder.


Built by Steffen

About

AI-Powered Anki card generator from PDF lecture slides via Gemini.

Resources

License

Stars

Watchers

Forks

Contributors