Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

sunzy/AnkiSnap

Repository files navigation

AnkiSnap

AnkiSnap is an AI-powered desktop application designed to streamline the creation of Anki cards from images. Whether it's a photo of a textbook page, a screenshot of a video, or any other visual material, AnkiSnap uses multimodal Large Language Models (LLMs) to analyze the content and generate high-quality study cards with audio.

πŸš€ Features

  • AI Image-to-Card: Transform visual content into structured Anki cards (English/Chinese/Grammar) using models like OpenAI GPT-4o or Aliyun DashScope (Qwen-VL).
  • Multimodal Support: Seamlessly processes images and extracts linguistic information, examples, and grammatical explanations.
  • Integrated TTS: Enhance your cards with high-quality audio using multiple providers:
    • OpenAI TTS
    • Azure Cognitive Services
    • Volcengine (ByteDance)
  • One-Click Sync: Directly add cards to your local Anki collections via AnkiConnect.
  • Built with Modern Tech: Powered by Electron, React, Vite, and Tailwind CSS.

πŸ› οΈ Prerequisites

  • Anki: Must be installed and running.
  • AnkiConnect: The Anki add-on (ID: 2055492159) must be installed and configured to allow connections.
  • API Keys: You will need API keys for the LLM and TTS providers you wish to use (OpenAI, Aliyun, Azure, or Volcengine).

πŸ“¦ Installation & Development

  1. Clone the repository:

    git clone https://github.com/changyoung/AnkiSnap.git
    cd AnkiSnap
  2. Install dependencies:

    npm install
  3. Start development mode:

    npm run dev

πŸ—οΈ Building

To package the application for production (currently configured for a portable Windows build):

npm run dist

The output will be located in the dist-release directory.

βš™οΈ Configuration

  1. Open AnkiSnap and navigate to the Settings page.
  2. Configure your LLM Provider (OpenAI-compatible or DashScope).
  3. Configure your TTS Provider for audio generation.
  4. Set your Anki Connection settings (ensure AnkiConnect is active).

πŸ“„ License

Private.


Developed with ❀️ by AI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /