Skip to content

Flash Card

Action v0.2.4

Quickly generates beautiful flashcards from text, extracting key points and categories.


Overview

The Knowledge Card plugin (also known as Flash Card / 闪记卡) transforms content into visually appealing flashcards that are perfect for learning and memorization. Whether you're studying for exams, learning new concepts, or reviewing key points, this plugin helps you create effective study materials.

Features

  • Beautiful Cards: Modern, clean design for easy reading
  • Interactive: Flip cards to reveal answers
  • Exportable: Save cards for offline study
  • Customizable: Multiple themes and styles
  • Multi-language: Supports various languages

Installation

  1. Download the plugin file: flash_card.py
  2. Upload to OpenWebUI: Admin PanelSettingsFunctions
  3. Enable the plugin

Usage

  1. Have a conversation about a topic you want to learn
  2. Click the Flash Card button in the message action bar
  3. The plugin will analyze the content and generate flashcards
  4. Click on cards to flip and reveal answers

Configuration

Option Type Default Description
cards_per_message integer 5 Maximum cards to generate
theme string "modern" Visual theme
show_hints boolean true Include hints on cards

Example

┌─────────────────────────────┐
│                             │
│   What is the capital of    │
│         France?             │
│                             │
│         [Click to flip]     │
└─────────────────────────────┘
┌─────────────────────────────┐
│                             │
│           Paris             │
│                             │
│   The city of lights,       │
│   located on the Seine      │
│                             │
└─────────────────────────────┘

Requirements

Prerequisites

  • OpenWebUI v0.3.0 or later
  • No additional Python packages required

Source Code

View on GitHub