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

Appearance settings

liufei/ai-dictionary

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Dictionary

Ask AI to explain the word in a sentence and save the definition to Anki.

ai-dictionary anki card

Ask AI to explain the word in a sentence

Requirements

  • LLM API Key

Installation

  • Download latest release
  • OR run command go install github.com/liufei/ai-dictionary/cmd/ai-dictionary

Usage

  1. Open terminal, and then set environment variables
    # Claude, Deepseek, Gemini, Ollama, OpenAI, etc.
    export OPENAI_BASE_URL=https://***; export OPENAI_API_KEY=sk-***; export OPENAI_MODEL=***
  2. Run command ai-dictionary

Save the definition to Anki

Requirements

  • Anki Desktop
  • AnkiConnect

Usage

  1. Open Anki, create deck AI Dictionary.
anki deck
  1. Click Tools -> Manage Note Types from Anki menu, add note type AI Dictionary.
note type
  1. Add card template.
card template

About

Ask AI to explain the word in a sentence and save the definition to Anki.

Topics

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.