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.2.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ankigengpt-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 944200027477b9d77d622d2da10b0db7caa13bf65ecdf2e1c4dcce9758b3564c
MD5 74aa77165312184f44a6f95325f8ee35
BLAKE2b-256 00e23c65a6c0d3f5eef14e3c2f6c9c33694365be45c40307691c67c67d0d5407

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