Skip to main content

No project description provided

Project description

AnkiGenGPT

This Python CLI tool leverages the power of OpenAI's GPT-3 or GPT-4 model to convert your text into flashcards for use in Anki, an open-source spaced repetition software.

Install

pip3 -U install ankigengpt

or via pipx

pipx install ankigengpt

Configuration

An openai api token is needed, it can be used with --openai-token or via the environment variable OPENAI_TOKEN.

Epub

Scans an epub for text and asks chatgpt for anki cards.

ankigengpt epub --path ~/Downloads/my-ebook.epub

Kindle Highlights

Uses the highlights to create anki cards.

The kindle highlights are needed in the APA format.

ankigengpt kindle-highlights --path ~/Downloads/Notebook.html

Plain text

Use a plain text file like markdown or txt

ankigengpt plain --debug --path ~/Downloads/book.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ankigengpt-1.1.6-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file ankigengpt-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: ankigengpt-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ankigengpt-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 45606d70f3cadf793f73d9d23a67e6375e42e63a6f1b1976a8517883a001a3ae
MD5 7bd1f36184fad135405d3bf6fcd8d96c
BLAKE2b-256 e0903b4f96d44430174a6e7f16915f7d53b1ed4caf4aed457e2084851ae11847

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page