Skip to content

Removes manual steps of finding new words and adding them to Anki

Notifications You must be signed in to change notification settings

ready4mars/anki-vocab-generator

 
 

Repository files navigation

Anki-Vocab-Generator

This program is designed for language learners and does two things:

  1. Generates a vocabulary list of 20 words in a given language.
  2. Imports those words into Anki.

The program helps remove the manual steps of looking for new words and adding them to Anki. You can see a quick demo here.

The program uses ChatGPT to generate cards and Anki-Connect to create cards in Anki.

It's a small passion project that has no affiliation with Anki or Anki-Connect. If you have any questions or suggestions, please reach me at https://easytofind.co/contacts.

Prerequisites

Before you begin, make sure you have the following installed on your system:

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/daniiltykheev/anki-vocab-generator.git
cd anki-vocab-generator
  1. Install the required dependencies:
npm install
  1. Create an .env file and add your OpenAI key to it in the following format:
OPENAI_API_KEY={your-openai-key}

Usage

Start the application:

npm start

The server will start running on http://localhost:3000. Open your web browser and navigate to this address to start using the Anki Vocab Generator. Make sure to have the Anki app open when creating the vocabulary lists.

Notes:

  • When picking a topic, you can choose simple ones like "football" or "traveling". You can also try something more specific like "when you go to a conference about B2B SaaS".
  • You can change the number of words generated and replace English with any other language by editing the prompt in controllers/vocabularyController.js.

About

Removes manual steps of finding new words and adding them to Anki

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 56.2%
  • JavaScript 25.9%
  • HTML 17.9%